%inherit file="base.mako"/>
<%namespace name="nav" file="nav.mako" />
<%namespace file="navlinks.mako" import="navlinks" />
<%block name="navigation">
${nav.nav('maps')}
%block>
<%block name="title">
Active Maps Index
%block>
% if not top_maps:
Sorry, no maps yet. Get playing!
% else:
##### ACTIVE SERVERS #####
# |
Map |
Games |
##### this is to get around the actual row_number/rank of the map not being in the actual query
<% i = 1 + (top_maps.page-1) * 25%>
% for (map_id, name, count) in top_maps:
${i} |
% if map_id != '-':
${name} |
% else:
${name} |
% endif
${count} |
<% i = i+1 %>
% endfor
*figures are from the past 7 days
${navlinks("top_maps_by_times_played", top_maps.page, top_maps.last_page)}
% endif