46 lines
1.9 KiB
HTML
46 lines
1.9 KiB
HTML
{% extends 'base.html' %}
|
|
{% load static %}
|
|
|
|
{% block title %}Puchar Dyrektora - zadania{% endblock %}
|
|
|
|
{% block content %}
|
|
<table class="table is-striped is-narrow is-hoverable is-fullwidth has-text-centered">
|
|
<thead>
|
|
<tr>
|
|
<th>Edycja</th>
|
|
<th>Lata</th>
|
|
<th>Eliminacje</th>
|
|
<th>Finał</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for edition in editions %}
|
|
<tr>
|
|
<th>{{ edition.roman }}</th>
|
|
<th>{{ edition.year }} / {{ edition.year | add:1 }}</th>
|
|
<td>
|
|
{% if edition.first_test %}
|
|
<a href="/media/{{ edition.first_test }}">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-text" viewBox="0 0 16 16">
|
|
<path d="M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/>
|
|
<path d="M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5L9.5 0zm0 1v2A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5z"/>
|
|
</svg>
|
|
</a>
|
|
{% else %}-{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if edition.second_test %}
|
|
<a href="/media/{{ edition.second_test }}">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-text" viewBox="0 0 16 16">
|
|
<path d="M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/>
|
|
<path d="M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5L9.5 0zm0 1v2A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5z"/>
|
|
</svg>
|
|
</a>
|
|
{% else %}-{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|