diff manuals/help-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 3e7ac50b04da
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/manuals/help-manual/_templates/searchbox.html	Wed Aug 13 14:49:25 2014 +0200
@@ -0,0 +1,22 @@
+{#
+    basic/searchbox.html
+    ~~~~~~~~~~~~~~~~~~~~
+
+    Sphinx sidebar template: quick search box.
+
+    :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+    :license: BSD, see LICENSE for details.
+#}
+{%- if pagename != "search" and builder != "singlehtml" %}
+<div id="searchbox" style="display: none">
+  <h3>{{ _('Quick search') }}</h3>
+    <form class="search" action="{{ pathto('search') }}" method="get">
+      <input type="text" name="q" />
+      <input type="submit" value="{{ _('Go') }}" />
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+</div>
+<p></p>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+{%- endif %}

http://wald.intevation.org/projects/trustbridge/