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 servers yet. Get playing!</h2>
17 ##### ACTIVE SERVERS #####
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">Server</th>
25 <th class="small-3">Games</th>
29 ##### this is to get around the actual row_number/rank of the server not being in the actual query
30 <% i = 1 + (top_servers.page-1) * 25%>
31 % for (server_id, name, count) in top_servers.items:
34 % if server_id != '-':
35 <td class="no-stretch"><a href="${request.route_url('server_info', id=server_id)}" title="Go to the server info page for ${name}">${name}</a></td>
37 <td class="no-stretch">${name}</td>
45 <small>*figures are from the past 7 days<small>
50 <div class="small-12 large-6 large-offset-3 columns">
51 ${navlinks("top_servers_by_players", top_servers.page, top_servers.last_page)}