1 <%inherit file="base.mako"/>
\r
3 <%block name="title">
\r
9 ##### DUEL RANKS #####
\r
11 <table class="table table-bordered table-condensed">
\r
21 % for (player_id, nick, elo) in duel_ranks:
\r
24 % if player_id != '-':
\r
25 <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick}</a></td>
\r
30 <td>${round(elo, 3)}</td>
\r
39 <p class="note"><a href="${request.route_url('rank_index', page=1, game_type_cd='duel')}" title="See more duel rankings">More...</a></p>
\r
40 </div> <!-- /span4 -->
\r
43 ##### CTF RANKS #####
\r
45 <table class="table table-bordered table-condensed">
\r
55 % for (player_id, nick, elo) in ctf_ranks:
\r
58 % if player_id != '-':
\r
59 <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick}</a></td>
\r
64 <td>${round(elo, 3)}</td>
\r
73 <p class="note"><a href="${request.route_url('rank_index', page=1, game_type_cd='ctf')}" title="See more CTF rankings">More...</a></p>
\r
74 </div> <!-- /span4 -->
\r
77 ##### DM RANKS #####
\r
79 <table class="table table-bordered table-condensed">
\r
89 % for (player_id, nick, elo) in dm_ranks:
\r
92 % if player_id != '-':
\r
93 <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick}</a></td>
\r
98 <td>${round(elo, 3)}</td>
\r
107 <p class="note"><a href="${request.route_url('rank_index', page=1, game_type_cd='dm')}" title="See more deathmatch rankings">More...</a></p>
\r
108 </div> <!-- /span4 -->
\r
109 </div> <!-- /row -->
\r
112 <div class="span4">
\r
113 <h3>Most Active Players</h3>
\r
114 <table class="table table-bordered table-condensed">
\r
119 <th class="play-time">Play Time</th>
\r
124 % for (player_id, nick, alivetime) in top_players:
\r
127 % if player_id != '-':
\r
128 <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick|n}</a></td>
\r
132 <td class="play-time">${alivetime}</td>
\r
138 <p class="note">*Most active stats are from the past 7 days</p>
\r
139 </div> <!-- /span4 -->
\r
141 <div class="span4">
\r
142 <h3>Most Active Servers</h3>
\r
143 <table class="table table-bordered table-condensed">
\r
153 % for (server_id, name, count) in top_servers:
\r
156 % if server_id != '-':
\r
157 <td><a href="${request.route_url('server_info', id=server_id)}" title="Go to the server info page for ${name}">${name}</a></td>
\r
167 </div> <!-- /span4 -->
\r
169 <div class="span4">
\r
170 <h3>Most Active Maps</h3>
\r
171 <table class="table table-bordered table-condensed">
\r
181 % for (map_id, name, count) in top_maps:
\r
184 % if map_id != '-':
\r
185 <td><a href="${request.route_url('map_info', id=map_id)}" title="Go to the map info page for ${name}">${name}</a></td>
\r
195 </div> <!-- /span4 -->
\r
196 </div> <!-- /row -->
\r
199 <div class="span12">
\r
200 <h3>Recent Games</h3>
\r
201 <table class="table table-bordered table-condensed">
\r
213 % for (game, server, map, pgstat) in recent_games:
\r
216 <td><a class="btn btn-primary btn-small" href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">view</a></td>
\r
217 <td class="gt_icon"><img title="${game.game_type_cd}" src="/static/images/icons/24x24/${game.game_type_cd}.png" alt="${game.game_type_cd}" /></td>
\r
218 <td><a href="${request.route_url('server_info', id=server.server_id)}" title="Go to the detail page for this server">${server.name}</a></td>
\r
219 <td><a href="${request.route_url('map_info', id=map.map_id)}" title="Go to the map detail page for this map">${map.name}</a></td>
\r
220 <td>${game.start_dt.strftime('%m/%d/%Y %H:%M')}</td>
\r
222 % if pgstat.player_id > 2:
\r
223 <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player info page for this player">${pgstat.nick_html_colors()|n}</a></td>
\r
225 ${pgstat.nick_html_colors()|n}</td>
\r
241 </div> <!-- /span12 -->
\r
242 </div> <!-- /row -->
\r