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>
|
2024-01-17 15:43:51 +00:00
|
|
|
<h1>{{ title }}</h1>
|
|
|
|
{{ contest_count|safe }}
|
2023-06-01 21:25:13 +00:00
|
|
|
<br>
|
|
|
|
<div class="contest-list">
|
2024-01-17 15:43:51 +00:00
|
|
|
{% for contest in contests %}
|
2023-06-01 21:25:13 +00:00
|
|
|
<div class="contest-list-item">
|
2024-01-17 15:43:51 +00:00
|
|
|
<a href="{{ contest.link }}">
|
|
|
|
<img src="{{ contest.img }}" alt="{{ contest.alt }}" style="max-width:500px;">
|
2023-06-01 21:25:13 +00:00
|
|
|
</a>
|
2024-01-17 15:43:51 +00:00
|
|
|
<p>Closes {{ contest.deadline }}</p>
|
|
|
|
<p class="ible-small">{{ contest.prizes }} Prizes, {{ contest.entries }} Entries</p>
|
2023-06-01 21:25:13 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<div class="closed-contests" id="contest-winners">
|
|
|
|
<h2>Winner's Circle</h2>
|
2024-01-17 15:43:51 +00:00
|
|
|
{% for closed in closed %}
|
2023-06-01 21:25:13 +00:00
|
|
|
<div class="closed-contest">
|
2024-01-17 15:43:51 +00:00
|
|
|
<a href="{{ closed.link }}"><img class="closed-contest-contest" src="{{ closed.img }}"
|
|
|
|
alt="{{ closed.alt }}"></a>
|
|
|
|
{% for featured_items in closed.featured_items %}
|
2023-06-01 21:25:13 +00:00
|
|
|
<div class="closed-contest-winner">
|
2024-01-17 15:43:51 +00:00
|
|
|
<a href="{{ featured_items.link }}">
|
|
|
|
<img class="closed-contest-winner-img" src="{{ featured_items.img }}"
|
|
|
|
alt="{{ featured_items.title}}">
|
2023-06-01 21:25:13 +00:00
|
|
|
<br>
|
2024-01-17 15:43:51 +00:00
|
|
|
<b>{{ featured_items.title }}</b>
|
2023-06-01 21:25:13 +00:00
|
|
|
</a>
|
2024-01-17 15:43:51 +00:00
|
|
|
<p>by <a href="{{ featured_items.author_link }}">{{ featured_items.author }}</a></p>
|
2023-06-01 21:25:13 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</center>
|
2024-01-17 15:43:51 +00:00
|
|
|
{% endblock %}
|