- <div class="span4">
- ##### DUEL RANKS #####
- <h3>Duel Ranks</h3>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>#</th>
- <th>Nick</th>
- <th>Elo</th>
- </tr>
- </thead>
- <tbody>
- <% i = 1 %>
- % for (player_id, nick, elo) in duel_ranks:
- <tr>
- <td>${i}</td>
- % if player_id != '-':
- <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick|n}</a></td>
- % else:
- <td>${nick|n}</td>
- % endif
- % if elo != '-':
- <td>${round(elo, 3)}</td>
- % else:
- <td>${elo}</td>
- % endif
- </tr>
- <% i = i+1 %>
- % endfor
- </tbody>
- </table>
- <p class="note"><a href="${request.route_url('rank_index', page=1, game_type_cd='duel')}" title="See more duel rankings">More...</a></p>
- </div> <!-- /span4 -->
+ <div class="small-12 large-4 columns">
+ <h5>Most Active Players <a href="${request.route_url('top_players_index')}" title="See more player activity"><i class="fa fa-plus-circle"></i></a></h5>
+ <table class="table table-hover table-condensed">
+ <thead>
+ <tr>
+ <th class="small-2">#</th>
+ <th class="small-7">Nick</th>
+ <th class="small-3">Time</th>
+ </tr>
+ </thead>
+ <tbody>
+ % for tp in top_players:
+ <tr>
+ <td>${tp.sort_order}</td>
+ <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>
+ <td>${tp.alivetime}</td>
+ </tr>
+ % endfor
+ </tbody>
+ </table>
+ </div>
+