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 maps 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">Map</th>
25 <th class="small-3">Games</th>
29 ##### this is to get around the actual row_number/rank of the map not being in the actual query
30 <% i = 1 + (top_maps.page-1) * 25%>
31 % for (map_id, name, count) in top_maps:
35 <td class="no-stretch"><a href="${request.route_url('map_info', id=map_id)}" title="Go to the map info page for ${name}">${name}</a></td>
37 <td class="nostretch">${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_maps_by_times_played", top_maps.page, top_maps.last_page)}