X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=xonstat%2Ftemplates%2Fgame_info.mako;h=389f0c981b416be0eeb749bb1535165089e9c573;hb=e68b024fad07785b2970314da4d7b348032ef67a;hp=1c7d58093e23a986daf007aecba82184c005bd19;hpb=d8ecceef4a7d06d05fe1dfc2cf7169d2756761f4;p=xonotic%2Fxonstat.git diff --git a/xonstat/templates/game_info.mako b/xonstat/templates/game_info.mako index 1c7d580..389f0c9 100644 --- a/xonstat/templates/game_info.mako +++ b/xonstat/templates/game_info.mako @@ -1,84 +1,164 @@ <%inherit file="base.mako"/> +<%namespace name="nav" file="nav.mako" /> +<%namespace file="scoreboard.mako" import="scoreboard" /> +<%namespace file="accuracy.mako" import="accuracy" /> +<%namespace file="frag_matrix.mako" import="frag_matrix" /> + +<%block name="navigation"> + ${nav.nav('games')} +%block> + +<%block name="foundation"> + +%block> <%block name="title"> -Game Information - ${parent.title()} + Game Information %block> % if game is None: -
-Played on: ${start_dt.strftime('%m/%d/%Y at %I:%M %p')}
-Game Type: ${game_type_cd}
-Server: ${server_name}
-Map: ${map_name}
-
Nick | -Kills | -Captures | -Pickups | -Flag Carrier Kills | -Returns | -Score | -Accuracy | -
- % if player_game_stat.player_id > 2: - - ${player_game_stat.nick_html_colors()} - - % else: - ${player_game_stat.nick_html_colors()} - % endif - | -${player_game_stat.kills} | -${player_game_stat.captures} | -${player_game_stat.pickups} | -${player_game_stat.carrier_frags} | -${player_game_stat.returns} | -${player_game_stat.score} | -
- % if player_game_stat.player_id > 1:
-
- View
-
+
+
+
+ Game #${game.game_id}+
+ ${gametype.descr} |
-
Team | +Score | + + + % for ts in teamscores: +
---|---|
${ts.team.capitalize()} | ${ts.score} |
Nick | +Captime | +
---|---|
+ % if pgs.player_id > 2: + + ${pgs.nick_html_colors()|n} + + % else: + ${pgs.nick_html_colors()|n} + % endif + | +${round(float(pgs.fastest.seconds) + (pgs.fastest.microseconds/1000000.0), 2)} | +