-<h2>Advanced Search</h2>
-<form action="${request.route_url("search")}" method="get">
- <input type="hidden" name="fs" />
- <table style="border: none;" id="search_form" border="0">
- <tr>
- <td style="text-align:right; border: none;">Nick:</td>
- <td style="border: none;"><input type="text" name="nick" /></td>
- </tr>
- <tr style="border: none;">
- <td style="text-align:right; border: none;">Server:</td>
- <td style="border: none;"><input type="text" name="server_name" /></td>
- </tr>
- <tr style="border: none;">
- <td style="text-align:right; border: none;">Map:</td>
- <td style="border: none;"><input type="text" name="map_name" /></td>
- </tr>
- <tr style="border: none;">
- <td style="text-align:right; border: none;">Game Type:</td>
- <td style="border: none;">
- <input type="checkbox" name="dm" />Deathmatch<br/>
- <input type="checkbox" name="duel" />Duel<br/>
- <input type="checkbox" name="ctf" />Capture The Flag<br/>
- <input type="checkbox" name="tdm" />Team Deathmatch<br/>
- </td>
- </tr>
- <tr style="border: none;">
- <td style="text-align:right; border: none;"></td>
- <td style="border: none;"><input type="submit" value="search" /></td>
- </tr>
- </table>
+
+<%block name="title">
+Advanced Search
+</%block>
+
+<div class="row">
+ <div class="span6 offset3">
+
+
+ <form style="margin-top: 20px;" class="form-horizontal">
+ <fieldset>
+
+ <!-- Form submitted? -->
+ <input type="hidden" name="fs" />
+
+ <!-- Text input-->
+ <div class="control-group">
+ <label class="control-label">Nick</label>
+ <div class="controls">
+ <input id="nick" name="nick" type="text" placeholder="player nick" class="input-xlarge">
+ <p class="help-block"></p>
+ </div>
+ </div>
+
+ <!-- Text input-->
+ <div class="control-group">
+ <label class="control-label">Server</label>
+ <div class="controls">
+ <input id="server_name" name="server_name" type="text" placeholder="server name" class="input-xlarge">
+ <p class="help-block"></p>
+ </div>
+ </div>
+
+ <!-- Text input-->
+ <div class="control-group">
+ <label class="control-label">Map</label>
+ <div class="controls">
+ <input id="map_name" name="map_name" type="text" placeholder="map name" class="input-xlarge">
+ <p class="help-block"></p>
+ </div>
+ </div>
+
+ <!-- Multiple Checkboxes -->
+ <div class="control-group">
+ <label class="control-label">Game Types</label>
+ <div class="controls">
+ <label class="checkbox">
+ <input type="checkbox" name="dm" value="Deathmatch">
+ Deathmatch
+ </label>
+ <label class="checkbox">
+ <input type="checkbox" name="duel" value="Duel">
+ Duel
+ </label>
+ <label class="checkbox">
+ <input type="checkbox" name="ctf" value="Capture The Flag">
+ Capture The Flag
+ </label>
+ <label class="checkbox">
+ <input type="checkbox" name="tdm" value="Team Deathmatch">
+ Team Deathmatch
+ </label>
+ </div>
+ </div>
+
+ <!-- Button -->
+ <div class="control-group">
+ <label class="control-label"></label>
+ <div class="controls">
+ <button id="submit" name="submit" type="submit" class="btn btn-primary">Submit</button>
+ </div>
+ </div>
+
+ </fieldset>