]> 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 20dcc4ce48bd6eae6d30ea6e28f03a02b28a8f00..24be3d3a35b52049e91750ad2d092ac89515825e 100644 (file)
@@ -194,6 +194,7 @@ Player Information
 <div class="row">
   <div class="span12">
     <h2>${player.nick_html_colors()|n}</h2>
+    <h4><i><span class="abstime" data-epoch="${player.epoch()}" title="${player.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">Joined ${player.joined_pretty_date()}</span> (player #${player.player_id})</i></h4>
   </div>
 </div>
 
@@ -279,9 +280,9 @@ Player Information
 
 % if 'nex' in recent_weapons or 'rifle' in recent_weapons or 'minstanex' in recent_weapons or 'uzi' in recent_weapons or 'shotgun' in recent_weapons:
 <div class="row">
-  <div class="span10">
+  <div class="span12">
     <h3>Accuracy</h3>
-    <div id="acc-graph" class="flot" style="width:900px; height:200px;">
+    <div id="acc-graph" class="flot" style="width:95%; height:200px;">
     </div>
 
     <div class="weapon-nav accuracy-nav">
@@ -345,9 +346,9 @@ Player Information
 
 % if 'rocketlauncher' in recent_weapons or 'grenadelauncher' in recent_weapons or 'electro' in recent_weapons or 'crylink' in recent_weapons or 'laser' in recent_weapons:
 <div class="row">
-  <div class="span10">
+  <div class="span12">
     <h3>Damage Efficiency</h3>
-    <div id="dmg-graph" class="flot" style="width:900px; height:200px;">
+    <div id="dmg-graph" class="flot" style="width:95%; height:200px;">
     </div>
 
     <div class="weapon-nav damage-nav">
@@ -442,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: