1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
4 <%block name="navigation">
12 % if not top_players and start is not None:
13 <h2 class="text-center">Sorry, no more players!</h2>
15 % elif not top_players and start is None:
16 <h2 class="text-center">No active players found. Yikes, get playing!</h2>
19 ##### ACTIVE PLAYERS #####
21 <div class="small-12 large-6 large-offset-3 columns">
22 <table class="table-hover table-condensed">
25 <th class="small-2">#</th>
26 <th class="small-7">Nick</th>
27 <th class="small-3">Play Time</th>
32 % for tp in top_players:
34 <td>${tp.sort_order}</td>
35 <td class="no-stretch"><a href="${request.route_url('player_info', id=tp.player_id)}" title="Go to the player info page for this player">${tp.nick_html_colors()|n}</a></td>
36 <td>${tp.alivetime}</td>
41 <p class="text-center"><small>Note: these figures are from the past 7 days</small>
45 % if len(top_players) == 20:
47 <div class="small-12 large-6 large-offset-3 columns">
48 <ul class="pagination">
50 <a href="${request.route_url('top_players_index', _query=query)}" name="Next Page">Next <i class="fa fa-arrow-right"></i></a>