diff manuals/theme/better/searchbox.html @ 934:519b14c5260d

(issue89) Add sphinx better theme
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 22 Aug 2014 17:16:53 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/manuals/theme/better/searchbox.html	Fri Aug 22 17:16:53 2014 +0200
@@ -0,0 +1,11 @@
+{%- if pagename != "search" %}
+<form class="search" action="{{ pathto('search') }}" method="get">
+  <input type="text" name="q"
+   placeholder="{{ _('type to search') }}" />
+  {#- I have not been able to make this look good. #}
+  {#- <input type="submit" value="{{ _('Search') }}" /> #}
+  <input type="hidden" name="check_keywords" value="yes" />
+  <input type="hidden" name="area" value="default" />
+</form>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+{%- endif %}

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