From: Ant Zucaro Date: Sat, 21 Mar 2015 00:15:55 +0000 (-0400) Subject: Convert the map_captimes view. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1dc1009eba764ec063627d9f26cf06425a475d0d;p=xonotic%2Fxonstat.git Convert the map_captimes view. --- diff --git a/xonstat/templates/map_captimes.mako b/xonstat/templates/map_captimes.mako index 1373fc0..09b6cac 100644 --- a/xonstat/templates/map_captimes.mako +++ b/xonstat/templates/map_captimes.mako @@ -3,57 +3,56 @@ <%namespace file="navlinks.mako" import="navlinks" /> <%block name="navigation"> -${nav.nav('maps')} + ${nav.nav('maps')} <%block name="title"> -Map captimes + Map captimes % if len(captimes) == 0: -

Sorry, no caps yet. Get playing!

-

Back to map info page

-% else: - -
-
- -

${map.name}

-

Back to map info page

- -

Fastest Flag Captures:

- - - - - - - - - - - - - % for ct in captimes.items: - - - - - - - % endfor - -
GameCaptimeNickServerDate
view${ct.fastest_cap.total_seconds()} seconds - % if ct.player_id > 2: - ${ct.player_nick_html|n} - % else: - ${rg.nick_html_colors|n} - % endif - ${ct.server_name}${ct.create_dt_fuzzy}
+

Sorry, no caps yet. Get playing!

+

Back to map info page

+% else: +
+
+ +

${map.name}

+

Back to map info page

+ +
Fastest Flag Captures:
+ + + + + + + + + + + + + % for ct in captimes.items: + + + + + + + % endfor + +
GameCaptimeNickServerDate
view${ct.fastest_cap.total_seconds()} seconds + % if ct.player_id > 2: + ${ct.player_nick_html|n} + % else: + ${rg.nick_html_colors|n} + % endif + ${ct.server_name}${ct.create_dt_fuzzy}
+
-
- -${navlinks("map_captimes", captimes.page, captimes.last_page, id=map_id, search_query=request.GET)} + + ${navlinks("map_captimes", captimes.page, captimes.last_page, id=map_id, search_query=request.GET)} % endif