]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/scoreboard.mako
Update table style.
[xonotic/xonstat.git] / xonstat / templates / scoreboard.mako
index bb652236ccbf06e34e997b2cff98f003ee458c48..18ad4cb137ebde7b6669d501417b75d1c793d70b 100755 (executable)
@@ -3,7 +3,7 @@
 
 ##### CTF #####
 % if game_type_cd == 'ctf':
-    <tr class="scoreboard-header" style="background-color:lightgray; color:${pgstats[0].team_html_color()}">
+    <tr class="table-header" style="color:${pgstats[0].team_html_color()}">
         <td>Nick</td>
         <td>Kills</td>
         <td>Captures</td>
@@ -34,7 +34,7 @@
         <td><span style="color:#FFFF00;">${pgstat.score}</span></td>
         <td>
         % if pgstat.player_id > 1:
-          <a href="${request.route_url("player_weapon_stats", game_id=pgstat.game_id, pgstat_id=pgstat.player_game_stat_id)}"
+          <a href="${request.route_url("game_info", id=pgstat.game_id)}#accuracy-${pgstat.player_game_stat_id}"
            title="View weapon accuracy details for this player in this game">
           View
           </a>
@@ -46,7 +46,7 @@
 
 ##### DM #####
 % if game_type_cd == 'dm':
-    <tr class="scoreboard-header" style="background-color:lightgray; color:black;}">
+    <tr class="table-header" style="color:black;}">
         <td>Nick</td>
         <td>Kills</td>
         <td>Deaths</td>