From e2468c299d9db4de6a1b5300eff1bbdebb1172dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Fri, 15 Aug 2025 12:47:16 +0200 Subject: [PATCH] zmiany w edycji listy przez usera --- templates/admin/edit_list.html | 68 ++++++++--------------- templates/admin/mass_edit_categories.html | 2 +- templates/base.html | 3 - templates/edit_my_list.html | 2 +- 4 files changed, 24 insertions(+), 51 deletions(-) diff --git a/templates/admin/edit_list.html b/templates/admin/edit_list.html index dc2a95b..80e979d 100644 --- a/templates/admin/edit_list.html +++ b/templates/admin/edit_list.html @@ -20,52 +20,31 @@ value="{{ list.title }}" required> - -
-
- - -
- -
- - -
-
- - +
- - -
- -
- +
- - + + +
+ +
+ +
- - +
@@ -79,17 +58,17 @@
- +
-

+ {{ list.created_at.strftime('%Y-%m-%d') }} -

+
- - 📁 Przenieś do miesiąca +
@@ -108,16 +87,13 @@ - -
- - + +
+ + ❌ Anuluj
- -
diff --git a/templates/admin/mass_edit_categories.html b/templates/admin/mass_edit_categories.html index b0df13a..20cb19b 100644 --- a/templates/admin/mass_edit_categories.html +++ b/templates/admin/mass_edit_categories.html @@ -77,7 +77,7 @@
- +
diff --git a/templates/base.html b/templates/base.html index 47a6512..0edbd4e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,7 +28,6 @@ {% if substrings_tomselect | select("in", request.path) | list | length > 0 %} {% endif %} - @@ -118,7 +117,6 @@ {% endif %} - {% set substrings = ['/edit_my_list', '/admin/edit_list', '/admin/mass_edit_categories'] %} {% if substrings | select("in", request.path) | list | length > 0 %} @@ -127,7 +125,6 @@ {% endif %} {% block scripts %}{% endblock %} - \ No newline at end of file diff --git a/templates/edit_my_list.html b/templates/edit_my_list.html index 3ccfa1b..edd958a 100644 --- a/templates/edit_my_list.html +++ b/templates/edit_my_list.html @@ -76,7 +76,7 @@
- + Anuluj