1 <%inherit file="base.mako"/>
5 Server Information for ${server.name} -
13 <h2>Sorry, that server wasn't found!</h2>
16 <h2>${server.name}</h2>
17 IP Address: ${server.ip_addr} <br />
18 Revision: ${server.revision} <br />
19 Created: ${server.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
22 ##### RECENT GAMES #####
24 <table id="recent-games">
35 % for (game, srv, map, pgstat) in recent_games:
38 <td><a href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">${game.game_id}</a></td>
39 <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>
40 <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>
41 <td>${game.start_dt.strftime('%m/%d/%Y %H:%M')}</td>
43 % if pgstat.team == 5:
45 % elif pgstat.team == 14:
47 % elif pgstat.team == 13:
51 % if pgstat.player_id > 2:
52 <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()}</a></td>
54 ${pgstat.nick_html_colors()}</td>
70 ##### TOP SCORERS #####
71 <div class="table_block">
72 <h2>Top Scoring Players</h2>
83 % for (score_player_id, score_nick, score_value) in top_scorers:
86 % if score_player_id != '-':
87 <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>
89 <td>${score_nick}</td>
91 <td>${score_value}</td>
100 ##### TOP PLAYERS #####
101 <div class="table_block">
102 <h2>Most Active Players</h2>
103 <table id="top-players">
108 <th>Playing Time</th>
113 % for (player_id, nick, alivetime) in top_players:
116 % if player_id != '-':
117 <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>
121 <td>${alivetime}</td>
131 <div class="table_block">
132 <h2>Most Active Maps</h2>
133 <table id="top-maps">
143 % for (map_id, name, count) in top_maps:
147 <td><a href="${request.route_url('map_info', id=map_id)}" title="Go to the map info page for ${name}">${name}</a></td>