From: Ant Zucaro <azucaro@gmail.com>
Date: Fri, 29 Mar 2013 19:21:01 +0000 (-0400)
Subject: Make the accuracy and damage graphs 100% wide.
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e10ff0f008846dc30975fb9b5b8ae360062d3dc0;p=xonotic%2Fxonstat.git

Make the accuracy and damage graphs 100% wide.
---

diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako
index 20dcc4c..a1c7061 100644
--- a/xonstat/templates/player_info.mako
+++ b/xonstat/templates/player_info.mako
@@ -279,9 +279,9 @@ Player Information
 
 % if 'nex' in recent_weapons or 'rifle' in recent_weapons or 'minstanex' in recent_weapons or 'uzi' in recent_weapons or 'shotgun' in recent_weapons:
 <div class="row">
-  <div class="span10">
+  <div class="span12">
     <h3>Accuracy</h3>
-    <div id="acc-graph" class="flot" style="width:900px; height:200px;">
+    <div id="acc-graph" class="flot" style="width:100%; height:200px;">
     </div>
 
     <div class="weapon-nav accuracy-nav">
@@ -345,9 +345,9 @@ Player Information
 
 % if 'rocketlauncher' in recent_weapons or 'grenadelauncher' in recent_weapons or 'electro' in recent_weapons or 'crylink' in recent_weapons or 'laser' in recent_weapons:
 <div class="row">
-  <div class="span10">
+  <div class="span12">
     <h3>Damage Efficiency</h3>
-    <div id="dmg-graph" class="flot" style="width:900px; height:200px;">
+    <div id="dmg-graph" class="flot" style="width:100%; height:200px;">
     </div>
 
     <div class="weapon-nav damage-nav">