]> source.dussan.org Git - archiva.git/commitdiff
some more style tweaks ad add download URL
authorBrett Porter <brett@apache.org>
Wed, 6 Sep 2006 01:37:10 +0000 (01:37 +0000)
committerBrett Porter <brett@apache.org>
Wed, 6 Sep 2006 01:37:10 +0000 (01:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440554 13f79535-47bb-0310-9956-ffa450edef68

archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/index.jsp
archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxiedRepositories.jsp
archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/syncedRepositories.jsp
archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp
archiva-webapp/src/main/webapp/css/maven-theme.css

index 75b33c4cee399879e5513da8765b1755662155f8..4e6719eece92d9b23a6db7fc15f5264617001f29 100644 (file)
 <h1>Administration</h1>
 
 <div id="contentArea">
-<h2>Configuration</h2>
+<div>
+  <div style="float: right">
+    <%-- TODO replace with icons --%>
+    <a href="<ww:url action="configure" />">Edit Configuration</a>
+  </div>
+  <h2>Configuration</h2>
+</div>
 
 <table class="infoTable">
   <tr>
   </table>
 </c:if>
 
-<p>
-  <a href="<ww:url action="configure" />">Edit Configuration</a>
-</p>
-
-<h2>Managed Repositories</h2>
+<div>
+  <div style="float: right">
+    <%-- TODO replace with icons --%>
+    <a href="<ww:url action="addRepository" method="input" />">Add Repository</a></div>
+  <h2>Managed Repositories</h2>
+</div>
 
 <ww:set name="repositories" value="repositories"/>
 <c:if test="${empty(repositories)}">
     </table>
   </div>
 </c:forEach>
-
-<p>
-  <a href="<ww:url action="addRepository" method="input" />">Add Repository</a>
-</p>
 </div>
 
 </body>
index 0c562cadc65911f06758eca0f2182ec6b944a4f4..de70d8c3426c8858099fbbe9ee8e46e58894478a 100644 (file)
 <h1>Administration</h1>
 
 <div id="contentArea">
-  <h2>Proxied Repositories</h2>
+  <div>
+    <%-- TODO replace with icons --%>
+    <div style="float: right">
+      <a href="<ww:url action="addProxiedRepository" method="input" />">Add Repository</a>
+    </div>
+    <h2>Proxied Repositories</h2>
+  </div>
 
   <ww:set name="proxiedRepositories" value="proxiedRepositories"/>
   <c:if test="${empty(proxiedRepositories)}">
       </table>
     </div>
   </c:forEach>
-
-  <p>
-    <a href="<ww:url action="addProxiedRepository" method="input" />">Add Repository</a>
-  </p>
 </div>
 
 </body>
index f36de492598880db2a573d47643b6194c16b4cc6..7384b14b8cacead5c15ced135265393ddc8fc216 100644 (file)
 <h1>Administration</h1>
 
 <div id="contentArea">
-<h2>Synced Repositories</h2>
+<div>
+  <%-- TODO replace with icons --%>
+  <div style="float: right">
+    <a href="<ww:url action="addSyncedRepository" method="input" />">Add Repository</a>
+  </div>
+  <h2>Synced Repositories</h2>
+</div>
 
 <ww:set name="syncedRepositories" value="syncedRepositories"/>
 <c:if test="${empty(syncedRepositories)}">
     </table>
   </div>
 </c:forEach>
-
-<p>
-  <a href="<ww:url action="addSyncedRepository" method="input" />">Add Repository</a>
-</p>
 </div>
 
 </body>
index 8e7ba5f8ae6bc328a8c13fa8d815cee6bca4a2bf..ce9d5eabf0fbe05087df21016d091096f8d00b5c 100644 (file)
 </h1>
 
 <div class="sidebar3">
-  <%-- TODO! download URL
-  <div id="download"><a href="#">Download</a></div>
-  --%>
+  <div id="download">
+    <c:set var="url">
+      <ww:url action="proxy">
+        <%-- TODO! create a tag for this, include classifier for javadoc, sources below --%>
+        <%-- TODO: what about other repositories? --%>
+        <%-- TODO! extension probably doesn't match type --%>
+        <ww:param name="path"
+                  value="%{'${model.groupId}/${model.artifactId}/${model.version}/${model.artifactId}-${model.version}.${model.packaging}'}"/>
+      </ww:url>
+    </c:set>
+    <a href="${url}">Download</a>
+  </div>
 </div>
 
 <div id="contentArea">
index 61393d800f7bff3b663e151cc6162e642afa65c1..b52a561b0c74084fcbf37114f8ee711e11f42d23 100644 (file)
@@ -30,6 +30,7 @@ select, input {
 th {
     text-align: right;
     padding-right: 1em;
+    font-size: x-small;
 }
 
 .infoTable th {
@@ -42,16 +43,16 @@ th {
     background-position: left bottom;
     border-bottom: 1px solid #DFDEDE;
     padding: 0 0 1px 23px;
-    margin-bottom: 7px;
+    margin-bottom: 0.5em;
     color: #333;
     voice-family: inherit;
-    font-size: small !important;
+    font-size: medium !important;
 }
 
 #contentBox h2 {
     border-bottom: 1px solid #DFDEDE;
     padding: 0 0 1px 0;
-    margin-bottom: 7px;
+    margin-bottom: 0.5em;
     color: #333;
     voice-family: inherit;
     font-size: small !important;
@@ -60,10 +61,11 @@ th {
 #contentBox h3 {
     border-bottom: 1px solid #DFDEDE;
     padding: 0 0 1px 0;
-    margin-bottom: 7px;
+    margin-bottom: 0.5em;
     color: #333;
     voice-family: inherit;
     font-size: small !important;
+    margin-left: 2em;
 }
 
 table {