view 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 source
{%- 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/