]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/main_index.mako
Add links to view more active stats.
[xonotic/xonstat.git] / xonstat / templates / main_index.mako
index 5254dccde1ed424fc7dc8af10662cbf317e50dcc..8e14481f3dec5b9d469cfaaf48c0c114f45ef6ae 100644 (file)
@@ -47,7 +47,7 @@ Leaderboard
         <thead>
           <tr>
             <th style="width:40px;">#</th>
-            <th style="width:120px;">Nick</th>
+            <th style="width:150px;">Nick</th>
             <th style="width:60px;">Elo</th>
           </tr>
         </thead>
@@ -56,7 +56,7 @@ Leaderboard
         % for r in rs:
         <tr>
           <td>${i}</td>
-          <td class="nostretch" style="max-width:120px;"><a href="${request.route_url('player_info', id=r.player_id)}" title="Go to the player info page for this player">${r.nick_html_colors()|n}</a></td>
+          <td class="nostretch" style="max-width:150px;"><a href="${request.route_url('player_info', id=r.player_id)}" title="Go to the player info page for this player">${r.nick_html_colors()|n}</a></td>
           <td>${int(round(r.elo))}</td>
         </tr>
         <% i = i+1 %>
@@ -100,6 +100,7 @@ Leaderboard
       % endfor
       </tbody>
     </table>
+    <p class="note"><a href="${request.route_url('top_players_by_time', page=1)}" title="See more player activity">More...</a></p>
   </div> <!-- /span4 -->
 
 
@@ -130,6 +131,7 @@ Leaderboard
       % endfor
       </tbody>
     </table>
+    <p class="note"><a href="${request.route_url('top_servers_by_players', page=1)}" title="See more server activity">More...</a></p>
   </div> <!-- /span4 -->
 
 
@@ -160,6 +162,7 @@ Leaderboard
       % endfor
       </tbody>
     </table>
+    <p class="note"><a href="${request.route_url('top_maps_by_times_played', page=1)}" title="See more map activity">More...</a></p>
   </div> <!-- /span4 -->
 </div> <!-- /row -->
 <row class="span12">
@@ -191,7 +194,7 @@ Leaderboard
           <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 map detail page for this map">${rg.map_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="player-nick">
+          <td class="nostretch">
             % 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></td>
             % else:
@@ -201,7 +204,7 @@ Leaderboard
         % endfor
         </tbody>
     </table>
-    <p><a href="${request.route_url('game_finder')}">More...</a></p>
+    <p><a href="${request.route_url('game_index')}">More...</a></p>
   </div> <!-- /span12 -->
 </div> <!-- /row -->
 % endif