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">
12 <h3>{{ _('Quick search') }}</h3>
13 <form class="search" action="{{ pathto('search') }}" method="get">
14 <input type="text" name="q" />
15 <input type="submit" value="{{ _('Go') }}" />
16 <input type="hidden" name="check_keywords" value="yes" />
17 <input type="hidden" name="area" value="default" />
19 <p class="searchtip" style="font-size: 90%">
20 {{ _('Enter search terms or a module, class or function name.') }}
23 <script type="text/javascript">$('#searchbox').show(0);</script>