5
Sphinx sidebar template: quick search box.
7
:copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8
:license: BSD, see LICENSE for details.
10
{%- if pagename != "search" %}
11
<div id="searchbox" style="display: none; padding: 3px;">
12
<h3>{{ _('Quick search') }}</h3>
13
<form class="search" action="{{ pathto('search') }}" method="get">
14
<input type="text" name="q" size="18" />
15
<input type="submit" value="{{ _('Go') }}" />
16
<input type="hidden" name="check_keywords" value="yes" />
17
<input type="hidden" name="area" value="default" />
21
<script type="text/javascript">$('#searchbox').show(0);</script>