]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/accuracy.mako
Add flash messaging. Failures do not work yet.
[xonotic/xonstat.git] / xonstat / templates / accuracy.mako
old mode 100755 (executable)
new mode 100644 (file)
index 46e0141..de8f084
@@ -11,7 +11,7 @@
 ## [4] = Hit
 ## [5] = Fired
 
-<table class="table table-bordered table-condensed">
+<table class="table table-condensed">
 <thead>
     <th></th>
     <th>Weapon</th>
@@ -36,7 +36,7 @@ else:
 <tr>
     ## Note: the name of the image must match up with the weapon_cd 
     ## entry of that weapon, else this won't work
-    <td><img src="${request.static_url("xonstat:static/images/%s.png" % weapon_stat[1])}" /></td>
+    <td><span class="sprite sprite-${weapon_stat[1]}"></span></td>
     <td>${weapon_stat[0]}</td>
     <td>${weapon_stat[4]}</td>
     <td>${weapon_stat[5]}</td>