view templates/gitweb/search.tmpl @ 3275:db9d2a624521

hgweb: Search templates in templatepath/style/map, too, using a common function. This allows for web templates to be self-contained in a directory, which makes copying and modifying them easier.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 06 Oct 2006 18:28:50 +0200
parents 36fa5db79dd5
children 887da2247b57
line wrap: on
line source

#header#
<div class="page_nav">
<a href="{url}summary{getentries}">summary</a> |
<a href="{url}shortlog{getentries}">shortlog</a> |
<a href="{url}log{getentries}">changelog</a> |
<a href="{url}tags{getentries}">tags</a> |
<a href="{url}file/#node|short#{getentries}">manifest</a><br/>
</div>

<h2>searching for #query|escape#</h2>

<form action="{url}log">
search:
<input type="hidden" name="style" value="gitweb">
<input name="rev" type="text" width="30" value="#query|escape#">
</form>

#entries#

<form action="{url}log">
search:
<input type="hidden" name="style" value="gitweb">
<input name="rev" type="text" width="30">
</form>

#footer#