modified: app.py new file: templates/admin_dashboard.html.j2 new file: templates/base.html.j2 new file: templates/daily_leaderboard.html.j2 new file: templates/daily_puzzle.html.j2 new file: templates/home.html.j2 new file: templates/invite_admin.html.j2 new file: templates/king_of_the_mountain.html.j2 new file: templates/leaderboard_index.html.j2 new file: templates/login.html.j2 new file: templates/manage_admins.html.j2 new file: templates/profile.html.j2 new file: templates/puzzle_menu.html.j2 new file: templates/upload.html.j2 new file: templates/verify.html.j2
13 lines
414 B
Django/Jinja
13 lines
414 B
Django/Jinja
{% extends 'base.html.j2' %}
|
|
{% block content %}
|
|
<h1>Select a Puzzle Size</h1>
|
|
<ul>
|
|
{% for size in puzzle_sizes %}
|
|
{% if puzzles[size] %}
|
|
<li><a href="{{ request.route_url('daily_puzzle', size=size) }}">{{ size }}x{{ size }} Puzzle</a></li>
|
|
{% else %}
|
|
<li>{{ size }}x{{ size }} Puzzle - Not Available Today</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|