1 <%inherit file="base.mako"/>
5 Player Information for ${player.nick_html_colors()} -
13 <h2>This player is so good we couldn't find him!</h2>
14 <p>Seriously though, he probably doesn't exist...just a figment of your imagination. Carry on then!</p>
17 <h2>${player.nick_html_colors()}</h2>
19 Joined: ${player.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
26 % for (gamestat, game, server, map) in recent_games:
27 <li><a href="${request.route_url("game_info", id=game.game_id)}" name="Game info page for game #${game.game_id}">#${game.game_id}:</a> <a href="${request.route_url("map_info", id=map.map_id)}" name="Map info page for ${map.name}">${map.name}</a> on <a href="${request.route_url("server_info", id=server.server_id)}" name="Server info page for ${server.name}">${server.name}</a></li>
30 <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()}...
36 <table border="1" cellpadding="3">
43 <td>Actual Damage</td>
44 <td>Potential Damage</td>
47 % for weapon_stat in weapon_stats:
49 if weapon_stat[2] > 0:
50 damage_pct = round(float(weapon_stat[1])/weapon_stat[2]*100, 2)
53 if weapon_stat[4] > 0:
54 hit_pct = round(float(weapon_stat[3])/weapon_stat[4]*100, 2)
60 <td>${weapon_stat[0]}</td>
61 <td>${weapon_stat[3]}</td>
62 <td>${weapon_stat[4]}</td>
64 <td>${weapon_stat[1]}</td>
65 <td>${weapon_stat[2]}</td>
66 <td>${damage_pct}%</td>