aboutsummaryrefslogtreecommitdiff
path: root/data/templates/search/sidebar.htm
blob: a48b6e805664d76d25da78a84428d3f85cd88a3a (plain)
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
{% if hitcount > 1 %}
 Sort by:
<div class="btn-group">
 <a class="btn{%if sort==""%} disabled btn-primary{%endif%}" href="{{urlSortRelevance}}">Relevance</a>
 <a class="btn{%if sort=="date"%} disabled btn-primary{%endif%}" href="{{urlSortDate}}">Date</a>
</div>
<br/>
<br/>
{% endif %}
{% set filters %}
 {% include 'search/sidebar-filter.htm' with {'type': 'tags', 'title': 'Tag'} %}
 {% include 'search/sidebar-filter.htm' with {'type': 'domain', 'title': 'Domain'} %}
 {% include 'search/sidebar-filter.htm' with {'type': 'language', 'title': 'Language'} %}
 {% include 'search/sidebar-filter.htm' with {'type': 'type', 'title': 'Type'} %}
{% endset %}
{% if filters|trim %}
 <p>
  Filter results by:
 </p>
 {{filters}}
{% endif %}

<p class="muted">
 Query took {{queryTime}}.
</p>