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.
63 lines
1.6 KiB
63 lines
1.6 KiB
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<h2>
|
|
{% block nadpis1a %}
|
|
Archiv čísel
|
|
{% endblock %}
|
|
</h2>
|
|
<div class="seznam_archiv otaceci_cisla">
|
|
|
|
{% for rocnik, url_png in object_list.items %}
|
|
|
|
<div class="flip_card_container">
|
|
|
|
<h3>
|
|
<a href='{{ rocnik.verejne_url }}'>Ročník {{ rocnik }}</a>
|
|
</h3>
|
|
|
|
|
|
{# karta ročníku - zepředu obrázek prvního čísla, zezadu odkaz na jednotlivá čísla a výsledkovku #}
|
|
|
|
<div class="flip-card">
|
|
|
|
<div class="flip-card-inner">
|
|
<div class="flip-card-front">
|
|
|
|
<div class="flip-card-foto">
|
|
<img src="{{ url_png }}" height=200px alt="{{ rocnik }}">
|
|
</div>
|
|
|
|
</div>
|
|
<div class="flip-card-back">
|
|
<div class="popis_rocniku">
|
|
Jednotlivá čísla:
|
|
<ul>
|
|
{% for cislo in rocnik.cisla.all reversed %}
|
|
{% if cislo.verejne or user.je_org %}
|
|
<li><a href='{{ cislo.verejne_url }}'>{{ cislo.poradi }}. číslo</a> {% if cislo.pdf %}(<a href='{{ cislo.pdf.url }}'>pdf</a>) {% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
{% if rocnik.verejne_vysledkovky_cisla %} {# Tohle jsem asi neměl tady použít, ale šlo to… #}
|
|
<a href='{{ rocnik.verejne_url }}#vysledky'>Výsledková listina</a> <!-- FIXME: url výsledkovky-->
|
|
{% endif %}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{# konec karty ročníku #}
|
|
|
|
<hr>
|
|
</div>
|
|
|
|
{% empty %}
|
|
Nejsou žádné ročníky
|
|
{% endfor %}
|
|
</div>
|
|
|
|
|
|
{% endblock content %}
|
|
|