Remove unused pagination template vars.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-17 22:21:25 +08:00
parent dbfddeedcb
commit 6b705a60ca
-2
View File
@@ -71,8 +71,6 @@
</table>
{% if total_pages > 1 %}
{% set q = {'page': page} %}
{% if selected_machine_id %}{% set _ = q.update({'machine_id': selected_machine_id}) %}{% endif %}
<div style="display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:14px;flex-wrap:wrap">
{% if page > 1 %}
<a class="btn secondary" href="{{ url_for('records_page', page=page-1, machine_id=selected_machine_id) if selected_machine_id else url_for('records_page', page=page-1) }}">上一页</a>