From 1dc1009eba764ec063627d9f26cf06425a475d0d Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Fri, 20 Mar 2015 20:15:55 -0400 Subject: [PATCH] Convert the map_captimes view. --- xonstat/templates/map_captimes.mako | 87 ++++++++++++++--------------- 1 file changed, 43 insertions(+), 44 deletions(-) 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 -- 2.39.2