X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonstat.git;a=blobdiff_plain;f=xonstat%2Ftemplates%2Fplayer_captimes.mako;h=8391fb5312c511d92f274eb443799d575790a9ec;hp=a9872e4a51873466f7b5fb47433c800d50b1bf37;hb=e9a2749acba912de98b68328a51a32045a604b5d;hpb=31cde11b854d03d176da91ede110196051507064 diff --git a/xonstat/templates/player_captimes.mako b/xonstat/templates/player_captimes.mako index a9872e4..8391fb5 100644 --- a/xonstat/templates/player_captimes.mako +++ b/xonstat/templates/player_captimes.mako @@ -1,46 +1,60 @@ <%inherit file="base.mako"/> <%namespace name="nav" file="nav.mako" /> +<%namespace file="navlinks.mako" import="navlinks" /> + +<%block name="navigation"> + ${nav.nav('players')} + <%block name="title"> -Player captimes + Player captimes % if len(captimes) == 0: -

Sorry, no caps yet. Get playing!

-

Back to player info page

+

Sorry, no caps yet. Get playing!

+

Back to player info page

% else: -
-
-

Fastest Flag Captures by - - ${player.nick_html_colors()|n} - -

- - - - - - - - - - - - - % for ct in captimes: - - - - - - - % endfor - -
GameCaptimeMapServerDate
view${ct.fastest_cap.total_seconds()} seconds${ct.map_name}${ct.server_name}${ct.create_dt_fuzzy}
+
+
+

Fastest Flag Captures by + + ${player.nick_html_colors()|n} + +

+ + + + + + + + + + + + + + % for ct in captimes.items: + + + + + + + % endfor + +
GameCaptimeMapServerDate
view${ct.fastest_cap.total_seconds()} seconds${ct.map_name}${ct.server_name}${ct.create_dt_fuzzy}
+ + % if sort == "fastest": +

* sorted by fastest - sort by most recent instead

+ % else: +

* sorted by most recent - sort by fastest instead

+ % endif +
-
+ + ${navlinks("player_captimes", captimes.page, captimes.last_page, player_id=player_id, search_query=request.GET)} % endif