|
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, config=config
|
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>
|
|
... |
|
... |
11 |
<a href="./csv?{{query_string}}">CSV</a>
|
11 |
<a href="./csv?{{query_string}}">CSV</a>
|
12 |
</div>
|
12 |
</div>
|
13 |
%end
|
13 |
%end
|
14 |
<br style="clear: both">
|
14 |
<br style="clear: both">
|
15 |
</div>
|
15 |
</div>
|
16 |
%include pages query=query, config=config, nres=nres
|
16 |
%include('pages', query=query, config=config, nres=nres)
|
17 |
<div id="results">
|
17 |
<div id="results">
|
18 |
%for i in range(0, len(res)):
|
18 |
%for i in range(0, len(res)):
|
19 |
%include result d=res[i], i=i, query=query, config=config, query_string=query_string, hasrclextract=hasrclextract
|
19 |
%include('result', d=res[i], i=i, query=query, config=config, query_string=query_string, hasrclextract=hasrclextract)
|
20 |
%end
|
20 |
%end
|
21 |
</div>
|
21 |
</div>
|
22 |
%include pages query=query, config=config, nres=nres
|
22 |
%include('pages', query=query, config=config, nres=nres)
|
23 |
%include footer
|
23 |
%include('footer')
|
24 |
<!-- vim: fdm=marker:tw=80:ts=4:sw=4:sts=4:et:ai
|
24 |
<!-- vim: fdm=marker:tw=80:ts=4:sw=4:sts=4:et:ai
|
25 |
-->
|
25 |
-->
|