diff --git a/static/css/custom.css b/static/css/custom.css index 5f626d5..8d65594 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -154,4 +154,15 @@ h3 { font-size: 0.9rem; margin-bottom: 0.6rem; } color: #ffffff !important; font-weight: bold; font-size: 1.25rem; +} + +.btn-primary:focus, +.btn-primary:active, +.btn-primary.focus, +.btn-primary.active { + background-color: #2d2c2c !important; + border-color: #ffeb3b !important; + color: #ffffff !important; + box-shadow: none; + outline: none; } \ No newline at end of file diff --git a/templates/admin/edytuj_stan.html b/templates/admin/edytuj_stan.html index 938b115..4ba97e0 100644 --- a/templates/admin/edytuj_stan.html +++ b/templates/admin/edytuj_stan.html @@ -12,7 +12,7 @@
PLN - +
diff --git a/templates/index.html b/templates/index.html index eec336c..ed32dfd 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,7 +9,7 @@
{{ z.nazwa }}
{% set progress = (z.stan / z.cel * 100) if z.cel > 0 else 0 %} -
+
{{ progress|round(2) }}%
diff --git a/templates/zbiorka.html b/templates/zbiorka.html index 88ecd5f..00d1515 100644 --- a/templates/zbiorka.html +++ b/templates/zbiorka.html @@ -17,7 +17,7 @@
{% set progress = (zbiorka.stan / zbiorka.cel * 100) if zbiorka.cel > 0 else 0 %}
Postęp:
-
+

Cel zbiórki: - {{ zbiorka.cel }} PLN + {{ zbiorka.cel|round(2) }} PLN

Stan zbiórki: - {{ zbiorka.stan }} PLN + {{ zbiorka.stan|round(2) }} PLN

{% endif %}
@@ -78,7 +78,7 @@
    {% for w in zbiorka.wplaty %}
  • - {{ w.data.strftime('%Y-%m-%d %H:%M:%S') }} – {{ w.kwota }} PLN + {{ w.data.strftime('%Y-%m-%d %H:%M:%S') }} – {{ w.kwota|round(2) }} PLN {% if w.opis %} ({{ w.opis }}) {% endif %} @@ -86,7 +86,7 @@ {% endfor %}
{% else %} -

Brak wpłat

+

Aktualnie brak wpłat..

{% endif %}