Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinston Prakash2011-09-15 20:33:31 -0400
committerWinston Prakash2011-09-15 20:33:31 -0400
commitc74a6240b309125e185126ec4214a748b73eb1a9 (patch)
tree931dd006e49f6cb506257e0e0cbc0eb399153526 /hudson-core/src/main/resources/hudson/PluginManager/sites.jelly
downloadorg.eclipse.hudson.core-c74a6240b309125e185126ec4214a748b73eb1a9.tar.gz
org.eclipse.hudson.core-c74a6240b309125e185126ec4214a748b73eb1a9.tar.xz
org.eclipse.hudson.core-c74a6240b309125e185126ec4214a748b73eb1a9.zip
Initial commit of hudson-core files which are approved via CQ 5461
Diffstat (limited to 'hudson-core/src/main/resources/hudson/PluginManager/sites.jelly')
-rw-r--r--hudson-core/src/main/resources/hudson/PluginManager/sites.jelly60
1 files changed, 60 insertions, 0 deletions
diff --git a/hudson-core/src/main/resources/hudson/PluginManager/sites.jelly b/hudson-core/src/main/resources/hudson/PluginManager/sites.jelly
new file mode 100644
index 00000000..d5aadbcb
--- /dev/null
+++ b/hudson-core/src/main/resources/hudson/PluginManager/sites.jelly
@@ -0,0 +1,60 @@
+<!-- **************************************************************************
+#
+# Copyright (c) 2004-2009 Oracle Corporation.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+#
+#
+#
+#
+#************************************************************************** -->
+
+
+<!--
+ Add/remove update center sites
+-->
+<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
+<l:layout title="Update Center" permission="${app.ADMINISTER}" norefresh="true">
+ <st:include page="sidepanel.jelly"/>
+ <l:main-panel>
+ <form method="post" action="updateSources">
+ <local:tabBar page="sites" xmlns:local="/hudson/PluginManager">
+ <tr style="border-top: 0px;">
+ <th colspan="2"/>
+ </tr>
+ <tr style="border-bottom:none">
+ <td colspan="2">
+ <p>
+ This Hudson is configured to receive updates from the following sourcse:
+ </p>
+ </td>
+ </tr>
+ <tr style="border-top: none">
+ <td>
+ <select multiple="true" style="width:100%" name="sources">
+ <j:forEach var="s" items="${app.updateCenter.sources}">
+ <option value="${s.id}">${s.url}</option>
+ </j:forEach>
+ </select>
+ </td>
+ <td id="buttonBar" style="width:13em;">
+ <style>
+ #buttonBar INPUT {
+ width: 10em;
+ }
+ </style>
+ <input type="submit" value="${%Add...}" name="add" />
+ <br />
+ <input type="submit" value="${%Remove}" name="remove" disabled="${empty(app.updateCenter.sources)?'true':null}"/>
+ </td>
+ </tr>
+ </local:tabBar>
+ </form>
+ </l:main-panel>
+</l:layout>
+</j:jelly>

Back to the top