1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
4 <%block name="navigation">
12 % if not maps and last is not None:
13 <h2 class="text-center">Sorry, no more maps!</h2>
16 <h2 class="text-center">Sorry, no maps yet. Get playing!</h2>
20 <div class="small-12 large-6 large-offset-3 columns">
22 <form method="get" action="${request.route_url('search')}">
24 <div class="small-7 columns">
25 <input type="hidden" name="fs" />
26 <input type="text" name="map_name" />
28 <div class="small-5 columns">
29 <input type="submit" value="search" />
34 <table class="table-hover table-condensed">
37 <th class="small-3">ID</th>
38 <th class="small-5">Name</th>
39 <th class="small-3">Added</th>
40 <th class="small-1"></th>
45 <td>${map.map_id}</td>
46 <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>
47 <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>
48 <td class="text-center">
49 <a href="${request.route_url("game_index", _query={'map_id':map.map_id})}" title="View recent games on this map">
50 <i class="fa fa-list"></i>
60 <div class="small-12 columns">
61 <ul class="pagination">
63 <a href="${request.route_url('map_index', _query=query)}" name="Next Page">Next <i class="fa fa-arrow-right"></i></a>
70 </div> <!-- /span4 -->