summaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorJames William Dumay <jdumay@apache.org>2009-02-12 02:34:16 +0000
committerJames William Dumay <jdumay@apache.org>2009-02-12 02:34:16 +0000
commit48fc7e2f6f92cfb9898679d44aaf8836019f662c (patch)
treeef6765b8fffe63c7f7e83df34fcf44044853f4e6 /archiva-modules
parentd10e6a5ae208e321f724a4f7ab398c769e6b92ed (diff)
downloadarchiva-48fc7e2f6f92cfb9898679d44aaf8836019f662c.tar.gz
archiva-48fc7e2f6f92cfb9898679d44aaf8836019f662c.zip
MRM-1083 - Add artifact search box to the default decorator
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743602 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp8
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css5
2 files changed, 12 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp
index b9cbaf785..1c9f92032 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp
@@ -53,8 +53,14 @@
</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>
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css
index cdea7682a..595af8989 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css
@@ -343,3 +343,8 @@ blockquote {
#searchHint {
margin: 5%;
}
+
+#topSearchBox {
+ float: right;
+ padding: 2px 8px;
+}