]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Add dom support.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 27 Jan 2013 03:01:28 +0000 (22:01 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 27 Jan 2013 03:01:28 +0000 (22:01 -0500)
xonstat/templates/scoreboard.mako

index 391d90431abc232648851b17da9a2a59507f6fef..f54baef43622557a3411395b301330fa1d164f5a 100644 (file)
@@ -129,6 +129,25 @@ ${scoreboard_header(game_type_cd, pgstats[0])}
     </thead>
 % endif
 
+% if game_type_cd == 'dom':
+    <thead class="dom ${pgstat.team_html_color()}">
+    <tr>
+      <th class="nick">Nick</th>
+      % if show_latency:
+      <th class="ping">Ping</th>
+      % endif
+      <th class="kills">Kills</th>
+      <th class="deaths">Deaths</th>
+      <th class="takes">Takes</th>
+      <th class="ticks">Ticks</th>
+      <th class="score">Score</th>
+      % if show_elo:
+      <th>Elo Change</th>
+      % endif
+    </tr>
+    </thead>
+% endif
+
 % if game_type_cd == 'freezetag':
     <thead class="freezetag ${pgstat.team_html_color()}">
     <tr>
@@ -183,6 +202,13 @@ ${scoreboard_header(game_type_cd, pgstats[0])}
         <td>${pgstat.returns}</td>
 % endif
 
+% if game_type_cd == 'dom':
+        <td>${pgstat.kills}</td>
+        <td>${pgstat.deaths}</td>
+        <td>${pgstat.pickups}</td>
+        <td>${pgstat.drops}</td>
+% endif
+
 % if game_type_cd == 'freezetag':
         <td>${pgstat.kills}</td>
         <td>${pgstat.deaths}</td>