1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3 <%namespace file="navlinks.mako" import="navlinks" />
5 <%block name="navigation">
11 Map Information for ${gmap.name}
19 <h2>Sorry, that map wasn't found!</h2>
22 <h2>Map Detail - ${gmap.name}</h2>
24 ##### RECENT GAMES #####
26 <table id="recent-games">
36 % for (game, srv, map, pgstat) in recent_games:
39 <td><a href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">${game.game_id}</a></td>
40 <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>
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()|n}</a></td>
54 ${pgstat.nick_html_colors()|n}</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>
130 ##### TOP SERVERS #####
131 <div class="table_block">
132 <h2>Most Active Servers</h2>
133 <table id="top-servers">
138 <th>Times Played</th>
143 % for (server_id, name, times_played) in top_servers:
146 <td><a href="${request.route_url('server_info', id=server_id)}" title="Go to the server info page for this server">${name}</a></td>
147 <td>${times_played}</td>