1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
4 <%block name="navigation">
10 Server Information for ${server.name}
18 <h2>Sorry, that server wasn't found!</h2>
21 <h2>${server.name}</h2>
22 IP Address: ${server.ip_addr} <br />
23 Revision: ${server.revision} <br />
24 Created: ${server.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
27 ##### RECENT GAMES #####
29 <table id="recent-games">
40 % for (game, srv, map, pgstat) in recent_games:
43 <td><a href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">${game.game_id}</a></td>
44 <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>
45 <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>
46 <td>${game.start_dt.strftime('%m/%d/%Y %H:%M')}</td>
48 % if pgstat.team == 5:
50 % elif pgstat.team == 14:
52 % elif pgstat.team == 13:
56 % if pgstat.player_id > 2:
57 <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>
59 ${pgstat.nick_html_colors()|n}</td>
75 ##### TOP SCORERS #####
76 <div class="table_block">
77 <h2>Top Scoring Players</h2>
88 % for (score_player_id, score_nick, score_value) in top_scorers:
91 % if score_player_id != '-':
92 <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>
94 <td>${score_nick}</td>
96 <td>${score_value}</td>
105 ##### TOP PLAYERS #####
106 <div class="table_block">
107 <h2>Most Active Players</h2>
108 <table id="top-players">
113 <th>Playing Time</th>
118 % for (player_id, nick, alivetime) in top_players:
121 % if player_id != '-':
122 <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>
126 <td>${alivetime}</td>
136 <div class="table_block">
137 <h2>Most Active Maps</h2>
138 <table id="top-maps">
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>