X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Ftemplates%2Fmap_index.mako;h=481b9a8d292ed00536f3b8ac4889b5907b4ddc30;hb=25a194ffdce667f5de74d1d775c0829ff788b39f;hp=05a76d75a8216f4d88c87a836580afe55e07d402;hpb=3df1136b0e8d51018eaeef1c4d1153f37ec38e4e;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 05a76d7..481b9a8 --- a/xonstat/templates/map_index.mako +++ b/xonstat/templates/map_index.mako @@ -1,34 +1,60 @@ -<%inherit file="base.mako"/> -<%namespace file="navlinks.mako" import="navlinks" /> - -<%block name="title"> -Map Index - ${parent.title()} - - -% if not maps: -

Sorry, no maps yet. Get playing!

- -% else: -

Map Index

-
- - - -
- - - - - -% for map in maps: - - - - -% endfor -
NameAdded
${map.name} - ${map.create_dt.strftime('%m/%d/%Y at %H:%M')}
-% endif - - -${navlinks("map_index_paged", maps.page, maps.last_page)} +<%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