Debian Codegraph @

docs/_templates/search.html

raw
1 {% extends "!search.html" %}
2
3 {% block body %}
4 <div id="fallback" class="admonition warning">
5 <script type="text/javascript">$('#fallback').hide();</script>
6 <p>
7 {% trans %}Please activate JavaScript to enable the search
8 functionality.{% endtrans %}
9 </p>
10 </div>
11 {% if search_performed %}
12 <h1>{{ _('Search Results') }}</h1>
13 {% if not search_results %}
14 <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>
15 {% endif %}
16 {% endif %}
17 <div id="search-results">
18 {% if search_results %}
19 <ul>
20 {% for href, caption, context in search_results %}
21 <li><a href="{{ pathto(item.href) }}">{{ caption }}</a>
22 <div class="context">{{ context|e }}</div>
23 </li>
24 {% endfor %}
25 </ul>
26 {% endif %}
27 </div>
28 {% endblock %}