gitweb: Add search box to the summary page
authorJosef "Jeff" Sipek <jeffpc@josefsipek.net>
Thu, 31 May 2007 19:59:02 -0400
changeset 4467 d189b19936ec
parent 4466 faf2fa0f3fff
child 4468 8af65bc092b0
gitweb: Add search box to the summary page
templates/gitweb/summary.tmpl
--- a/templates/gitweb/summary.tmpl
+++ b/templates/gitweb/summary.tmpl
@@ -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> |