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-hover 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>
57 <p class="note">*Most active stats are from the past 7 days</p>
62 <h3>Most Active Players</h3>
63 <table class="table table-hover table-condensed">
73 % for (player_id, nick, alivetime) in top_players:
76 % if player_id != '-':
77 <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>
91 <h3>Most Active Servers</h3>
92 <table class="table table-hover table-condensed">
102 % for (server_id, name, times_played) in top_servers:
105 <td><a href="${request.route_url('server_info', id=server_id)}" title="Go to the server info page for this server">${name}</a></td>
106 <td>${times_played}</td>
115 % if len(captimes) > 0:
118 <h3>Best Flag Capture Times</h3>
119 <table class="table table-hover table-condensed">
130 % if c.player_id > 2:
131 <a href="${request.route_url("player_info", id=c.player_id)}"
132 title="Go to the info page for this player">
133 <span class="nick">${c.nick_html_colors|n}</span>
136 <span class="nick">${c.nick_html_colors|n}</span>
140 <a href="${request.route_url("game_info", id=c.game_id)}"
141 title="View the game in which this cap was made">
142 ${round(float(c.fastest_cap.seconds) + (c.fastest_cap.microseconds/1000000.0), 2)}
154 % if len(recent_games) > 0:
157 <h3>Most Recent Games</h3>
158 <table class="table table-hover table-condensed">
169 % for rg in recent_games:
171 <td class="tdcenter"><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>
172 <td class="tdcenter"><span class="sprite sprite-${rg.game_type_cd}" alt="${rg.game_type_cd}" title="${rg.game_type_descr}"></span></td>
173 <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>
174 <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>
176 % if rg.player_id > 2:
177 <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>
179 ${rg.nick_html_colors|n}
186 <p><a href="${request.route_url('game_finder', _query={'map_id':gmap.map_id})}">More...</a></p>