aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorJames William Dumay <jdumay@apache.org>2008-08-20 07:48:19 +0000
committerJames William Dumay <jdumay@apache.org>2008-08-20 07:48:19 +0000
commitb48ffaec2d00da9b3642d08d9c7ee68342b933ad (patch)
tree9329efd82925294a40200d8fc7e4948ac79aa734 /archiva-modules
parent8cf91701ab27ce8b5c0f16e618d59e5cf97de958 (diff)
downloadarchiva-b48ffaec2d00da9b3642d08d9c7ee68342b933ad.tar.gz
archiva-b48ffaec2d00da9b3642d08d9c7ee68342b933ad.zip
MRM-541 - convenient way to take Archiva proxies "offline"
* Adding icons for enable/disable from http://en.wikipedia.org/wiki/Power_symbol which are public domain. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@687275 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/admin/proxyConnectors.jsp10
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/images/icons/off-symbol.pngbin0 -> 390 bytes
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/images/icons/on-symbol.pngbin0 -> 497 bytes
3 files changed, 8 insertions, 2 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxyConnectors.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxyConnectors.jsp
index ab64652ae..b084a1d34 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxyConnectors.jsp
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxyConnectors.jsp
@@ -38,6 +38,8 @@
<c:url var="iconCreateUrl" value="/images/icons/create.png"/>
<c:url var="iconUpUrl" value="/images/icons/up.gif"/>
<c:url var="iconDownUrl" value="/images/icons/down.gif"/>
+<c:url var="iconEnable" value="/images/icons/on-symbol.png"/>
+<c:url var="iconDisable" value="/images/icons/off-symbol.png"/>
<div id="contentArea">
@@ -114,10 +116,14 @@
<ww:param name="target" value="%{'${connector.targetRepoId}'}"/>
</ww:url>
<c:if test="${connector.disabled}">
- <ww:a href="%{enableProxyConnectorUrl}" title="Enable Proxy Connector">Enable</ww:a>
+ <ww:a href="%{enableProxyConnectorUrl}" title="Enable Proxy Connector">
+ <img src="${iconDisable}"/>
+ </ww:a>
</c:if>
<c:if test="${connector.disabled == false}">
- <ww:a href="%{disableProxyConnectorUrl}" title="Disable Proxy Connector">Disable</ww:a>
+ <ww:a href="%{disableProxyConnectorUrl}" title="Disable Proxy Connector">
+ <img src="${iconEnable}"/>
+ </ww:a>
</c:if>
<c:if test="${pc.count > 1}">
<ww:a href="%{sortUpProxyConnectorUrl}" title="Move Proxy Connector Up">
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/images/icons/off-symbol.png b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/images/icons/off-symbol.png
new file mode 100644
index 000000000..6326912c1
--- /dev/null
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/images/icons/off-symbol.png
Binary files differ
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/images/icons/on-symbol.png b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/images/icons/on-symbol.png
new file mode 100644
index 000000000..4bcccd5a0
--- /dev/null
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/images/icons/on-symbol.png
Binary files differ