doc: Moved searchbox into searchbox.html file
This commit is contained in:
parent
25a45f6bf7
commit
555999397b
|
@ -1,16 +1,3 @@
|
||||||
|
|
||||||
{%- if pagename != "search" %}
|
|
||||||
<div id="searchbox" style="display: none">
|
|
||||||
<form class="search" action="{{ pathto('search') }}" method="get">
|
|
||||||
<input type="text" name="q" size="18" />
|
|
||||||
<input type="submit" value="{{ _('Search') }}" />
|
|
||||||
<input type="hidden" name="check_keywords" value="yes" />
|
|
||||||
<input type="hidden" name="area" value="default" />
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
<h3>quicklinks</h3>
|
<h3>quicklinks</h3>
|
||||||
<div style="text-align: left; font-size: 100%; vertical-align: middle;">
|
<div style="text-align: left; font-size: 100%; vertical-align: middle;">
|
||||||
<table>
|
<table>
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{%- if pagename != "search" %}
|
||||||
|
<div id="searchbox" style="display: none">
|
||||||
|
<form class="search" action="{{ pathto('search') }}" method="get">
|
||||||
|
<input type="text" name="q" size="18" />
|
||||||
|
<input type="submit" value="{{ _('Search') }}" />
|
||||||
|
<input type="hidden" name="check_keywords" value="yes" />
|
||||||
|
<input type="hidden" name="area" value="default" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
||||||
|
{%- endif %}
|
Loading…
Reference in New Issue