rezerwa ramka inny kolor
This commit is contained in:
@@ -437,8 +437,4 @@ select:disabled {
|
||||
color: #bbb !important;
|
||||
opacity: 1 !important;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.card-rezerwa {
|
||||
border: 2px solid #0dcaf0;
|
||||
}
|
||||
@@ -29,7 +29,7 @@ zbiórki{% endif %}{% endblock %}
|
||||
{% 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="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">
|
||||
<h5 class="card-title mb-0">{{ z.nazwa }}</h5>
|
||||
|
||||
@@ -48,7 +48,7 @@ zbiórki{% endif %}{% endblock %}
|
||||
Cel: {{ z.cel|round(2) }} PLN
|
||||
</span>
|
||||
{% 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
|
||||
</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user