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
21 lines
556 B
Django/Jinja
21 lines
556 B
Django/Jinja
{% extends 'base.html.j2' %}
|
|
{% block content %}
|
|
<h1>All Leaderboards</h1>
|
|
<p>Click a puzzle date to see its full scoreboard.</p>
|
|
<table>
|
|
<tr>
|
|
<th>Puzzle Date</th>
|
|
<th>Size</th>
|
|
<th>Title</th>
|
|
<th>Actions</th>
|
|
</tr>
|
|
{% for p in puzzles %}
|
|
<tr>
|
|
<td>{{ p.date }}</td>
|
|
<td>{{ p.size }}x{{ p.size }}</td>
|
|
<td>{{ p.title }}</td>
|
|
<td><a href="{{ request.route_url('daily_leaderboard', puzzle_id=p.id) }}">View Leaderboard</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|