Remove unused pagination template vars.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user