Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.3 KiB
49 lines
1.3 KiB
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div>
|
|
<h2>Číslo {{ cislo }}</h2>
|
|
|
|
<p><a href='{{ cislo.rocnik.verejne_url }}'>Ročník {{ cislo.rocnik }}</a>
|
|
|
|
<h3>Zadané problémy</h3>
|
|
<ul>
|
|
{% for p in cislo.zadane_problemy.all %}
|
|
<li><a href='{{ p.verejne_url }}'>{{ p.kod_v_rocniku }} {{ p.nazev }} ({{ p.body }}b)</a>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<h3>Řešené problémy</h3>
|
|
<ul>
|
|
{% for p in cislo.resene_problemy.all %}
|
|
<li><a href='{{ p.verejne_url }}'>{{ p.kod_v_rocniku }} {{ p.nazev }} ({{ p.body }}b)</a>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<h3>Výsledkovka</h3>
|
|
|
|
<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'><a href="{{ p.verejne_url }}">{{ p.cislo_zadani.cislo }}.{{ p.kod }}</a>
|
|
{% 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 %}
|
|
|
|
|