rezerwa ramka inny kolor

This commit is contained in:
Mateusz Gruszczyński
2025-12-11 22:44:16 +01:00
parent 276a0199f3
commit ff9283fd5f
2 changed files with 2 additions and 6 deletions

View File

@@ -438,7 +438,3 @@ select:disabled {
opacity: 1 !important; opacity: 1 !important;
cursor: not-allowed; cursor: not-allowed;
} }
.card-rezerwa {
border: 2px solid #0dcaf0;
}

View File

@@ -29,7 +29,7 @@ zbiórki{% endif %}{% endblock %}
{% set progress_clamped = 100 if progress > 100 else (0 if progress < 0 else progress) %} {% set progress_clamped = 100 if progress > 100 else (0 if progress < 0 else progress) %}
<div class="col-sm-12 col-md-6 col-lg-4"> <div class="col-sm-12 col-md-6 col-lg-4">
<div class="card h-100 position-relative"> <div class="card h-100 position-relative">
<div class="card-body d-flex flex-column {% if z.typ_zbiorki == 'rezerwa' %}card-rezerwa{% endif %}"> <div class="card-body d-flex flex-column">
<div class="d-flex align-items-start justify-content-between gap-2 mb-2"> <div class="d-flex align-items-start justify-content-between gap-2 mb-2">
<h5 class="card-title mb-0">{{ z.nazwa }}</h5> <h5 class="card-title mb-0">{{ z.nazwa }}</h5>
@@ -48,7 +48,7 @@ zbiórki{% endif %}{% endblock %}
Cel: {{ z.cel|round(2) }} PLN Cel: {{ z.cel|round(2) }} PLN
</span> </span>
{% endif %} {% endif %}
<span class="badge bg-dark border border-success" style="border-color: var(--border);"> <span class="badge bg-dark border border-success {% if z.typ_zbiorki == 'rezerwa' %}w-100{% endif %}" style="border-color: var(--border);">
Stan: {{ z.stan|round(2) }} PLN Stan: {{ z.stan|round(2) }} PLN
</span> </span>