]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/player_index.mako
9784a6c9894a3152f3175096383c07340597d3d7
[xonotic/xonstat.git] / xonstat / templates / player_index.mako
1 <%inherit file="base.mako"/>\r
2 <%namespace file="navlinks.mako" import="navlinks" />\r
3 \r
4 <%block name="title">\r
5 Player Index - ${parent.title()}\r
6 </%block>\r
7 \r
8 % if not players:\r
9 <h2>Sorry, no players yet. Get playing!</h2>\r
10 \r
11 % else:\r
12 <h2>Player Index</h2>\r
13 <table id="player-index-table" border="1">\r
14   <tr>\r
15     <th>Nick</th>\r
16     <th class="create-dt">Joined</th>\r
17   </tr>\r
18 % for player in players:\r
19   <tr>\r
20     <td><a href="${request.route_url("player_info", id=player.player_id)}" title="Go to this player's info page">${player.nick_html_colors()|n}</a></th>\r
21     <td>${player.joined_pretty_date()}</th>\r
22   </tr>\r
23 % endfor\r
24 </table>\r
25 % endif\r
26 \r
27 <!-- navigation links -->\r
28 ${navlinks("player_index_paged", players.page, players.last_page)}\r