<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>
<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>
<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>
</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">
th {
text-align: right;
padding-right: 1em;
+ font-size: x-small;
}
.infoTable 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;
#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 {