<%inherit file="base.mako"/> <%block name="title"> Game Index - ${parent.title()} % if not games:

Sorry, no games yet. Get playing!

% else:

Recent Games

% for (game, server, map) in games:

${map.name} on ${server.name} (permalink for this game) ############################ CTF Game ############################ % if game.game_type_cd == 'ctf': % for pgstat in pgstats[game.game_id]: % endfor ############################ DM Game ############################ % if game.game_type_cd == 'dm': % for pgstat in pgstats[game.game_id]: % endfor ############################ TDM Game ############################ % if game.game_type_cd == 'tdm': % for pgstat in pgstats[game.game_id]: % endfor ############################ End gametype specific stuff ############################ %
Nick Team Kills Captures Pickups Flag Carrier Kills Returns Score Accuracy
% if pgstat.player_id > 2: ${pgstat.nick_html_colors()} % else: ${pgstat.nick_html_colors()} % endif ${pgstat.kills} ${pgstat.captures} ${pgstat.pickups} ${pgstat.carrier_frags} ${pgstat.returns} ${pgstat.score} % if pgstat.player_id > 1: View % endif
Nick Kills Deaths Suicides Score Accuracy
% if pgstat.player_id > 2: ${pgstat.nick_html_colors()} % else: ${pgstat.nick_html_colors()} % endif ${pgstat.kills} ${pgstat.deaths} ${pgstat.suicides} ${pgstat.score} % if pgstat.player_id > 1: View % endif
Nick Team Kills Deaths Suicides Score Accuracy
% if pgstat.player_id > 2: ${pgstat.nick_html_colors()} % else: ${pgstat.nick_html_colors()} % endif ${pgstat.kills} ${pgstat.deaths} ${pgstat.suicides} ${pgstat.score} % if pgstat.player_id > 1: View % endif
% endif % endfor % endif % if games.previous_page: Previous % endif % if games.next_page: Next % endif