X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Ftemplates%2Fmap_index.mako;h=481b9a8d292ed00536f3b8ac4889b5907b4ddc30;hb=32e7a9e263247729de510b44496d88d55d9b9d0f;hp=7598a4d912600a039319d92925d3f8e387222f24;hpb=45ad9bb199e5f683016830b33e41b68850e27a43;p=xonotic%2Fxonstat.git diff --git a/xonstat/templates/map_index.mako b/xonstat/templates/map_index.mako old mode 100755 new mode 100644 index 7598a4d..481b9a8 --- a/xonstat/templates/map_index.mako +++ b/xonstat/templates/map_index.mako @@ -1,29 +1,60 @@ -<%inherit file="base.mako"/> - -<%block name="title"> -Map Index - ${parent.title()} - - -% if not maps: -

Sorry, no maps yet. Get playing!

- -% else: -

Map Index

- - - - -% for map in maps: - - -% endfor -
Name
${map.name} -
-% endif - -% if maps.previous_page: -Previous -% endif -% if maps.next_page: -Next -% endif +<%inherit file="base.mako"/> +<%namespace name="nav" file="nav.mako" /> +<%namespace file="navlinks.mako" import="navlinks" /> + +<%block name="navigation"> + ${nav.nav('maps')} + + +<%block name="title"> + Map Index + + +% if not maps: +

Sorry, no maps yet. Get playing!

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