parent
39c23ea0bd
commit
1b495973b2
1 changed files with 22 additions and 0 deletions
@ -0,0 +1,22 @@ |
||||
{# |
||||
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"> |
||||
<h3>{{ _('Quick search') }}</h3> |
||||
<form class="search" action="{{ pathto('search') }}" method="get"> |
||||
<input type="text" name="q" size="18" /> |
||||
<input type="submit" value="{{ _('Go') }}" /> |
||||
<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 %} |
Loading…
Reference in new issue