view manuals/theme/better/searchbox.html @ 1125:dd9094d92899

(issue54) If the MainWindows is visible when an update is triggered start it visible after upadte
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 17 Sep 2014 12:12:44 +0200
parents 519b14c5260d
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/