]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Style the game table for keyhunt.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 12 Apr 2015 01:36:38 +0000 (21:36 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 12 Apr 2015 01:36:38 +0000 (21:36 -0400)
xonstat/templates/scoreboard.mako

index 3f66d5aa8af011186b302bc7bb5664c1037e2499..88849c6df5e99a26a7b9b854600391d15b6a1730 100644 (file)
 <thead class="kh ${pgstat.team_html_color()}">
   <tr>
     % if show_latency:
-      <th class="small-1">Ping</th>
+      <th class="show-for-medium-up medium-1">Ping</th>
     % endif
-    <th class="small-2">Nick</th>
-    <th>Kills</th>
-    <th>Deaths</th>
-    <th>Pickups</th>
-    <th>Captures</th>
-    <th>Losses</th>
-    <th>KC Kills</th>
-    <th>Score</th>
+    <th class="small-5 medium-3">Nick</th>
+    <th class="show-for-medium-up">Kills</th>
+    <th class="show-for-medium-up">Deaths</th>
+    <th class="show-for-medium-up">Pickups</th>
+    <th>Caps</th>
+    <th class="show-for-medium-up">Losses</th>
+    <th class="show-for-medium-up">KC Kills</th>
+    <th class="small-3 medium-1">Score</th>
     % if show_elo:
-      <th>Elo Change</th>
+      <th class="show-for-medium-up">Elo Change</th>
     % endif
   </tr>
 </thead>
 % endif
 
 % if game_type_cd == 'kh':
-  <td>${pgstat.kills}</td>
-  <td>${pgstat.deaths}</td>
-  <td>${pgstat.pickups}</td>
-  <td>${pgstat.captures}</td>
-  <td>${pgstat.drops}</td>
+  <td class="show-for-medium-up">${pgstat.kills}</td>
+  <td class="show-for-medium-up">${pgstat.deaths}</td>
+  <td class="show-for-medium-up">${pgstat.pickups}</td>
+  <td class="show-for-medium-up">${pgstat.captures}</td>
+  <td class="show-for-medium-up">${pgstat.drops}</td>
   <td>${pgstat.carrier_frags}</td>
 % endif