]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/map_index.mako
Merge branch 'master' into zykure/approved
[xonotic/xonstat.git] / xonstat / templates / map_index.mako
index ba5f5945cf393e1d0d333c7a031b0349a7977c52..7c75016cdfabfa2c110719e267f23026616550a9 100644 (file)
@@ -15,21 +15,29 @@ Map Index
 
 % else:
 <div class="row">
-  <div class="span6">
-    <form method="get" action="${request.route_url('search')}">
+  <div class="span6 offset3">
+    <form class="indexform" method="get" action="${request.route_url('search')}">
       <input type="hidden" name="fs" />
-      <input type="text" name="map_name" />
+      <input class="indexbox" type="text" name="map_name" />
       <input type="submit" value="search" />
     </form>
-    <table class="table table-bordered table-condensed">
+    <table class="table table-hover table-condensed">
       <tr>
+        <th style="width:70px;">ID</th>
         <th>Name</th>
         <th>Added</th>
+        <th></th>
       </tr>
     % for map in maps:
       <tr>
+        <td>${map.map_id}</td>
         <td><a href="${request.route_url("map_info", id=map.map_id)}" title="Go to this map's info page">${map.name}</a></th>
         <td><span class="abstime" data-epoch="${map.epoch()}" title="${map.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${map.fuzzy_date()}</span></td>
+         <td class="tdcenter">
+          <a href="${request.route_url("game_index", _query={'map_id':map.map_id})}" title="View recent games on this map">
+            <i class="glyphicon glyphicon-list"></i>
+          </a>
+        </td>
     </td>
       </tr>
     % endfor