Debian Codegraph @

doc/_templates/search.html

raw symbols SCIP
1 {% extends "layout.html" %}
2 {% set title = _('Search') %}
3 {%- block scripts %}
4 {{ super() }}
5 <script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script>
6 <script type="text/javascript" src="{{ pathto('_static/language_data.js', 1) }}"></script>
7 {%- endblock %}
8 {% block body %}
9 <h1 id="search-documentation">{{ _('Search') }}</h1>
10 <p>
11 {% trans %}Searching for multiple words only shows matches that contain
12 all words.{% endtrans %}
13 </p>
14 <p>
15 If you want to limit your search to working code examples, include the
16 keyword "codex" (mnemonic for <i>code example</i>) in your search, e.g.,
17 "codex ellipse".
18 </p>
19 <form action="" method="get">
20 <input type="text" name="q" value="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
21 <input type="submit" value="{{ _('search') }}" />
22 <span id="search-progress" style="padding-left: 10px"></span>
23 </form>
24 {% if search_performed %}
25 <h2>{{ _('Search Results') }}</h2>
26 {% if not search_results %}
27 <p>{{ _('Your search did not match any results.') }}</p>
28 {% endif %}
29 {% endif %}
30 <div id="search-results">
31 {% if search_results %}
32 <ul>
33 {% for href, caption, context in search_results %}
34 <li><a href="{{ pathto(item.href) }}">{{ caption }}</a>
35 <div class="context">{{ context|e }}</div>
36 </li>
37 {% endfor %}
38 </ul>
39 {% endif %}
40 </div>
41 {% endblock %}
42 {% block footer %}
43 {{ super() }}
44 <script type="text/javascript" src="{{ pathto('searchindex.js', 1) }}" defer></script>
45 {% endblock %}