]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/map_info.mako
Make the table headers match.
[xonotic/xonstat.git] / xonstat / templates / map_info.mako
index 166cb86cfcb18f804872ff8e55fd879f35a473f4..339525cde4a8c1405e76b2ca67380560313faac0 100644 (file)
   ${parent.title()}
 </%block>
 
-<%block name="css">
-  ${parent.css()}
-  <link href="/static/css/sprites.css" rel="stylesheet">
-</%block>
-
 % if gmap is None:
   <h2>Sorry, that map wasn't found!</h2>
 
@@ -34,7 +29,7 @@
       <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>
@@ -62,7 +57,7 @@
       <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>
@@ -90,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>
           <tr>
             <td class="text-center"><a class="tiny button" href="${request.route_url('game_info', id=rg.game_id)}" title="View detailed information about this game">View</a></td>
             <td class="text-center"><span class="sprite sprite-${rg.game_type_cd}" alt="${rg.game_type_cd}" title="${rg.game_type_descr}"></span></td>
-            <td><a href="${request.route_url('server_info', id=rg.server_id)}" title="Go to the detail page for this server">${rg.server_name}</a></td>
-            <td><span class="abstime" data-epoch="${rg.epoch}" title="${rg.start_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${rg.fuzzy_date}</span></td>
+            <td class="show-for-medium-up"><a href="${request.route_url('server_info', id=rg.server_id)}" title="Go to the detail page for this server">${rg.server_name}</a></td>
+            <td class="show-for-large-up"><span class="abstime" data-epoch="${rg.epoch}" title="${rg.start_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${rg.fuzzy_date}</span></td>
             <td class="no-stretch">
               % if rg.player_id > 2:
               <a href="${request.route_url('player_info', id=rg.player_id)}" title="Go to the player info page for this player">${rg.nick_html_colors|n}</a>