structables/templates/archives.html
Kumi 232a1504fb
Update .gitignore and enhance project structure
- Add 'privacy.txt' to .gitignore to prevent checking it in
- Refactor data storage from arrays to dictionaries for better data handling in 'main.py'
- Include 'pathlib' import for handling filesystem paths
- Introduce new CSS and Bootstrap files providing updated styles and responsive design elements
- Modify HTML templates to use updated data structures and enhance accessibility

These changes improve code readability, maintain project consistency, and enhance the front-end presentation. This work is part of ongoing efforts to better manage project data, secure sensitive information, and provide a more robust user interface.
2024-01-17 16:43:51 +01:00

31 lines
No EOL
671 B
HTML

{% extends "base.html" %}
{% block content %}
<center>
<h1>Past Contests</h1>
<p>{{ contest_count }}</p>
<p><a href="/contest/">See running contests</a></p>
</center>
{% for year in contest_list %}
<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>
{{ pagination|safe }}
{% endblock %}