From a2950644c1cf955dfdd801c6262948c5c49b3a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Tue, 12 Aug 2025 22:43:16 +0200 Subject: [PATCH] dropbna poprawka w stringu --- templates/admin/admin_panel.html | 50 +++++++++++++++----------------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/templates/admin/admin_panel.html b/templates/admin/admin_panel.html index 56a79a3..7989e75 100644 --- a/templates/admin/admin_panel.html +++ b/templates/admin/admin_panel.html @@ -128,54 +128,50 @@ {% if not show_all %} - {# Ustal bieżący miesiąc jako początek #} {% set current_date = now.replace(day=1) %} {% set prev_month = (current_date - timedelta(days=1)).strftime('%Y-%m') %} {% set next_month = (current_date + timedelta(days=31)).replace(day=1).strftime('%Y-%m') %}
-
- {# Poprzedni miesiąc #} + + {# LEWA STRONA - Przyciski #} +
{% if prev_month in month_options %} ← {{ prev_month }} {% else %} - + {% endif %} - - {# Następny miesiąc #} + {% if next_month in month_options %} {{ next_month }} → {% else %} - + {% endif %}
+ + {# PRAWA STRONA - Picker #} +
+
+ 📅 + +
+
+
{% endif %} - -
-
- 📅 - -
-
-