2012-04-10 19:54:18 +08:00
|
|
|
{#
|
|
|
|
basic/searchbox.html
|
|
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Sphinx sidebar template: quick search box.
|
|
|
|
|
|
|
|
:copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
|
|
|
|
:license: BSD, see LICENSE for details.
|
|
|
|
#}
|
|
|
|
{%- if pagename != "search" %}
|
|
|
|
<div id="searchbox" style="display: none">
|
2012-04-10 22:43:58 +08:00
|
|
|
<form class="search" action="{{ pathto('search') }}" method="get">
|
2012-04-10 19:54:18 +08:00
|
|
|
<input type="text" name="q" size="18" />
|
2012-04-10 22:43:58 +08:00
|
|
|
<input type="submit" value="{{ _('Search') }}" />
|
2012-04-10 19:54:18 +08:00
|
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
|
|
<input type="hidden" name="area" value="default" />
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
|
|
{%- endif %}
|