% if results == None:
<form action="${request.route_url("search")}" method="get">
<input type="hidden" name="fs" />
- <table id="search_form" border="0">
+ <table id="search_form" class="table table-bordered table-condensed" border="0">
<tr>
<td style="text-align:right;">Nick:</td>
<td><input type="text" name="nick" /></td>
if request.params.has_key('tdm'):
gametypes.append('tdm')
query['tdm'] = ''
+ if request.params.has_key('stype') and request.params.has_key('sval'):
+ stype = request.params['stype']
+ sval = request.params['sval']
+ if stype == "players":
+ nick = sval
+ if stype == "servers":
+ server_name = sval
+ if stype == "maps":
+ map_name = sval
(result_type, q) = search_q(nick=nick, server_name=server_name,
map_name=map_name, gametypes=gametypes)