From: Ant Zucaro Date: Wed, 11 Sep 2013 01:40:54 +0000 (-0400) Subject: Working charts on the player_info pages. Yeah! X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0ed44224be737de4a96b97e48732d53feb8a6f9a;p=xonotic%2Fxonstat.git Working charts on the player_info pages. Yeah! --- diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index 2539a0d..a1c40ef 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -11,13 +11,21 @@ ${nav.nav('players')} <%block name="css"> ${parent.css()} + + <%block name="js"> ${parent.js()} -% if player is not None: - + + + - - -% endif <%block name="title"> Player Information - -% if player is None: -

This player is so good we couldn't find him!

-

Seriously though, he probably doesn't exist...just a figment of your imagination. Carry on then!

- -% else:

@@ -240,7 +107,7 @@ Player Information % else:
% endif - + % if g.game_type_cd == 'ctf': % if overall_stats[g.game_type_cd].total_captures is not None: Fastest flag captures...
@@ -250,7 +117,7 @@ Player Information % else:
% endif - +

@@ -320,7 +187,7 @@ Player Information
-### ACCURACY GRAPH -${accuracy_graph(recent_weapons)} -### DAMAGE GRAPH -${damage_graph(recent_weapons)} +##### Weapon Accuracy Chart #### +
+
+

Weapon Accuracy

+
+ +
+
+
+ + +##### Weapon Damage Chart #### +
+
+

Weapon Damage

+
+ +
+
+
+ + ##### RECENT GAMES (v2) #### % if recent_games: @@ -403,4 +288,3 @@ ${damage_graph(recent_weapons)}
% endif -% endif