1 <%inherit file="base.mako"/>
2 <%namespace file="accuracy.mako" import="accuracy" />
6 <link rel="stylesheet" href="/static/css/colorbox.css" type="text/css" media="screen" />
11 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
12 <script src="/static/js/jquery.colorbox-min.js"></script>
14 $(document).ready(function(){
15 $(".recent_game_box").colorbox({width:"80%", height:"80%", iframe:true});
22 Player Information for ${player.nick_strip_colors()} -
30 <h2>This player is so good we couldn't find him!</h2>
31 <p>Seriously though, he probably doesn't exist...just a figment of your imagination. Carry on then!</p>
34 <h2>${player.nick_html_colors()}</h2>
36 Member Since: ${player.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
37 Last Seen: ${recent_games[0][1].fuzzy_date()} <br />
38 Playing Time: ${game_stats['total_alivetime']} <br />
39 Games Played: ${game_stats['total_games_played']} <br />
40 Average Rank: ${game_stats['avg_rank']} <br />
47 <h2>Overall Game Stats</h2>
48 <table border="1" cellpadding="3">
51 <th>Score</td><td>${game_stats['total_score']}</td>
52 <th>Carrier Kills</td><td>${game_stats['total_carrier_frags']}</td>
55 <th>Kills</td><td>${game_stats['total_kills']}</td>
56 <th>Collects</td><td>${game_stats['total_collects']}</td>
59 <th>Deaths</td><td>${game_stats['total_deaths']}</td>
60 <th>Destroys</td><td>${game_stats['total_destroys']}</td>
63 <th>Suicides</td><td>${game_stats['total_suicides']}</td>
64 <th>Destroys (with key)</td><td>${game_stats['total_destroys']}</td>
67 <th>Captures</td><td>${game_stats['total_captures']}</td>
68 <th>Pushes</td><td>${game_stats['total_pushes']}</td>
71 <th>Pickups</td><td>${game_stats['total_pickups']}</td>
72 <th>Pushed</td><td>${game_stats['total_pushed']}</td>
75 <th>Drops</td><td>${game_stats['total_drops']}</td>
76 <th>Returns</td><td>${game_stats['total_returns']}</td>
83 <h2>Overall Accuracy</h2>
84 ${accuracy(weapon_stats)}
88 ##### RECENT GAMES (v2) ####
91 <table border="1" cellpadding="3">
92 <tr class='table-header'>
99 % for (gamestat, game, server, map) in recent_games:
101 <td>${game.game_type_cd}</td>
104 % if gamestat.team != None and gamestat.team == game.winner:
110 <td>${game.fuzzy_date()}</td>
111 <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>
115 <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()}...