X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Ftemplates%2Ftop_players_by_time.mako;h=37a47e9ab61d69102877ca858c091896f2eb489a;hb=805695575184137e26a744d8e3d8a909018b323c;hp=e101479e646ddfb4981893c3405453f89a32ba9b;hpb=ba16af1b8ddbb002dfd7bae87cfac8cc014c39e6;p=xonotic%2Fxonstat.git diff --git a/xonstat/templates/top_players_by_time.mako b/xonstat/templates/top_players_by_time.mako index e101479..37a47e9 100644 --- a/xonstat/templates/top_players_by_time.mako +++ b/xonstat/templates/top_players_by_time.mako @@ -3,49 +3,53 @@ <%namespace file="navlinks.mako" import="navlinks" /> <%block name="navigation"> -${nav.nav('players')} + ${nav.nav('players')} <%block name="title"> -Active Players Index + Active Players Index % if not top_players: -

Sorry, no players yet. Get playing!

+

Sorry, no players yet. Get playing!

% else: -##### ACTIVE PLAYERS ##### -
-
- - - - - - - - - - ##### this is to get around the actual row_number/rank of the player not being in the actual query - <% i = 1 + (top_players.page-1) * 25%> - % for (player_id, nick, alivetime) in top_players.items: - - - % if player_id != '-': - - % else: - - % endif - - - <% i = i+1 %> - % endfor - -
#NickPlay Time
${i}${nick|n}${nick|n}${alivetime}
-

*figures are from the past 7 days

-
-% endif + ##### ACTIVE PLAYERS ##### +
+
+ + + + + + + + + + + ##### this is to get around the actual row_number/rank of the player not being in the actual query + <% i = 1 + (top_players.page-1) * 25%> + % for (player_id, nick, alivetime) in top_players.items: + + + % if player_id != '-': + + % else: + + % endif + + + <% i = i+1 %> + % endfor + +
#NickPlay Time
${i}${nick|n}${nick|n}${alivetime}
+ *figures are from the past 7 days +
+
-${navlinks("top_players_by_time", top_players.page, top_players.last_page)} -
- +
+
+ ${navlinks("top_players_by_time", top_players.page, top_players.last_page)} +
+
+% endif