1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3 <%namespace file="navlinks.mako" import="navlinks" />
5 <%block name="navigation">
19 <link href="/static/css/sprites.css" rel="stylesheet">
23 <h2>Sorry, that map wasn't found!</h2>
28 Added <span class="abstime" data-epoch="${gmap.epoch()}" title="${gmap.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${gmap.fuzzy_date()}</span>
32 <h3>Top Scoring Players</h3>
33 <table class="table table-bordered table-condensed">
43 % for (score_player_id, score_nick, score_value) in top_scorers:
46 % if score_player_id != '-':
47 <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>
49 <td>${score_nick}</td>
51 <td>${score_value}</td>
61 <h3>Most Active Players</h3>
62 <table class="table table-bordered table-condensed">
72 % for (player_id, nick, alivetime) in top_players:
75 % if player_id != '-':
76 <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>
90 <h3>Most Active Servers</h3>
91 <table class="table table-bordered table-condensed">
101 % for (server_id, name, times_played) in top_servers:
104 <td><a href="${request.route_url('server_info', id=server_id)}" title="Go to the server info page for this server">${name}</a></td>
105 <td>${times_played}</td>
114 % if len(captimes) > 0:
117 <h3>Best Flag Capture Times</h3>
118 <table class="table table-bordered table-condensed">
129 % if c.player_id > 2:
130 <a href="${request.route_url("player_info", id=c.player_id)}"
131 title="Go to the info page for this player">
132 <span class="nick">${c.nick_html_colors|n}</span>
135 <span class="nick">${c.nick_html_colors|n}</span>
139 <a href="${request.route_url("game_info", id=c.game_id)}"
140 title="View the game in which this cap was made">
141 ${round(float(c.fastest_cap.seconds) + (c.fastest_cap.microseconds/1000000.0), 2)}
153 % if len(recent_games) > 0:
156 <h3>Most Recent Games</h3>
157 <table class="table table-bordered table-condensed">
168 % for rg in recent_games:
170 <td><a class="btn btn-primary btn-small" href="${request.route_url('game_info', id=rg.game_id)}" title="View detailed information about this game">View</a></td>
171 <td><span class="sprite sprite-${rg.game_type_cd}" alt="${rg.game_type_cd}"></span></td>
172 <td><a href="${request.route_url('server_info', id=rg.server_id)}" title="Go to the detail page for this server">${rg.server_name}</a></td>
173 <td><span class="abstime" data-epoch="${rg.epoch}" title="${rg.start_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${rg.fuzzy_date}</span></td>
175 % if rg.player_id > 2:
176 <a href="${request.route_url('player_info', id=rg.player_id)}" title="Go to the player info page for this player">${rg.nick_html_colors|n}</a>
178 ${rg.nick_html_colors|n}