aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJohn Klehm <xixsimplicityxix@gmail.com>2010-03-07 09:37:40 -0600
committerRobin H. Johnson <robbat2@gentoo.org>2010-03-08 03:35:34 +0000
commit35b8166dc212163cd2ce10690b80921f46b44b6a (patch)
tree9b7f777578122942257c235a8804f3ab4f13839d /web
parentUse system snakeoil now. (diff)
downloadpackages-3-35b8166dc212163cd2ce10690b80921f46b44b6a.tar.gz
packages-3-35b8166dc212163cd2ce10690b80921f46b44b6a.tar.bz2
packages-3-35b8166dc212163cd2ce10690b80921f46b44b6a.zip
Manuel Schoelling's form based google site search box.
Diffstat (limited to 'web')
-rw-r--r--web/templates/layout.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/templates/layout.html b/web/templates/layout.html
index 01d3d0a..9fe1f92 100644
--- a/web/templates/layout.html
+++ b/web/templates/layout.html
@@ -68,6 +68,13 @@ def alpha_url(baseurl):
<div id="banner">
<a href="/"><img src="/media/packages_gentoo_logo.jpg" alt="Gentoo Logo" /></a>
</div>
+ <div id="search">
+ <form method="get" action="http://www.google.com/custom">
+ <input type="submit" name="sa" value="Search" />
+ <input type="text" name="q" size="16" maxlength="255" value="" />
+ <input type="hidden" name="sitesearch" value="packages.gentoo.org" />
+ </form>
+ </div>
<div py:for="day, pvs in daylist">
<p>${day}</p>
<ul>