1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
4 <%block name="navigation">
16 <h2>Sorry, that server wasn't found!</h2>
21 <h2>${server.name}</h2>
23 IP Address: ${server.ip_addr} <br />
24 Revision: ${server.revision} <br />
25 Created: ${server.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
34 <table class="table table-bordered table-condensed">
45 % for (game, srv, map, pgstat) in recent_games:
48 <td><a href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">${game.game_id}</a></td>
49 <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>
50 <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>
51 <td>${game.start_dt.strftime('%m/%d/%Y %H:%M')}</td>
53 % if pgstat.player_id > 2:
54 <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>
57 ${pgstat.nick_html_colors()|n}
79 <h3>Top Scoring Players</h3>
80 <table class="table table-bordered table-condensed">
90 % for (score_player_id, score_nick, score_value) in top_scorers:
93 % if score_player_id != '-':
94 <td><a href="${request.route_url('player_info', id=score_player_id)}" title="Go to the player info page for this player">${score_nick|n}</a></td>
96 <td>${score_nick}</td>
98 <td>${score_value}</td>
104 </div> <!-- /span4 -->
108 <h3>Most Active Players</h3>
109 <table class="table table-bordered table-condensed">
114 <th>Playing Time</th>
119 % for (player_id, nick, alivetime) in top_players:
122 % if player_id != '-':
123 <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>
127 <td>${alivetime}</td>
133 </div> <!-- /span4 -->
137 <h3>Most Active Maps</h3>
138 <table class="table table-bordered table-condensed">
148 % for (map_id, name, count) in top_maps:
152 <td><a href="${request.route_url('map_info', id=map_id)}" title="Go to the map info page for ${name}">${name}</a></td>
162 </div> <!-- /span4 -->