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 #####
18 <div class="span6 offset3">
19 <table class="table table-hover table-condensed">
22 <th style="width:40px;">#</th>
23 <th style="width:180px;">Map</th>
24 <th style="width:60px;">Games</th>
28 ##### this is to get around the actual row_number/rank of the map not being in the actual query
29 <% i = 1 + (top_maps.page-1) * 25%>
30 % for (map_id, name, count) in top_maps:
34 <td class="nostretch" style="max-width:180px;"><a href="${request.route_url('map_info', id=map_id)}" title="Go to the map 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_maps_by_times_played", top_maps.page, top_maps.last_page)}
49 </div> <!-- /span4 -->