1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3 <%namespace file="accuracy.mako" import="accuracy" />
5 <%block name="navigation">
15 <h2>This player is so good we couldn't find him!</h2>
16 <p>Seriously though, he probably doesn't exist...just a figment of your imagination. Carry on then!</p>
21 <h2>${player.nick_html_colors()|n}</h2>
23 Member Since: ${player.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
24 Last Seen: ${recent_games[0][1].fuzzy_date()} <br />
25 Playing Time: ${game_stats['total_alivetime']} <br />
26 Games Played: ${game_stats['total_games_played']} <br />
27 Average Rank: ${game_stats['avg_rank']} <br />
37 <h3>Overall Game Stats</h2>
38 <table class="table table-bordered table-condensed">
42 <th>Carrier Kills</th>
48 <th>Destroys (with key)</th>
59 <td>${game_stats['total_score']}</td>
60 <td>${game_stats['total_carrier_frags']}</td>
61 <td>${game_stats['total_kills']}</td>
62 <td>${game_stats['total_collects']}</td>
63 <td>${game_stats['total_deaths']}</td>
64 <td>${game_stats['total_destroys']}</td>
65 <td>${game_stats['total_suicides']}</td>
66 <td>${game_stats['total_destroys']}</td>
67 <td>${game_stats['total_captures']}</td>
68 <td>${game_stats['total_pushes']}</td>
69 <td>${game_stats['total_pickups']}</td>
70 <td>${game_stats['total_pushed']}</td>
71 <td>${game_stats['total_drops']}</td>
72 <td>${game_stats['total_returns']}</td>
84 <h3>Overall Accuracy</h3>
85 ${accuracy(weapon_stats)}
91 ##### RECENT GAMES (v2) ####
96 <table class="table table-bordered table-condensed">
107 % for (gamestat, game, server, map) in recent_games:
109 <td><img title="${game.game_type_cd}" src="/static/images/icons/24x24/${game.game_type_cd}.png" alt="${game.game_type_cd}" /></td>
112 % if gamestat.team != None and gamestat.team == game.winner:
113 Won (#${gamestat.rank})
114 % elif gamestat.team != None and gamestat.team != game.winner:
115 Lost (#${gamestat.rank})
120 <td>${game.fuzzy_date()}</td>
121 <td><a class="recent_game_box" href="${request.route_url("game_info", id=game.game_id)}" name="Game info page for game #${game.game_id}">View</a></td>
126 % if game_stats['total_games_played'] > 10:
127 <a href="${request.route_url("player_game_index", player_id=player.player_id, page=1)}" title="Game index for ${player.nick}">More games played by ${player.nick_html_colors()|n}...</a>