gitweb: Add search box to the summary page
authorJosef "Jeff" Sipek <jeffpc@josefsipek.net>
Thu, 31 May 2007 19:59:02 -0400
changeset 4468 d189b19936ec
parent 4467 faf2fa0f3fff
child 4469 8af65bc092b0
gitweb: Add search box to the summary page
templates/gitweb/summary.tmpl
--- a/templates/gitweb/summary.tmpl	Tue May 29 06:52:40 2007 -0400
+++ b/templates/gitweb/summary.tmpl	Thu May 31 19:59:02 2007 -0400
@@ -7,7 +7,15 @@
 
 <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> / summary
+
+<form action="{url}log">
+{sessionvars%hiddenformentry}
+<div class="search">
+<input type="text" name="rev"  />
 </div>
+</form>
+</div>
+
 <div class="page_nav">
 summary |
 <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |