1 <%inherit file="base.mako"/>
2 <%namespace file="navlinks.mako" import="navlinks" />
5 % if game_type_cd == 'dm':
7 % elif game_type_cd == 'duel':
9 % elif game_type_cd == 'tdm':
10 Team Deathmatch Rank Index
11 % elif game_type_cd == 'ctf':
12 Capture The Flag Rank Index
17 <div class="span6 offset3">
19 <h2>Sorry, no ranks yet. Get some buddies together and start playing!</h2>
22 <table id="rank-index-table" class="table table-hover table-condensed" border="1">
32 <td class="player-nick"><a href="${request.route_url("player_info", id=rank.player_id)}" title="Go to this player's info page">${rank.nick_html_colors()|n}</a></th>
33 <td>${round(rank.elo, 3)}</th>
38 </div> <!-- /span6 -->
42 <div class="span6 offset3">
43 <!-- navigation links -->
44 ${navlinks("rank_index", ranks.page, ranks.last_page, game_type_cd=game_type_cd)}
45 </div> <!-- /span6 -->