Debian Codegraph @

doc/source/_templates/searchbox.html

raw
1 {#
2 basic/searchbox.html
3 ~~~~~~~~~~~~~~~~~~~~
4
5 Sphinx sidebar template: quick search box.
6
7 :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
8 :license: BSD, see LICENSE for details.
9 #}
10 {%- if pagename != "search" and builder != "singlehtml" %}
11 <div id="searchbox" style="display: none" role="search">
12 <h4>{{ _('Quick search') }}</h4>
13 <div>
14 <form class="search" action="{{ pathto('search') }}" method="get">
15 <input type="text" style="width: inherit;" name="q" />
16 <input type="submit" value="{{ _('search') }}" />
17 <input type="hidden" name="check_keywords" value="yes" />
18 <input type="hidden" name="area" value="default" />
19 </form>
20 </div>
21 </div>
22 <script type="text/javascript">$('#searchbox').show(0);</script>
23 {%- endif %}