grey na opacity - a zarovnani do stran
This commit is contained in:
parent
0724030bef
commit
291d4e2d56
2 changed files with 3 additions and 2 deletions
|
@ -26,9 +26,10 @@
|
||||||
|
|
||||||
.tres {
|
.tres {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
text-align: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grey {
|
.half-opacity {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
{% for osoba in object_list %}
|
{% for osoba in object_list %}
|
||||||
<div class="osoba">
|
<div class="osoba">
|
||||||
<div class="uno">{{ osoba.jmeno }} {{ osoba.prijmeni }}</div>
|
<div class="uno">{{ osoba.jmeno }} {{ osoba.prijmeni }}</div>
|
||||||
<div class="dos {% if not osoba.jak_se_dozvedeli %}grey{% endif %}">{% if osoba.jak_se_dozvedeli %} {{osoba.jak_se_dozvedeli}} {% else %} NEZADÁNO {% endif %}</div>
|
<div class="dos {% if not osoba.jak_se_dozvedeli %}half-opacity{% endif %}">{% if osoba.jak_se_dozvedeli %} {{osoba.jak_se_dozvedeli}} {% else %} NEZADÁNO {% endif %}</div>
|
||||||
<div class="tres">{{ osoba.datum_registrace }}</div>
|
<div class="tres">{{ osoba.datum_registrace }}</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue