]> source.dussan.org Git - archiva.git/commitdiff
MRM-1083 - Add artifact search box to the default decorator
authorJames William Dumay <jdumay@apache.org>
Thu, 12 Feb 2009 02:34:16 +0000 (02:34 +0000)
committerJames William Dumay <jdumay@apache.org>
Thu, 12 Feb 2009 02:34:16 +0000 (02:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743602 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css

index b9cbaf78583d27c6c9427606cbb508be7b0b0019..1c9f920324d6b11a9e66c5680cae978524c0c22a 100644 (file)
   </div>
 </div>
 
-<div id="leftColumn">
 
+<div id="topSearchBox">
+    <s:form method="get" action="quickSearch" namespace="/" validate="true">
+        <s:textfield label="Search for" size="30" name="q"/>
+    </s:form>
+</div>
+
+<div id="leftColumn">
   <div id="navcolumn">
     <s:action namespace="/components" name="companyInfo" executeResult="true"/>
     <h5>Find</h5>
index cdea7682a8331c9c851d5853cf119bdea8e0cd1f..595af89896983d9d4c2aafb77f4865d43e01c84e 100644 (file)
@@ -343,3 +343,8 @@ blockquote {
 #searchHint {
        margin: 5%;
 }
+
+#topSearchBox {
+    float: right;
+    padding: 2px 8px;
+}