]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/player_info.mako
Adding "back" links to some player-info pages
[xonotic/xonstat.git] / xonstat / templates / player_info.mako
index 31d0fcc4915f839210352457ee30c89e2e5de3bc..24be3d3a35b52049e91750ad2d092ac89515825e 100644 (file)
@@ -200,7 +200,7 @@ Player Information
 
 <div class="row">
   <div id="gbtabcontainer" class="tabbable tabs-below">
-    <div class="tab-content game-stats">
+    <div class="tab-content">
       % for g in games_played:
       <div class="tab-pane fade in 
         % if g.game_type_cd == 'overall':
@@ -282,7 +282,7 @@ Player Information
 <div class="row">
   <div class="span12">
     <h3>Accuracy</h3>
-    <div id="acc-graph" class="flot" style="width:100%; height:200px;">
+    <div id="acc-graph" class="flot" style="width:95%; height:200px;">
     </div>
 
     <div class="weapon-nav accuracy-nav">
@@ -348,7 +348,7 @@ Player Information
 <div class="row">
   <div class="span12">
     <h3>Damage Efficiency</h3>
-    <div id="dmg-graph" class="flot" style="width:100%; height:200px;">
+    <div id="dmg-graph" class="flot" style="width:95%; height:200px;">
     </div>
 
     <div class="weapon-nav damage-nav">
@@ -443,8 +443,8 @@ Player Information
       <tr>
         <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>${rg.server_name}</td>
-        <td>${rg.map_name}</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><a href="${request.route_url('map_info', id=rg.map_id)}" title="Go to the detail page for this map">${rg.map_name}</a></td>
         <td>
           % if rg.team != None:
           % if rg.team == rg.winner: