implement request #13: simple remote forking works now
[phorkie.git] / data / templates / search.htm
1 {% extends "base.htm" %}
2 {% block title %}Search results{% endblock %}
3
4 {% block content %}
5 {% if sres.results == 0 %}
6  <p>
7   Sorry, no results for "<tt>{{query}}</tt>".
8  </p>
9 {% else %}
10  <p>
11   Found {{sres.results}} search results for "<tt>{{query}}</tt>":
12  </p>
13  <ul class="nav nav-pills nav-stacked">
14  {% for repo in sres.repos %}
15    {% include 'repo-list.htm' %}
16  {% endfor %}
17  </ul>
18  {% include 'pager.htm' %}
19 {% endif %}
20
21 {% endblock %}
22
23 {% block sidebar %}
24  <h3>Search tips</h3>
25  <dl>
26   <dt>Exclusion</dt>
27    <dd><tt>+foo -bar</tt></dd>
28   <dt>Logical OR</dt>
29    <dd><tt>foo OR bar</tt></dd>
30   <dt>Quoting</dt>
31    <dd><tt>"foo bar"</tt></dd>
32   <dt>Partial words</dt>
33    <dd><tt>foo*</tt></dd>
34   <dt>Particular fields only</dt>
35    <dd><tt>description:foo</tt></dd>
36    <dd><tt>name:foo.txt</tt></dd>
37    <dd><tt>extension:rst</tt></dd>
38    <dd><tt>content:Hello</tt></dd>
39  </dl>
40 {% endblock %}