Child: [2bda14] (diff)

Download this file

search_results.html    30 lines (29 with data), 993 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<form method="GET" action=".">
<div class="grid-19">
<input type="text" name="q" value="{{q}}" class="defaultText" title="Search App"/>
</div>
<div class="grid-19">
<input type="submit" value="Search App">
<input type="submit" name="project" value="Search Entire Project">
</div>
<div class="grid-19">
Search history? <input type="checkbox" name="history"{% if history %} checked="checked"{% endif %}/>
</div>
</form>
<div style="clear:both">&nbsp;</div>
<div class="grid-19">
{{widget.fields['page_list'].display(limit=limit, page=page, count=count)}}
</div>
{% for doc in results %}
<div class="grid-19">
<a href="{{doc['url_s']}}">{{doc.title_s}}</a><br>
{% if doc.get('snippet') %}
<p>{{doc.snippet}}</p>
{% endif %}
</div>
<hr>
{% endfor %}
<div class="grid-19" style="clear:both">
{{widget.fields['page_list'].display(limit=limit, page=page, count=count)}}
{{widget.fields['page_size'].display(limit=limit, count=count)}}
</div>