From a17041d7e2e193dc5f8f3d0a911bf5339e1d0a5f Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Fri, 13 Mar 2015 22:12:57 -0400 Subject: [PATCH] Convert the map_index page. --- xonstat/templates/map_index.mako | 82 ++++++++++++++++++-------------- 1 file changed, 46 insertions(+), 36 deletions(-) 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 -- 2.39.2