]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Add noscript warnings for both charts.
authorAnt Zucaro <azucaro@gmail.com>
Fri, 13 Sep 2013 00:35:22 +0000 (20:35 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Fri, 13 Sep 2013 00:35:22 +0000 (20:35 -0400)
xonstat/templates/player_info.mako

index 4b33ed8143534141fcd67b08b224dd9ece889f08..c69db1558597b4b4f84125390a1be14dc9669c09 100644 (file)
@@ -205,6 +205,9 @@ Player Information
 <div class="row" id="accuracyChartRow">
   <div class="span12">
     <h3>Weapon Accuracy</h3>
+    <noscript>
+      Sorry, but you've disabled JavaScript! It is required to draw the accuracy chart.
+    </noscript>
     <div id="accuracyChart">
       <svg id="accuracyChartSVG"></svg>
     </div>
@@ -216,6 +219,9 @@ Player Information
 <div class="row" id="damageChartRow">
   <div class="span12">
     <h3>Weapon Damage</h3>
+    <noscript>
+      Sorry, but you've disabled JavaScript! It is required to draw the damage chart.
+    </noscript>
     <div id="damageChart">
       <svg id="damageChartSVG"></svg>
     </div>