]> 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 6f295402f245203861007b73190b17b392674a61..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>
   % if len(captimes) > 0:
   <div class="row">
     <div class="small-12 large-6 columns">
-      <h5>Best Flag Capture Times</h5>
+      <h5>Best Flag Capture Times <a href="${request.route_url('map_captimes', id=gmap.map_id)}" title="See more flag capture times for ${gmap.name}"><i class="fa fa-plus-circle"></i></a></h5>
       <table class="table-hover table-condensed">
         <thead>
           <tr>