|
a/views/results.tpl |
|
b/views/results.tpl |
1 |
%include header title=": " + query['query']+" ("+str(nres)+")"
|
1 |
%include header title=": " + query['query']+" ("+str(nres)+")"
|
2 |
%include search query=query, dirs=dirs, sorts=sorts
|
2 |
%include search query=query, dirs=dirs, sorts=sorts, config=config
|
3 |
<div id="status">
|
3 |
<div id="status">
|
4 |
<div id="found">
|
4 |
<div id="found">
|
5 |
Found <b>{{nres}}</b> matching: <b><i>{{qs}}</i></b>
|
5 |
Found <b>{{nres}}</b> matching: <b><i>{{qs}}</i></b>
|
6 |
<small class="gray">({{time.seconds}}.{{time.microseconds/10000}}s)</small>
|
6 |
<small class="gray">({{time.seconds}}.{{time.microseconds/10000}}s)</small>
|
7 |
</div>
|
7 |
</div>
|
8 |
%if len(res) > 0:
|
8 |
%if len(res) > 0 and not config['rclc_nojsoncsv']:
|
9 |
<div id="downloads">
|
9 |
<div id="downloads">
|
10 |
<a href="./json?{{query_string}}">JSON</a>
|
10 |
<a href="./json?{{query_string}}">JSON</a>
|
11 |
<a href="./csv?{{query_string}}">CSV</a>
|
11 |
<a href="./csv?{{query_string}}">CSV</a>
|
12 |
</div>
|
12 |
</div>
|
13 |
%end
|
13 |
%end
|