diff --git a/static/css/custom.css b/static/css/custom.css index 4fa1465..b6b54da 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -381,4 +381,10 @@ select.form-select:focus { grid-row: 3 / 4; width: 100%; } +} + +.hr-bw { + border: 0; + border-top: 1px dashed rgba(255, 255, 255, 0.2); + margin: 10px 0; } \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 43191b5..ed53fdb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,13 +34,13 @@ zbiórki{% endif %}{% endblock %}
{{ z.nazwa }}
- {# Spójny badge zrealizowania: w zakładce „Zrealizowane” lub gdy >=100% #} {% if is_completed_view or progress_clamped >= 100 %} Zrealizowana {% endif %}
+
-
+
{% if not z.ukryj_kwote %} {% if z.cel > 0 %} @@ -76,9 +76,9 @@ zbiórki{% endif %}{% endblock %}
{% if not z.ukryj_kwote %} - {{ progress_clamped|round(1) }}% + {{ progress_clamped|round(1) }}% {% else %} - Postęp ukryty + Postęp ukryty {% endif %}
diff --git a/templates/zbiorka.html b/templates/zbiorka.html index 416f20d..7957975 100644 --- a/templates/zbiorka.html +++ b/templates/zbiorka.html @@ -33,6 +33,7 @@
Opis
+
{{ zbiorka.opis | markdown }}
@@ -48,7 +49,7 @@
Lista zakupów
- +
{% set posortowane = items|sort(attribute='kupione') %}
    {% for it in posortowane %} @@ -100,6 +101,7 @@
    Postęp
    +
    {% if has_cel and not zbiorka.ukryj_kwote %} @@ -116,7 +118,7 @@ {% endif %}
    - +
    Finanse @@ -254,7 +256,6 @@
    -