<h2>Sorry, no maps yet. Get playing!</h2>\r
\r
% else:\r
-<h2>Map Index</h2>\r
-<form method="get" action="${request.route_url('search')}">\r
- <input type="hidden" name="fs" />\r
- <input type="text" name="map_name" />\r
- <input type="submit" value="search" />\r
-</form>\r
-<table id="map-index-table" border="1">\r
- <tr>\r
- <th>Name</th>\r
- <th>Added</th>\r
- </tr>\r
-% for map in maps:\r
- <tr>\r
- <td><a href="${request.route_url("map_info", id=map.map_id)}" title="Go to this map's info page">${map.name}</a></th>\r
- <td>${map.create_dt.strftime('%m/%d/%Y at %H:%M')}</td>\r
-</td>\r
- </tr>\r
-% endfor\r
-</table>\r
-% endif\r
+<div class="row">\r
+ <div class="span6">\r
+ <form method="get" action="${request.route_url('search')}">\r
+ <input type="hidden" name="fs" />\r
+ <input type="text" name="map_name" />\r
+ <input type="submit" value="search" />\r
+ </form>\r
+ <table class="table table-bordered table-condensed">\r
+ <tr>\r
+ <th>Name</th>\r
+ <th>Added</th>\r
+ </tr>\r
+ % for map in maps:\r
+ <tr>\r
+ <td><a href="${request.route_url("map_info", id=map.map_id)}" title="Go to this map's info page">${map.name}</a></th>\r
+ <td>${map.create_dt.strftime('%m/%d/%Y at %H:%M')}</td>\r
+ </td>\r
+ </tr>\r
+ % endfor\r
+ </table>\r
+ % endif\r
\r
-<!-- navigation links -->\r
-${navlinks("map_index_paged", maps.page, maps.last_page)}\r
+ <!-- navigation links -->\r
+ ${navlinks("map_index_paged", maps.page, maps.last_page)}\r
+ </div> <!-- /span4 -->\r
+</div> <!-- /row -->\r
<h2>Sorry, no players yet. Get playing!</h2>\r
\r
% else:\r
-<h2>Player Index</h2>\r
-<form method="get" action="${request.route_url('search')}">\r
- <input type="hidden" name="fs" />\r
- <input type="text" name="nick" />\r
- <input type="submit" value="search" />\r
-</form>\r
-<table id="player-index-table" border="1">\r
- <tr>\r
- <th>Nick</th>\r
- <th class="create-dt">Joined</th>\r
- </tr>\r
-% for player in players:\r
- <tr>\r
- <td><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>\r
- <td>${player.joined_pretty_date()}</th>\r
- </tr>\r
-% endfor\r
-</table>\r
+<div class="row">\r
+ <div class="span6">\r
+ <form method="get" action="${request.route_url('search')}">\r
+ <input type="hidden" name="fs" />\r
+ <input type="text" name="nick" />\r
+ <input type="submit" value="search" />\r
+ </form>\r
+ <table class="table table-bordered table-condensed">\r
+ <tr>\r
+ <th>Nick</th>\r
+ <th class="create-dt">Joined</th>\r
+ </tr>\r
+ % for player in players:\r
+ <tr>\r
+ <td><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>\r
+ <td>${player.joined_pretty_date()}</th>\r
+ </tr>\r
+ % endfor\r
+ </table>\r
% endif\r
\r
-<!-- navigation links -->\r
-${navlinks("player_index_paged", players.page, players.last_page)}\r
+ ${navlinks("player_index_paged", players.page, players.last_page)}\r
+ </div> <!-- /span4 -->\r
+</div> <!-- /row -->\r
<h2>Sorry, no servers yet. Get playing!</h2>\r
\r
% else:\r
-<h2>Server Index</h2>\r
-<form method="get" action="${request.route_url('search')}">\r
- <input type="hidden" name="fs" />\r
- <input type="text" name="server_name" />\r
- <input type="submit" value="search" />\r
-</form>\r
-<table id="server-index-table" border="1">\r
- <tr>\r
- <th>Name</th>\r
- <th class="create-dt">Added</th>\r
- </tr>\r
-% for server in servers:\r
- <tr>\r
- <td><a href="${request.route_url("server_info", id=server.server_id)}" title="Go to this server's info page">${server.name}</a></th>\r
- <td>${server.create_dt.strftime('%m/%d/%Y at %H:%M')}</td>\r
- </tr>\r
-% endfor\r
-</table>\r
-% endif\r
+<div class="row">\r
+ <div class="span6">\r
+ <form method="get" action="${request.route_url('search')}">\r
+ <input type="hidden" name="fs" />\r
+ <input type="text" name="server_name" />\r
+ <input type="submit" value="search" />\r
+ </form>\r
+ <table class="table table-bordered table-condensed">\r
+ <tr>\r
+ <th>Name</th>\r
+ <th class="create-dt">Added</th>\r
+ </tr>\r
+ % for server in servers:\r
+ <tr>\r
+ <td><a href="${request.route_url("server_info", id=server.server_id)}" title="Go to this server's info page">${server.name}</a></th>\r
+ <td>${server.create_dt.strftime('%m/%d/%Y at %H:%M')}</td>\r
+ </tr>\r
+ % endfor\r
+ </table>\r
+ % endif\r
\r
-<!-- navigation links -->\r
-${navlinks("server_index_paged", servers.page, servers.last_page)}\r
+ ${navlinks("server_index_paged", servers.page, servers.last_page)}\r
+ </div> <!-- /span4 -->\r
+</div> <!-- /row -->\r