Switch to unified view

a/views/results.tpl b/views/results.tpl
...
...
15
    %end
15
    %end
16
</div>
16
</div>
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
%d = res[i]
19
%d = res[i]
20
<div class="search-result"> 
20
<div class="search-result">
21
    <div class="search-result-number"><a href="#r{{d['sha']}}">#{{i+1}}</a>
21
    <div class="search-result-number"><a href="#r{{d['sha']}}">#{{i+1}}</a></div>
22
    
23
    </div>
24
    <div class="search-result-title" id="r{{d['sha']}}" title="{{d['abstract']}}"><a href="{{d['url']}}">{{d['label']}}</a></div>
22
    <div class="search-result-title" id="r{{d['sha']}}" title="{{d['abstract']}}"><a href="{{d['url']}}">{{d['label']}}</a></div>
25
    %if len(d['ipath']) > 0:
23
    %if len(d['ipath']) > 0:
26
        <div class="search-result-ipath">[{{d['ipath']}}]</div>
24
        <div class="search-result-ipath">[{{d['ipath']}}]</div>
27
    %end
25
    %end
28
    %if  len(d['author']) > 0:
26
    %if  len(d['author']) > 0: