% else:
<div class="row">
- <div class="span6">
- <form method="get" action="${request.route_url('search')}">
+ <div class="span6 offset3">
+ <form class="indexform" method="get" action="${request.route_url('search')}">
<input type="hidden" name="fs" />
- <input type="text" name="map_name" />
+ <input class="indexbox" type="text" name="map_name" />
<input type="submit" value="search" />
</form>
- <table class="table table-bordered table-condensed">
+ <table class="table table-hover table-condensed">
<tr>
+ <th style="width:70px;">ID</th>
<th>Name</th>
<th>Added</th>
+ <th></th>
</tr>
% for map in maps:
<tr>
+ <td>${map.map_id}</td>
<td><a href="${request.route_url("map_info", id=map.map_id)}" title="Go to this map's info page">${map.name}</a></th>
- <td><span title="${map.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${map.fuzzy_date()}</span></td>
+ <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>
+ <td class="tdcenter">
+ <a href="${request.route_url("game_index", _query={'map_id':map.map_id})}" title="View recent games on this map">
+ <i class="glyphicon glyphicon-list"></i>
+ </a>
+ </td>
</td>
</tr>
% endfor