Matěj Kocián
9 years ago
5 changed files with 53 additions and 53 deletions
@ -0,0 +1,33 @@ |
|||
{% extends "seminar/archiv/base.html" %} |
|||
|
|||
{% block content %} |
|||
<h1> |
|||
{% block nadpis1a %}{% block nadpis1b %} |
|||
Obálkování {{ cislo }} |
|||
{% endblock %}{% endblock %} |
|||
</h1> |
|||
|
|||
Obálkovat se budou tyto problémy: |
|||
<ul> |
|||
{% for p in problemy %} |
|||
|
|||
<li> {{ p.kod_v_rocniku }} {{ p }} |
|||
{% endfor %} |
|||
</ul> |
|||
|
|||
{% for r in reseni %} |
|||
{% ifchanged r.resitel %} |
|||
{% if not forloop.first %} |
|||
</ul> |
|||
{% endif %} |
|||
<h4>{{ r.resitel }}</h4> |
|||
<ul> |
|||
{% endifchanged %} |
|||
|
|||
<li> |
|||
{{ r.problem.kod_v_rocniku }} {{ r.problem.nazev }} ({{ r.body }}) |
|||
|
|||
{% endfor %} |
|||
</ul> |
|||
|
|||
{% endblock content %} |
@ -1,22 +0,0 @@ |
|||
|
|||
{% extends "seminar/archiv/base.html" %} |
|||
|
|||
{% block content %} |
|||
<h1> K obálkování </h1> |
|||
<table> |
|||
<th> |
|||
<td>Jméno</td> |
|||
{% for u in ulohy %} |
|||
<td>{{u.nazev}} |
|||
{% endfor %} |
|||
</th> |
|||
{% for row in kdoco %} |
|||
<tr> |
|||
{% for cell in row%} |
|||
<td>{{cell}}</td> |
|||
{% endfor %} |
|||
</tr> |
|||
{% endfor %} |
|||
</table> |
|||
{% endblock content %} |
|||
|
Loading…
Reference in new issue