[PATCH 5/9] Add Search box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

-- 
websites mailing list
websites@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/websites

[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux