Tomas Gavenciak
10 years ago
3 changed files with 70 additions and 1 deletions
@ -0,0 +1,32 @@ |
|||
{% extends "base.html" %} |
|||
{% load staticfiles sekizai_tags %} |
|||
|
|||
{% block content %} |
|||
<div> |
|||
<h2>Číslo {{ cislo }} [id {{ cislo.id}}]</h2> |
|||
|
|||
<table class='vysledkovka'> |
|||
<tr class='border-b'> |
|||
<th class='border-r'># |
|||
<th class='border-r'>Jméno |
|||
{% for p in problemy %} |
|||
<th class='border-r'>{{ p.cislo_zadani.cislo }}.{{ p.kod }} |
|||
{% endfor %} |
|||
<th class='border-r'>Sum |
|||
<th>Celkem |
|||
{% for rv in vysledkovka %} |
|||
<tr> |
|||
<td class='border-r'>{{ rv.poradi }} |
|||
<th class='border-r'>{{ rv.resitel.plne_jmeno }} [{{ rv.resitel.id }}] |
|||
{% for b in rv.body %} |
|||
<td class='border-r'>{{ b }} |
|||
{% endfor %} |
|||
<td class='border-r'>{{ rv.vysledek.body |default:0 }} |
|||
<td>{{ rv.vysledek.body_celkem }} |
|||
</tr> |
|||
{% endfor %} |
|||
</table> |
|||
|
|||
</div> |
|||
{% endblock content %} |
|||
|
Loading…
Reference in new issue