From 0368d94f27161eef85864fe4a1ed7091e70ab82b Mon Sep 17 00:00:00 2001 From: catborise Date: Tue, 10 Nov 2026 09:05:01 +0300 Subject: [PATCH] fix(ui): the Logs and Jobs page links fit a phone screen The page links of Logs and Jobs showed eleven pages around the current one: with many pages the bar was 674 px wide on a 375 px screen and the page scrolled sideways. They now show five and wrap when even those do not fit. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea --- admin/templates/admin/logs.html | 2 +- operations/templates/operations/jobs.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/templates/admin/logs.html b/admin/templates/admin/logs.html index a17726d0..d0103224 100644 --- a/admin/templates/admin/logs.html +++ b/admin/templates/admin/logs.html @@ -62,5 +62,5 @@ {% endif %} -{% if logs %}{% bootstrap_pagination logs extra=query %}{% endif %} +{% if logs %}{% bootstrap_pagination logs extra=query pages_to_show=5 extra_classes="flex-wrap" %}{% endif %} {% endblock %} diff --git a/operations/templates/operations/jobs.html b/operations/templates/operations/jobs.html index c756344a..a4b44e0a 100644 --- a/operations/templates/operations/jobs.html +++ b/operations/templates/operations/jobs.html @@ -101,7 +101,7 @@ {% endif %} {% if page.has_other_pages %} - {% bootstrap_pagination page extra=page_query %} + {% bootstrap_pagination page extra=page_query pages_to_show=5 extra_classes="flex-wrap" %} {% endif %} {% endblock %} {% block script %}