1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3 <%namespace file="navlinks.mako" import="navlinks" />
5 <%block name="navigation">
19 <h2>Sorry, that map wasn't found!</h2>
24 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>
28 <h3>Top Scoring Players</h3>
29 <table class="table table-bordered table-condensed">
39 % for (score_player_id, score_nick, score_value) in top_scorers:
42 % if score_player_id != '-':
43 <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>
45 <td>${score_nick}</td>
47 <td>${score_value}</td>
57 <h3>Most Active Players</h3>
58 <table class="table table-bordered table-condensed">
68 % for (player_id, nick, alivetime) in top_players:
71 % if player_id != '-':
72 <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>
86 <h3>Most Active Servers</h3>
87 <table class="table table-bordered table-condensed">
97 % for (server_id, name, times_played) in top_servers:
100 <td><a href="${request.route_url('server_info', id=server_id)}" title="Go to the server info page for this server">${name}</a></td>
101 <td>${times_played}</td>
113 <h3>Recent Games</h3>
114 <table class="table table-bordered table-condensed">
124 % for (game, srv, map, pgstat) in recent_games:
127 <td><a class="btn btn-primary btn-small" href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">View</a></td>
128 <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>
129 <td><span class="abstime" data-epoch="${game.epoch()}" title="${game.start_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${game.fuzzy_date()}</span></td>
131 % if pgstat.player_id > 2:
132 <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>
135 ${pgstat.nick_html_colors()|n}