[PATCH 5/9] Add Search box
Al Thomas
astavale at yahoo.co.uk
Sat Apr 24 21:43:04 UTC 2010
---
index.html | 7 +++++++
static/css/fedora.css | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/index.html b/index.html
index 31060cb..0575c6f 100644
--- a/index.html
+++ b/index.html
@@ -58,6 +58,13 @@
<li><a href="http://fedoraproject.org/wiki/Communicate">Communicate</a> Speak with Fedora.</li>
<li><a href="http://fedoraproject.org/wiki/FedoraEvents">Events</a> Meet the Fedora community.</li>
</ul>
+ <div id="p-search">
+ <h2><label for="searchInput">Search</label></h2>
+ <form action="https://fedoraproject.org/wiki/Special:Search" id="searchform">
+ <input id="searchInput" name="search" type="text" title="Search FedoraProject [f]" accesskey="f" value="" />
+ <input type='submit' name="go" class="searchButton" id="searchGoButton" value="Go" />
+ </form>
+ </div>
<h2>Website Language</h2>
<form action="index.html" method="GET">
<div>
diff --git a/static/css/fedora.css b/static/css/fedora.css
index 4888ed5..92b64ba 100644
--- a/static/css/fedora.css
+++ b/static/css/fedora.css
@@ -162,6 +162,10 @@ pre
clear: left;
height: 1px;
}
+.home #searchInput {
+ width: 10em;
+ margin: 0 0 0.3em 0;
+ }
/* End Home Page customisations */
#content
--
1.6.6.1
More information about the websites
mailing list