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="small-12 large-6 large-offset-3 columns">
20 <form method="get" action="${request.route_url('search')}">
22 <div class="small-7 columns">
23 <input type="hidden" name="fs" />
24 <input type="text" name="nick" />
26 <div class="small-5 columns">
27 <input type="submit" value="search" />
32 <table class="table-hover table-condensed">
35 <th class="small-3">Player ID</th>
36 <th class="small-5">Nick</th>
37 <th class="small-3">Joined</th>
38 <th class="small-1"></th>
41 % for player in players:
43 <td>${player.player_id}</th>
44 <td class="no-stretch"><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>
45 <td><span class="abstime" data-epoch="${player.epoch()}" title="${player.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${player.fuzzy_date()}</span></th>
46 <td class="text-center">
47 <a href="${request.route_url("player_game_index", player_id=player.player_id, page=1)}" title="View recent games by this player">
48 <i class="fa fa-list"></i>
55 ${navlinks("player_index", players.page, players.last_page)}