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 maps 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="map_name" />
26 <div class="small-5 columns">
27 <input type="submit" value="search" />
32 <table class="table-hover table-condensed">
35 <th class="small-3">ID</th>
36 <th class="small-5">Name</th>
37 <th class="small-3">Added</th>
38 <th class="small-1"></th>
43 <td>${map.map_id}</td>
44 <td class="no-stretch"><a href="${request.route_url("map_info", id=map.map_id)}" title="Go to this map's info page">${map.name}</a></th>
45 <td><span class="abstime" data-epoch="${map.epoch()}" title="${map.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${map.fuzzy_date()}</span></td>
46 <td class="text-center">
47 <a href="${request.route_url("game_index", _query={'map_id':map.map_id})}" title="View recent games on this map">
48 <i class="fa fa-list"></i>
56 <!-- navigation links -->
57 ${navlinks("map_index", maps.page, maps.last_page)}
58 </div> <!-- /span4 -->