]> git.proxmox.com Git - ceph.git/blob - ceph/src/seastar/fmt/doc/_templates/search.html
update download target update for octopus release
[ceph.git] / ceph / src / seastar / fmt / doc / _templates / search.html
1 {#
2 basic/search.html
3 ~~~~~~~~~~~~~~~~~
4
5 Template for the search page.
6
7 :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
8 :license: BSD, see LICENSE for details.
9 #}
10 {%- extends "layout.html" %}
11 {% set title = _('Search') %}
12 {% set script_files = script_files + ['_static/searchtools.js'] %}
13 {% block extrahead %}
14 <script type="text/javascript">
15 jQuery(function() { Search.loadIndex("{{ pathto('searchindex.js', 1) }}"); });
16 </script>
17 {# this is used when loading the search index using $.ajax fails,
18 such as on Chrome for documents on localhost #}
19 <script type="text/javascript" id="searchindexloader"></script>
20 {{ super() }}
21 {% endblock %}
22 {% block body %}
23 <h1 id="search-documentation">{{ _('Search') }}</h1>
24 <div id="fallback" class="admonition warning">
25 <script type="text/javascript">$('#fallback').hide();</script>
26 <p>
27 {% trans %}Please activate JavaScript to enable the search
28 functionality.{% endtrans %}
29 </p>
30 </div>
31 <p>
32 {% trans %}From here you can search these documents. Enter your search
33 words into the box below and click "search". Note that the search
34 function will automatically search for all of the words. Pages
35 containing fewer words won't appear in the result list.{% endtrans %}
36 </p>
37 {{ searchform('form-inline', True) }}
38 {% if search_performed %}
39 <h2>{{ _('Search Results') }}</h2>
40 {% if not search_results %}
41 <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>
42 {% endif %}
43 {% endif %}
44 <div id="search-results">
45 {% if search_results %}
46 <ul>
47 {% for href, caption, context in search_results %}
48 <li><a href="{{ pathto(item.href) }}">{{ caption }}</a>
49 <div class="context">{{ context|e }}</div>
50 </li>
51 {% endfor %}
52 </ul>
53 {% endif %}
54 </div>
55 {% endblock %}