comparison docs/_templates/searchbox.html @ 11:7571f5c89090

Simple error message now output to HTML. Detailed error goes to standard error. Other changes: * Remove information on time taken (riboplot). * Remove striped table styles (not used. unusable on sorting). * log before re-raising errors.
author Vimalkumar Velayudhan <vimal@biotechcoder.com>
date Wed, 19 Aug 2015 10:14:52 +0100
parents
children
comparison
equal deleted inserted replaced
10:8964641b04ef 11:7571f5c89090
1 {#
2 basic/searchbox.html
3 ~~~~~~~~~~~~~~~~~~~~
4
5 Sphinx sidebar template: quick search box.
6
7 :copyright: Copyright 2007-2015 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" role="search">
12 <!--<h3>{{ _('Search') }}</h3>-->
13 <form class="search" action="{{ pathto('search') }}" method="get">
14 <input type="text" name="q" placeholder="Search"/>
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 <script type="text/javascript">$('#searchbox').show(0);</script>
21 {%- endif %}