aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/_exts/taler_sphinx_theme/guzzle_sphinx_theme/search.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sphinx/_exts/taler_sphinx_theme/guzzle_sphinx_theme/search.html')
-rw-r--r--doc/sphinx/_exts/taler_sphinx_theme/guzzle_sphinx_theme/search.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/sphinx/_exts/taler_sphinx_theme/guzzle_sphinx_theme/search.html b/doc/sphinx/_exts/taler_sphinx_theme/guzzle_sphinx_theme/search.html
new file mode 100644
index 0000000..5d194d8
--- /dev/null
+++ b/doc/sphinx/_exts/taler_sphinx_theme/guzzle_sphinx_theme/search.html
@@ -0,0 +1,48 @@
1{%- extends "basic/search.html" %}
2
3{% block body %}
4 <h1 id="search-documentation">{{ _('Search') }}</h1>
5 <div id="fallback" class="admonition warning">
6 <script type="text/javascript">$('#fallback').hide();</script>
7 <p>
8 {% trans %}Please activate JavaScript to enable the search
9 functionality.{% endtrans %}
10 </p>
11 </div>
12 <p>
13 {% trans %}From here you can search these documents. Enter your search
14 words into the box below and click "search". Note that the search
15 function will automatically search for all of the words. Pages
16 containing fewer words won't appear in the result list.{% endtrans %}
17 </p>
18
19 <div class="search-page-form">
20 <form class="form-inline" action="{{ pathto('search') }}" method="GET" role="form">
21 <div class="input-group">
22 <input name="q" type="text" class="form-control" />
23 <span class="input-group-btn">
24 <button class="btn btn-default" type="button">{{ _('search') }}</button>
25 </span>
26 </div>
27 <span id="search-progress" style="padding-left: 10px"></span>
28 </form>
29 </div>
30
31 {% if search_performed %}
32 <h2>{{ _('Search Results') }}</h2>
33 {% if not search_results %}
34 <p>{{ _('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.') }}</p>
35 {% endif %}
36 {% endif %}
37 <div id="search-results">
38 {% if search_results %}
39 <ul>
40 {% for href, caption, context in search_results %}
41 <li><a href="{{ pathto(item.href) }}">{{ caption }}</a>
42 <div class="context">{{ context|e }}</div>
43 </li>
44 {% endfor %}
45 </ul>
46 {% endif %}
47 </div>
48{% endblock %}