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 #####
18 <div class="span6 offset3">
19 <table class="table table-hover table-condensed">
22 <th style="width:40px;">#</th>
23 <th style="width:180px;">Server</th>
24 <th style="width:60px;">Games</th>
28 ##### this is to get around the actual row_number/rank of the server not being in the actual query
29 <% i = 1 + (top_servers.page-1) * 25%>
30 % for (server_id, name, count) in top_servers.items:
33 % if server_id != '-':
34 <td class="nostretch" style="max-width:180px;"><a href="${request.route_url('server_info', id=server_id)}" title="Go to the server info page for ${name}">${name}</a></td>
36 <td class="nostretch" style="max-width:180px;">${name}</td>
44 <p class="note">*figures are from the past 7 days</p>
45 </div> <!-- /span4 -->
48 ${navlinks("top_servers_by_players", top_servers.page, top_servers.last_page)}
49 </div> <!-- /span4 -->