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: <small>${player.create_dt.strftime('%m/%d/%Y at %I:%M %p')} </small><br />
24 Last Seen: <small>${recent_games[0][1].fuzzy_date()} </small><br />
25 Playing Time: <small>${game_stats['total_alivetime']} </small><br />
26 Games Played: <small>${game_stats['total_games_played']} </small><br />
27 Average Rank: <small>${game_stats['avg_rank']} </small><br />
28 % if elos_display is not None and len(elos_display) > 0:
30 <small>${', '.join(elos_display)} </small>
32 %if '*' in ', '.join(elos_display):
33 <small><i>*preliminary Elo</i></small>
45 <h3>Overall Game Stats</h2>
46 <table class="table table-bordered table-condensed">
50 <th>Carrier Kills</th>
56 <th>Destroys (with key)</th>
67 <td>${game_stats['total_score']}</td>
68 <td>${game_stats['total_carrier_frags']}</td>
69 <td>${game_stats['total_kills']}</td>
70 <td>${game_stats['total_collects']}</td>
71 <td>${game_stats['total_deaths']}</td>
72 <td>${game_stats['total_destroys']}</td>
73 <td>${game_stats['total_suicides']}</td>
74 <td>${game_stats['total_destroys']}</td>
75 <td>${game_stats['total_captures']}</td>
76 <td>${game_stats['total_pushes']}</td>
77 <td>${game_stats['total_pickups']}</td>
78 <td>${game_stats['total_pushed']}</td>
79 <td>${game_stats['total_drops']}</td>
80 <td>${game_stats['total_returns']}</td>
92 <h3>Overall Accuracy</h3>
93 ${accuracy(weapon_stats)}
99 ##### RECENT GAMES (v2) ####
103 <h3>Recent Games</h3>
104 <table class="table table-bordered table-condensed">
115 % for (gamestat, game, server, map) in recent_games:
117 <td><img title="${game.game_type_cd}" src="/static/images/icons/24x24/${game.game_type_cd}.png" alt="${game.game_type_cd}" /></td>
120 % if gamestat.team != None and gamestat.team == game.winner:
121 Won (#${gamestat.rank})
122 % elif gamestat.team != None and gamestat.team != game.winner:
123 Lost (#${gamestat.rank})
128 <td>${game.fuzzy_date()}</td>
129 <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>
134 % if game_stats['total_games_played'] > 10:
135 <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>