28 lines
657 B
HTML
28 lines
657 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>{% block nadpis1a %}Šifrovačka odpovědi{% endblock nadpis1a %}</h1>
|
|
|
|
<table class="barevna_tabulka tabulka_s_uchycenym_radkem_a_sloupcem">
|
|
<thead>
|
|
<tr>
|
|
<th>Timestamp</th>
|
|
<th>Řešitel</th>
|
|
<th>Šifra</th>
|
|
<th>Odpověď</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for u in object_list %}
|
|
<tr>
|
|
<td>{{ u.timestamp }}</td>
|
|
<td>{{ u.resitel }}</td>
|
|
<td>{{ u.sifra }}</td>
|
|
<td style="color: {% if u.uspech %}green{% else %}red{% endif %};">{{ u.odpoved }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endblock content %}
|