some more style tweaks ad add download URL

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440554 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2006-09-06 01:37:10 +00:00
parent c660685dc8
commit 201211ad99
5 changed files with 45 additions and 27 deletions

View File

@ -28,7 +28,13 @@
<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>
@ -75,11 +81,12 @@
</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)}">
@ -131,10 +138,6 @@
</table>
</div>
</c:forEach>
<p>
<a href="<ww:url action="addRepository" method="input" />">Add Repository</a>
</p>
</div>
</body>

View File

@ -29,7 +29,13 @@
<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)}">
@ -105,10 +111,6 @@
</table>
</div>
</c:forEach>
<p>
<a href="<ww:url action="addProxiedRepository" method="input" />">Add Repository</a>
</p>
</div>
</body>

View File

@ -28,7 +28,13 @@
<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)}">
@ -135,10 +141,6 @@
</table>
</div>
</c:forEach>
<p>
<a href="<ww:url action="addSyncedRepository" method="input" />">Add Repository</a>
</p>
</div>
</body>

View File

@ -69,9 +69,18 @@
</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">

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