]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/map_info.mako
Added link to player captimes; fixed issue with ctf gametype on player_info page
[xonotic/xonstat.git] / xonstat / templates / map_info.mako
index 4394721f3dfd171265c7d1837cf2b59c2e3ec455..9e872b5a3776898589c1cef5080b36429e85b0a9 100644 (file)
@@ -30,7 +30,7 @@ ${parent.title()}
 <div class="row">
   <div class="span4">
     <h3>Top Scoring Players</h3>
-    <table class="table table-bordered table-condensed">
+    <table class="table table-hover table-condensed">
       <thead>
         <tr>
           <th>#</th>
@@ -54,12 +54,13 @@ ${parent.title()}
         % endfor
         </tbody>
     </table>
+    <p class="note">*Most active stats are from the past 7 days</p>
   </div>
 
 
 <div class="span4">
   <h3>Most Active Players</h3>
-  <table class="table table-bordered table-condensed">
+  <table class="table table-hover table-condensed">
     <thead>
       <tr>
         <th>#</th>
@@ -88,7 +89,7 @@ ${parent.title()}
 
 <div class="span4">
   <h3>Most Active Servers</h3>
-  <table class="table table-bordered table-condensed">
+  <table class="table table-hover table-condensed">
     <thead>
       <tr>
         <th>#</th>
@@ -115,7 +116,7 @@ ${parent.title()}
 <div class="row">
   <div class="span6">
     <h3>Best Flag Capture Times</h3>
-    <table class="table table-bordered table-condensed">
+    <table class="table table-hover table-condensed">
       <thead>
         <tr>
            <th>Nick</th>
@@ -154,7 +155,7 @@ ${parent.title()}
 <div class="row">
   <div class="span12">
     <h3>Most Recent Games</h3>
-    <table class="table table-bordered table-condensed">
+    <table class="table table-hover table-condensed">
       <thead>
         <tr>
           <th></th>
@@ -167,8 +168,8 @@ ${parent.title()}
       <tbody>
         % for rg in recent_games:
         <tr>
-          <td><a class="btn btn-primary btn-small" href="${request.route_url('game_info', id=rg.game_id)}" title="View detailed information about this game">View</a></td>
-          <td><span class="sprite sprite-${rg.game_type_cd}" alt="${rg.game_type_cd}"></span></td>
+          <td class="tdcenter"><a class="btn btn-primary btn-small" href="${request.route_url('game_info', id=rg.game_id)}" title="View detailed information about this game">View</a></td>
+          <td class="tdcenter"><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>
@@ -182,6 +183,7 @@ ${parent.title()}
         % endfor
       </tbody>
     </table>
+    <p><a href="${request.route_url('game_finder', _query={'map_id':gmap.map_id})}">More...</a></p>
   </div>
 </div>
 % endif