]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/map_info.mako
Return actual data in the /map/<map id> JSON views.
[xonotic/xonstat.git] / xonstat / templates / map_info.mako
index 2d2a14b1b3ede1e016bc35f9e96d93652b22531e..c58f74a642f8d5827eef9888a1df0573ef46b554 100644 (file)
       <table class="table-hover table-condensed">
         <thead>
           <tr>
-            <th class="small-2">#</th>
+            <th class="small-1">#</th>
             <th class="small-7">Nick</th>
             <th class="small-4">Score</th>
           </tr>
         </thead>
         <tbody>
           <% i = 1 %>
-          % for (score_player_id, score_nick, score_value) in top_scorers:
+          % for (score_player_id, score_nick, score_value, _) in top_scorers:
             <tr>
               <td>${i}</td>
               % if score_player_id != '-':
       <table class="table-hover table-condensed">
         <thead>
           <tr>
-            <th class="small-2">#</th>
+            <th class="small-1">#</th>
             <th class="small-7">Nick</th>
             <th class="small-4">Time</th>
           </tr>
         </thead>
         <tbody>
         <% i = 1 %>
-        % for (player_id, nick, alivetime) in top_players:
+        % for (player_id, nick, alivetime, _) in top_players:
           <tr>
             <td>${i}</td>
             % if player_id != '-':
@@ -85,7 +85,7 @@
       <table class="table-hover table-condensed">
         <thead>
           <tr>
-            <th class="small-2">#</th>
+            <th class="small-1">#</th>
             <th class="small-7">Name</th>
             <th class="small-4"># Games</th>
           </tr>