Mercurial > trustbridge
comparison manuals/admin-manual/_templates/searchbox.html @ 903:b5a49960d5cb
Added first draft of manuals for TrustBridge and TrustBridge Admin (using Sphinx).
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Wed, 13 Aug 2014 14:49:25 +0200 |
parents | |
children | e83ce2c757f3 |
comparison
equal
deleted
inserted
replaced
902:f5a48c228e9b | 903:b5a49960d5cb |
---|---|
1 {# | |
2 basic/searchbox.html | |
3 ~~~~~~~~~~~~~~~~~~~~ | |
4 | |
5 Sphinx sidebar template: quick search box. | |
6 | |
7 :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. | |
8 :license: BSD, see LICENSE for details. | |
9 #} | |
10 {%- if pagename != "search" and builder != "singlehtml" %} | |
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" /> | |
18 </form> | |
19 </div> | |
20 <p></p> | |
21 <script type="text/javascript">$('#searchbox').show(0);</script> | |
22 {%- endif %} |