1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3 <%namespace file="accuracy.mako" import="accuracy" />
5 <%block name="navigation">
11 <link rel="stylesheet" href="/static/css/colorbox.css" type="text/css" media="screen" />
16 <script src="/static/js/jquery.colorbox-min.js"></script>
21 Player Information for ${player.nick_strip_colors()}
29 <h2>This player is so good we couldn't find him!</h2>
30 <p>Seriously though, he probably doesn't exist...just a figment of your imagination. Carry on then!</p>
33 <h2>${player.nick_html_colors()|n}</h2>
35 Member Since: ${player.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
36 Last Seen: ${recent_games[0][1].fuzzy_date()} <br />
37 Playing Time: ${game_stats['total_alivetime']} <br />
38 Games Played: ${game_stats['total_games_played']} <br />
39 Average Rank: ${game_stats['avg_rank']} <br />
46 <h2>Overall Game Stats</h2>
47 <table id="player-game-stats">
51 <th>Carrier Kills</th>
57 <th>Destroys (with key)</th>
68 <td>${game_stats['total_score']}</td>
69 <td>${game_stats['total_carrier_frags']}</td>
70 <td>${game_stats['total_kills']}</td>
71 <td>${game_stats['total_collects']}</td>
72 <td>${game_stats['total_deaths']}</td>
73 <td>${game_stats['total_destroys']}</td>
74 <td>${game_stats['total_suicides']}</td>
75 <td>${game_stats['total_destroys']}</td>
76 <td>${game_stats['total_captures']}</td>
77 <td>${game_stats['total_pushes']}</td>
78 <td>${game_stats['total_pickups']}</td>
79 <td>${game_stats['total_pushed']}</td>
80 <td>${game_stats['total_drops']}</td>
81 <td>${game_stats['total_returns']}</td>
89 <h2>Overall Accuracy</h2>
90 ${accuracy(weapon_stats)}
94 ##### RECENT GAMES (v2) ####
108 % for (gamestat, game, server, map) in recent_games:
110 <td><img title="${game.game_type_cd}" src="/static/images/icons/24x24/${game.game_type_cd}.png" alt="${game.game_type_cd}" /></td>
113 % if gamestat.team != None and gamestat.team == game.winner:
114 Won (#${gamestat.rank})
115 % elif gamestat.team != None and gamestat.team != game.winner:
116 Lost (#${gamestat.rank})
121 <td>${game.fuzzy_date()}</td>
122 <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>
127 % if game_stats['total_games_played'] > 10:
128 <a href="${request.route_url("player_game_index", player_id=player.player_id, page=1)}" title="Game index for ${player.nick}">More games</a> played by ${player.nick_html_colors()|n}...