X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonstat.git;a=blobdiff_plain;f=xonstat%2Ftemplates%2Fmap_info.mako;h=339525cde4a8c1405e76b2ca67380560313faac0;hp=abbd4b0a80906f9b17ca609b232f32e11b6adde6;hb=e9a2749acba912de98b68328a51a32045a604b5d;hpb=c9a891fdb40cdcf72d75e23c5f5565a30ffd4c84 diff --git a/xonstat/templates/map_info.mako b/xonstat/templates/map_info.mako index abbd4b0..339525c 100644 --- a/xonstat/templates/map_info.mako +++ b/xonstat/templates/map_info.mako @@ -3,189 +3,187 @@ <%namespace file="navlinks.mako" import="navlinks" /> <%block name="navigation"> -${nav.nav('maps')} + ${nav.nav('maps')} <%block name="title"> -% if gmap: -Map Information -% endif - -${parent.title()} - + % if gmap: + Map Information + % endif -<%block name="css"> - ${parent.css()} - + ${parent.title()} % if gmap is None: -

Sorry, that map wasn't found!

+

Sorry, that map wasn't found!

% else: -

${gmap.name}

-

- Added ${gmap.fuzzy_date()} -

-
-
-

Top Scoring Players

- - - - - - - - - +

${gmap.name}

+

+ Added ${gmap.fuzzy_date()} +

+ +
+
+
Top Scoring Players
+
#NickScore
+ + + + + + + + + <% i = 1 %> + % for (score_player_id, score_nick, score_value) in top_scorers: + + + % if score_player_id != '-': + + % else: + + % endif + + + <% i = i+1 %> + % endfor + +
#NickScore
${i}${score_nick|n}${score_nick}${score_value}
+
+ +
+
Most Active Players
+ + + + + + + + + <% i = 1 %> - % for (score_player_id, score_nick, score_value) in top_scorers: - - - % if score_player_id != '-': - - % else: - - % endif - - - <% i = i+1 %> + % for (player_id, nick, alivetime) in top_players: + + + % if player_id != '-': + + % else: + + % endif + + + <% i = i+1 %> % endfor -
#NickTime
${i}${score_nick|n}${score_nick}${score_value}
${i}${nick|n}${nick}${alivetime}
-
- - -
-

Most Active Players

- - - - - - - - - - <% i = 1 %> - % for (player_id, nick, alivetime) in top_players: - - - % if player_id != '-': - - % else: - - % endif - - - <% i = i+1 %> - % endfor - -
#NickPlaying Time
${i}${nick|n}${nick}${alivetime}
-
+ +
+
+
Most Active Servers
+ + + + + + + + + + <% i = 1 %> + % for (server_id, name, times_played) in top_servers: + + + + + + <% i = i+1 %> + % endfor + +
#Name# Games
${i}${name}${times_played}
+
+ -
-

Most Active Servers

- - - - - - - - - - <% i = 1 %> - % for (server_id, name, times_played) in top_servers: - - - - - - <% i = i+1 %> - % endfor - -
#NameTimes Played
${i}${name}${times_played}
-
- - -% if len(captimes) > 0: -
-
-

Best Flag Capture Times

- - - - - - - - - % for c in captimes: - - - - - % endfor - -
NickCaptime
- % if c.player_id > 2: - - ${c.nick_html_colors|n} - - % else: - ${c.nick_html_colors|n} - % endif - - - ${round(float(c.fastest_cap.seconds) + (c.fastest_cap.microseconds/1000000.0), 2)} - -
+
+
+ *Most active stats are from the past 7 days +
-
-% endif - -% if len(recent_games) > 0: -
-
-

Most Recent Games

- - - - - - - - - - - - % for rg in recent_games: - - - - - - +
TypeServerTimeWinner
View${rg.server_name}${rg.fuzzy_date} - % if rg.player_id > 2: - ${rg.nick_html_colors|n} + % if len(captimes) > 0: +
+
+
Best Flag Capture Times
+ + + + + + + + + % for c in captimes: + + - + + + % endfor - -
NickCaptime
+ % if c.player_id > 2: + + ${c.nick_html_colors|n} + % else: - ${rg.nick_html_colors|n} + ${c.nick_html_colors|n} % endif -
+ + ${round(float(c.fastest_cap.seconds) + (c.fastest_cap.microseconds/1000000.0), 2)} + +
-

More...

+
+
-
-% endif + % endif + % if len(recent_games) > 0: +
+
+
Most Recent Games
+ + + + + + + + + + + + % for rg in recent_games: + + + + + + + + % endfor + +
TypeServerTimeWinner
View${rg.server_name}${rg.fuzzy_date} + % if rg.player_id > 2: + ${rg.nick_html_colors|n} + % else: + ${rg.nick_html_colors|n} + % endif +
+

More...

+
+
+ % endif % endif