]> git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/server_game_index.mako
Add those settings to the sample INI files.
[xonotic/xonstat.git] / xonstat / templates / server_game_index.mako
1 <%inherit file="base.mako"/>
2
3 <%block name="title">
4 Server Game Index for ${server.name} - ${parent.title()}
5 </%block>
6
7 % if not games:
8 <h2>Sorry, no games yet. Get playing on the server!</h2>
9
10 % else:
11 <h2>Games on ${server.name}</h2>
12 % for (game, theserver, map) in games:
13    <a href="${request.route_url("game_info", id=game.game_id)}" name="Game info page for game #${game.game_id}">#${game.game_id}:</a> <a href="${request.route_url("map_info", id=map.map_id)}" name="Map info page for ${map.name}">${map.name}</a>
14 <br />
15 % endfor
16 % endif
17
18 % if games.previous_page:
19 <a href="${request.route_url("server_game_index", server_id=server.server_id, page=games.previous_page)}" name="Previous Page">Previous</a>
20 % endif
21 % if games.next_page:
22 <a href="${request.route_url("server_game_index", server_id=server.server_id, page=games.next_page)}" name="Next Page">Next</a>
23 % endif