mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
25 lines
877 B
HTML
25 lines
877 B
HTML
{#
|
|
basic/searchbox.html
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Sphinx sidebar template: quick search box.
|
|
|
|
:copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
|
|
:license: BSD, see LICENSE for details.
|
|
#}
|
|
{%- if pagename != "search" and builder != "singlehtml" %}
|
|
<div id="searchbox" style="display: none" role="search">
|
|
<h3>{{ _('Quick search') }}</h3>
|
|
<form class="search" action="{{ pathto('search') }}" method="get">
|
|
<input type="text" name="q" />
|
|
<input type="submit" value="{{ _('Go') }}" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
<p class="searchtip" style="font-size: 90%">
|
|
{{ _('Enter search terms or a module, class or function name.') }}
|
|
</p>
|
|
</div>
|
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
{%- endif %}
|