2015-05-21 21:23:27 -04:00
|
|
|
<div id="query-box">
|
|
|
|
<form id="query-form" action="#{url_for_home}" method="GET">
|
|
|
|
$resource.find:
|
|
|
|
<input type="text" id="q" name="q" style="width: 50%" value="$!esc.html($request.params.get('q'))"/>
|
2015-06-02 16:56:04 -04:00
|
|
|
<input type="submit" value="$resource.submit"/>
|
2015-05-21 21:23:27 -04:00
|
|
|
<div id="debug_query" class="debug">
|
|
|
|
<span id="parsed_query">$esc.html($response.response.debug.parsedquery)</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<input type="hidden" name="type" value="#current_type"/>
|
2015-06-02 16:56:04 -04:00
|
|
|
#if("#current_locale"!="")<input type="hidden" value="locale" value="#current_locale"/>#end
|
2015-05-21 21:23:27 -04:00
|
|
|
#foreach($fq in $response.responseHeader.params.getAll("fq"))
|
|
|
|
<input type="hidden" name="fq" id="allFQs" value="$esc.html($fq)"/>
|
|
|
|
#end
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<div id="constraints">
|
|
|
|
#foreach($fq in $response.responseHeader.params.getAll("fq"))
|
|
|
|
#set($previous_fq_count=$velocityCount - 1)
|
|
|
|
#if($fq != '')
|
|
|
|
> $fq<a href="#url_for_filters($response.responseHeader.params.fq.subList(0,$previous_fq_count))">x</a>
|
|
|
|
#end
|
|
|
|
#end
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="browse_results">
|
2015-06-05 11:05:20 -04:00
|
|
|
#parse("results.vm")
|
2015-05-21 21:23:27 -04:00
|
|
|
</div>
|
|
|
|
|