Mercurial > hg > mercurial-crew-with-dirclash
diff templates/gitweb/search.tmpl @ 4468:8af65bc092b0
gitweb: Fixed-up search template
It seems that the search template has been forgoten over time, and needed
major revamping.
author | Josef "Jeff" Sipek <jeffpc@josefsipek.net> |
---|---|
date | Thu, 31 May 2007 20:12:40 -0400 |
parents | ce8f31e0b3b8 |
children | 46c5e1ee8aaa |
line wrap: on
line diff
--- a/templates/gitweb/search.tmpl +++ b/templates/gitweb/search.tmpl @@ -1,27 +1,32 @@ #header# +<title>#repo|escape#: Search</title> +<link rel="alternate" type="application/rss+xml" + href="{url}rss-log" title="RSS feed for #repo|escape#"> +</head> +<body> + +<div class="page_header"> +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / search + +<form action="{url}log"> +{sessionvars%hiddenformentry} +<div class="search"> +<input type="text" name="rev" value="#query|escape#" /> +</div> +</form> +</div> + <div class="page_nav"> <a href="{url}summary{sessionvars%urlparameter}">summary</a> | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | <a href="{url}log{sessionvars%urlparameter}">changelog</a> | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | -<a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a><br/> +<a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a>#archives%archiveentry# +<br/> </div> -<h2>searching for #query|escape#</h2> - -<form action="{url}log"> -{sessionvars%hiddenformentry} -search: -<input name="rev" type="text" width="30" value="#query|escape#"> -</form> +<div class="title">searching for #query|escape#</div> #entries# -<form action="{url}log"> -{sessionvars%hiddenformentry} -search: -<input type="hidden" name="style" value="gitweb"> -<input name="rev" type="text" width="30"> -</form> - #footer#