From a4887f9c739b45ccb2e5ab996216f5cd56dcc6ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Thu, 9 Oct 2025 22:02:29 +0200 Subject: [PATCH] zmiany ux --- templates/admin/dashboard.html | 4 ++-- templates/admin/dodaj_wplate.html | 8 ++++---- templates/admin/dodaj_wydatek.html | 4 ++-- templates/admin/edytuj_stan.html | 14 +++++++------- templates/admin/formularz_zbiorek.html | 18 +++++++++--------- templates/admin/transakcje.html | 16 ++++++++-------- templates/admin/ustawienia.html | 2 +- templates/zbiorka.html | 10 +++++----- 8 files changed, 38 insertions(+), 38 deletions(-) diff --git a/templates/admin/dashboard.html b/templates/admin/dashboard.html index 8c967c7..223fe26 100644 --- a/templates/admin/dashboard.html +++ b/templates/admin/dashboard.html @@ -11,7 +11,7 @@ ➕ Dodaj zbiórkę - + ⚙️ Ustawienia @@ -260,7 +260,7 @@
Brak zbiórek zrealizowanych

Gdy jakaś zbiórka osiągnie 100%, pojawi się tutaj.

- Utwórz nową + Utwórz nową zbiórkę
diff --git a/templates/admin/dodaj_wplate.html b/templates/admin/dodaj_wplate.html index a817d14..7d61e31 100644 --- a/templates/admin/dodaj_wplate.html +++ b/templates/admin/dodaj_wplate.html @@ -5,7 +5,7 @@
@@ -61,13 +61,13 @@
{% for preset in [5,10,20,25,30,50,60,100,150,200] %} - {% endfor %} {% if zbiorka.cel and zbiorka.cel > 0 %} {% set brakujace = (zbiorka.cel - zbiorka.stan) if (zbiorka.cel - zbiorka.stan) > 0 else 0 %} - @@ -87,7 +87,7 @@
- Anuluj + Anuluj
diff --git a/templates/admin/dodaj_wydatek.html b/templates/admin/dodaj_wydatek.html index 04ff0ef..2722461 100644 --- a/templates/admin/dodaj_wydatek.html +++ b/templates/admin/dodaj_wydatek.html @@ -5,7 +5,7 @@
@@ -65,7 +65,7 @@
Anuluj + class="btn btn-outline-light">Anuluj
diff --git a/templates/admin/edytuj_stan.html b/templates/admin/edytuj_stan.html index f83beea..06ccd79 100644 --- a/templates/admin/edytuj_stan.html +++ b/templates/admin/edytuj_stan.html @@ -6,9 +6,9 @@ {# Obliczenia wstępne (do inicjalnego podglądu) #} @@ -72,18 +72,18 @@
{% for delta in [10,50,100,200] %} - - {% endfor %} {% if has_cel %} - {% set brakujace = (zbiorka.cel - zbiorka.stan) if (zbiorka.cel - zbiorka.stan) > 0 else 0 %} {% endif %} - +
@@ -125,7 +125,7 @@
- Anuluj + Anuluj
diff --git a/templates/admin/formularz_zbiorek.html b/templates/admin/formularz_zbiorek.html index 13633bc..2a9e947 100644 --- a/templates/admin/formularz_zbiorek.html +++ b/templates/admin/formularz_zbiorek.html @@ -17,9 +17,9 @@
{% if is_edit and zbiorka and zbiorka.id %} - ← Szczegóły zbiórki + ← Szczegóły zbiórki {% else %} - ← Panel Admina + ← Panel Admina {% endif %}
@@ -155,7 +155,7 @@ - + {% endfor %} @@ -173,7 +173,7 @@ - + {% endif %} @@ -182,8 +182,8 @@
- - + +
@@ -235,7 +235,7 @@ {% if is_edit %}
- +
@@ -349,7 +349,7 @@ - Anuluj + Anuluj diff --git a/templates/admin/transakcje.html b/templates/admin/transakcje.html index 82b792b..94d7779 100644 --- a/templates/admin/transakcje.html +++ b/templates/admin/transakcje.html @@ -7,19 +7,19 @@

Transakcje: {{ zbiorka.nazwa }}

@@ -51,7 +51,7 @@ {{ a.opis or '—' }} {% if a.typ == 'wpłata' %} - {% else %} -
@@ -140,7 +140,7 @@ diff --git a/templates/admin/ustawienia.html b/templates/admin/ustawienia.html index ff66127..f0d6ac6 100644 --- a/templates/admin/ustawienia.html +++ b/templates/admin/ustawienia.html @@ -171,7 +171,7 @@
- Powrót + Powrót
diff --git a/templates/zbiorka.html b/templates/zbiorka.html index 2733fc0..639a1a7 100644 --- a/templates/zbiorka.html +++ b/templates/zbiorka.html @@ -63,7 +63,7 @@ {{ it.nazwa }} {% if it.link %} Sklep ↗ + class="btn btn-sm btn-outline-light ms-2">Sklep ↗ {% endif %}
@@ -194,7 +194,7 @@ class="form-control form-control-sm bg-transparent text-light border monospace-input text-truncate" value="{{ zbiorka.numer_konta }}" readonly autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" inputmode="text" aria-label="Numer konta do wpłaty"> -
@@ -207,7 +207,7 @@ class="form-control form-control-sm bg-transparent text-light border monospace-input text-truncate" value="{{ zbiorka.numer_telefonu_blik }}" readonly autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" inputmode="numeric" aria-label="Telefon BLIK"> - @@ -272,7 +272,7 @@ {% endif %} {% if current_user.is_authenticated and current_user.czy_admin %} + class="btn btn-sm btn-outline-light"> Zarządzaj {% endif %} @@ -314,7 +314,7 @@
- Powrót do listy + Powrót do listy