From: Ant Zucaro Date: Sat, 14 Mar 2015 02:12:57 +0000 (-0400) Subject: Convert the map_index page. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a17041d7e2e193dc5f8f3d0a911bf5339e1d0a5f;p=xonotic%2Fxonstat.git Convert the map_index page. --- diff --git a/xonstat/templates/map_index.mako b/xonstat/templates/map_index.mako index 7c75016..eed55a1 100644 --- a/xonstat/templates/map_index.mako +++ b/xonstat/templates/map_index.mako @@ -3,48 +3,58 @@ <%namespace file="navlinks.mako" import="navlinks" /> <%block name="navigation"> -${nav.nav('maps')} + ${nav.nav('maps')} <%block name="title"> -Map Index + Map Index % if not maps: -

Sorry, no maps yet. Get playing!

+

Sorry, no maps yet. Get playing!

% else: -
-
-
- - - -
- - - - - - - - % for map in maps: - - - - - - - % endfor -
IDNameAdded
${map.map_id}${map.name} - ${map.fuzzy_date()} - - - -
- % endif +
+
- - ${navlinks("map_index", maps.page, maps.last_page)} -
-
+
+
+
+ + +
+
+ +
+
+
+ + + + + + + + + + + % for map in maps: + + + + + + + % endfor +
IDNameAdded
${map.map_id}${map.name} + ${map.fuzzy_date()} + + + +
+ + + ${navlinks("map_index", maps.page, maps.last_page)} +
+
+% endif