Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 21a88086e8a23068bf9fe926e72b8f237d1f4aa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!-- **************************************************************************
#
# 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: 
#
#    Kohsuke Kawaguchi
#        
#
#************************************************************************** --> 


<!--
  2nd page in the "new slave" page for displaying the entire configuration entries for the selected job type.
-->
<?jelly escape-by-default='true'?>
<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">
    <j:if test="${app.isTeamManagementEnabled()}">
        <j:getStatic var="permission" className="hudson.model.Computer" field="CREATE"/>
    </j:if>
    <j:if test="${!app.isTeamManagementEnabled()}">
        <j:set var="permission" value="${app.ADMINISTER}" />
    </j:if>
    <l:layout norefresh="true" permission="${permission}">
  
        <st:include page="sidepanel.jelly"/>
        <l:main-panel>
            <h1>
                <img width="48" height="48" src="${imagesURL}/48x48/setting.png" alt="" style="margin-right:10px"/>
                ${%Node Configurations}
            </h1>
            <f:form method="post" action="doCreateItem">
                <f:entry title="${%Name}" help="/help/system-config/master-slave/name.html">
                    <f:textbox name="name" value="${request.getParameter('name')}" clazz="required" checkMessage="${%Name is mandatory}"/>
                </f:entry>

                <!-- main body of the configuration -->
                <j:set var="it" value="${null}" />
                <st:include class="${requestScope.descriptor.clazz}" page="configure-entries.jelly" />
        
                <f:block>
                    <input type="hidden" name="type" value="${request.getParameter('mode')}"/>

                    <f:submit value="${%Save}"/>
                </f:block>
            </f:form>
        </l:main-panel>
    </l:layout>
</j:jelly>

Back to the top