]> git.cworth.org Git - empires-server/blob - templates/admin.html
Add some autofocus attributes to several forms
[empires-server] / templates / admin.html
1 {% extends "base.html" %}
2
3 {% block page %}
4 <h1>
5   LMNO Admin
6 </h1>
7
8 <h2>
9   Active games
10 </h2>
11
12 <ul>
13   {% for game in games.active %}
14   <li>
15     {{game.meta.name}}: {{ game.id }} ({{ game.players|active|length }}/{{ game.players.length }})
16     <strong>
17       Active:
18       {{ game.players|active|map_prop("name")|join(", ") }}
19     </strong>
20     Idle:
21     {{ game.players|idle|map_prop("name")|join(", ") }}
22   </li>
23   {% endfor %}
24 </ul>
25
26 <h2>
27   Idle games
28 </h2>
29
30 <ul>
31   {% for game in games.idle %}
32   <li>
33     {{game.meta.name}}: {{ game.id }} ({{ game.players.length }}):
34     {{ game.players|map_prop("name")|join(", ") }}
35   </li>
36   {% endfor %}
37 </ul>
38 {% endblock %}