<%inherit file="base.mako"/> <%namespace name="nav" file="nav.mako" /> <%namespace file="scoreboard.mako" import="scoreboard" /> <%namespace file="accuracy.mako" import="accuracy" /> <%block name="navigation"> ${nav.nav('games')} <%block name="css"> ${parent.css()} <%block name="js"> ${parent.js()} <%block name="title"> Game Information % if game is None:

Sorry, that game wasn't found!

% else:

Game Detail

${game.game_type_cd}

Played: ${game.fuzzy_date()}
Game Type: ${gametype.descr} (${game.game_type_cd})
Server: ${server.name}
Map: ${map.name}
% if game.duration is not None: Duration: ${"%s:%02d" % (game.duration.seconds/60, game.duration.seconds%60)} % endif

Scoreboard

${scoreboard(game.game_type_cd, pgstats, show_elo, show_latency)}
% if len(captimes) > 0:

Best Flag Capture Times

% for pgs in captimes: % endfor
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)}
% endif % if len(pgstats) > 0 and len(pwstats) > 0:

Accuracy Information

% endif
% endif