-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsearchbox.html
More file actions
24 lines (22 loc) · 973 Bytes
/
searchbox.html
File metadata and controls
24 lines (22 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{#
deis/searchbox.html
~~~~~~~~~~~~~~~~~~~
Sphinx sidebar template: quick search box.
:copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
{%- if pagename != "search" %}
<div id="searchbox" style="display: none">
<!-- <h3>{{ _('Search') }}</h3> -->
<form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" class="searchbox" name="q" value="Search" onfocus="if(this.value == 'Search') { this.value = ''; }" value="value" />
<input type="submit" value="{{ _('Go') }}" style="display:none;" />
<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 %}