1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3 <%namespace file="navlinks.mako" import="navlinks" />
5 <%block name="navigation">
14 <h2>Sorry, no players yet. Get playing!</h2>
17 ##### ACTIVE PLAYERS #####
19 <div class="small-12 large-6 large-offset-3 columns">
20 <table class="table-hover table-condensed">
23 <th class="small-2">#</th>
24 <th class="small-7">Nick</th>
25 <th class="small-3">Play Time</th>
30 ##### this is to get around the actual row_number/rank of the player not being in the actual query
31 <% i = 1 + (top_players.page-1) * 25%>
32 % for (player_id, nick, alivetime) in top_players.items:
35 % if player_id != '-':
36 <td class="no-stretch"><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick|n}</a></td>
38 <td class="no-stretch">${nick|n}</td>
46 <small>*figures are from the past 7 days</small>
51 <div class="small-12 large-6 large-offset-3 columns">
52 ${navlinks("top_players_by_time", top_players.page, top_players.last_page)}