[PATCH 5 of 6] gitweb: Add search box to the summary page

Josef 'Jeff' Sipek jeffpc at josefsipek.net
Fri Jun 1 00:36:02 UTC 2007


1 file changed, 8 insertions(+)
templates/gitweb/summary.tmpl |    8 ++++++++


# HG changeset patch
# User Josef "Jeff" Sipek <jeffpc at josefsipek.net>
# Date 1180655942 14400
# Node ID d189b19936ecc6f52f75fd5d5fe0331df09375b7
# Parent  faf2fa0f3fffd5e75448556540902640b77b3ec2
gitweb: Add search box to the summary page

diff -r faf2fa0f3fff -r d189b19936ec 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> |


More information about the Mercurial-devel mailing list