Switch to unified view

a/views/results.tpl b/views/results.tpl
1
%import shlex, unicodedata
1
%import shlex, unicodedata
2
%def strip_accents(s): return ''.join((c for c in unicodedata.normalize('NFD', s) if unicodedata.category(c) != 'Mn'))
2
%def strip_accents(s): return ''.join((c for c in unicodedata.normalize('NFD', s) if unicodedata.category(c) != 'Mn'))
3
%include header title=" - " + query['keywords']+" ("+str(len(res))+")"
3
%include header title=": " + query['keywords']+" ("+str(len(res))+")"
4
%include search query=query, dirs=dirs, sorts=sorts
4
%include search query=query, dirs=dirs, sorts=sorts
5
<div id="status">
5
<div id="status">
6
    <div id="found">
6
    <div id="found">
7
        Found <b>{{len(res)}}</b> matching: <b><i>{{qs}}</i></b>
7
        Found <b>{{len(res)}}</b> matching: <b><i>{{qs}}</i></b>
8
        <small class="gray">({{time.seconds}}.{{time.microseconds/10000}}s)</small>
8
        <small class="gray">({{time.seconds}}.{{time.microseconds/10000}}s)</small>