2024-01-17 15:43:51 +00:00
|
|
|
{% extends "base.html" %}
|
2023-06-01 21:25:13 +00:00
|
|
|
|
2024-01-17 15:43:51 +00:00
|
|
|
{% block content %}
|
2023-06-01 21:25:13 +00:00
|
|
|
<center>
|
|
|
|
<h1>Past Contests</h1>
|
2024-01-17 15:43:51 +00:00
|
|
|
<p>{{ contest_count }}</p>
|
2023-06-01 21:25:13 +00:00
|
|
|
<p><a href="/contest/">See running contests</a></p>
|
|
|
|
</center>
|
2024-01-17 15:43:51 +00:00
|
|
|
{% for year in contest_list %}
|
2023-06-01 21:25:13 +00:00
|
|
|
<div class="archive-year">
|
|
|
|
<hr>
|
|
|
|
<h2>{{ year[0] }}</h2>
|
|
|
|
<hr>
|
|
|
|
{% for month in year[1] %}
|
|
|
|
<div class="archive-month-wrapper">
|
|
|
|
<div class="archive-month">
|
|
|
|
<h3>{{ month[0] }}</h3>
|
|
|
|
{% for contest in month[1] %}
|
|
|
|
<div class="archive">
|
|
|
|
<p>{{ contest[0] }}<a href="{{ contest[1] }}">{{ contest[2] }}</a></p>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
<hr>
|
2024-01-17 15:43:51 +00:00
|
|
|
{{ pagination|safe }}
|
|
|
|
{% endblock %}
|