1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3 <%namespace file="navlinks.mako" import="navlinks" />
5 <%block name="navigation">
14 <h2>Sorry, no players yet. Get playing!</h2>
18 <div class="span6 offset3">
19 <form class="indexform" method="get" action="${request.route_url('search')}">
20 <input type="hidden" name="fs" />
21 <input class="indexbox" type="text" name="nick" />
22 <input type="submit" value="search" />
24 <table class="table table-hover table-condensed">
26 <th style="width:100px;">Player ID</th>
28 <th class="create-dt">Joined</th>
31 % for player in players:
33 <td>${player.player_id}</th>
34 <td class="player-nick"><a href="${request.route_url("player_info", id=player.player_id)}" title="Go to this player's info page">${player.nick_html_colors()|n}</a></th>
35 <td><span class="abstime" data-epoch="${player.epoch()}" title="${player.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${player.joined_pretty_date()}</span></th>
37 <a href="${request.route_url("player_game_index", player_id=player.player_id, page=1)}" title="View recent games by this player">
38 <i class="glyphicon glyphicon-list"></i>
46 ${navlinks("player_index", players.page, players.last_page)}
47 </div> <!-- /span4 -->