summaryrefslogtreecommitdiffstats
path: root/dogtag/ra-ui/shared/docroot/ra/admin/console/config/createsubsystempanel.vm
blob: feee8962f26e1349487825b2c665df8e7cb79968 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!-- --- BEGIN COPYRIGHT BLOCK ---
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; version 2 of the License.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License along
     with this program; if not, write to the Free Software Foundation, Inc.,
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

     Copyright (C) 2007 Red Hat, Inc.
     All rights reserved.
     --- END COPYRIGHT BLOCK --- -->

<SCRIPT type="text/JavaScript">
function myOnLoad() {
}

function performPanel() {
    with (document.forms[0]) {
        submit();
    }
}
</SCRIPT>
<h2>Subsystem Configuration</h2>
<p>
This instance can be configured as a new $systemname subsystem.
<br/>
#if ($errorString != "")
<img src="/pki/images/icon_crit_update.gif">&nbsp;<font color="red">$errorString</font>
#end
<br/>
<b><input $check_newsubsystem type=radio name=choice value="newsubsystem">&nbsp;Configure this Instance as a New $systemname Subsystem </b>
<br/>
    <table class="details">
      <tr>
        <th>Subsystem Name: </th>
        <td><input type=text size="40" name="subsystemName" value="$subsystemName"> (e.g. - $fullsystemname)</td>
      </tr>
      <tr>
        <th>Subsystem HTTP URL (unsecure): </th>
        <td>http://$machineName:$http_port</td>
      </tr>
      <tr>
        <th>Subsystem HTTPS URL (clientauth): </th>
        <td>https://$machineName:$https_port</td>
      </tr>
      <tr>
        <th>Subsystem HTTPS URL (non-clientauth): </th>
        <td>https://$machineName:$non_clientauth_https_port</td>
      </tr>
    </table>
<p>
#if ($disableClone)
<b><input $check_clonesubsystem type=radio name=choice value="clonesubsystem" disabled="disabled">&nbsp;Clone an Existing $systemname Subsystem </b>
#else
<b><input $check_clonesubsystem type=radio name=choice value="clonesubsystem">&nbsp;Clone an Existing $systemname Subsystem </b>
#end
<br/>
    <table class="details">
      <tr>
        <th>Subsystem Name: </th>
#if ($disableClone)
        <td><input disabled="disabled" type=text size="40" name="subsystemName" value="$subsystemName"> (e.g. - $fullsystemname
 Clone 1)</td>
#else
        <td><input type=text size="40" name="subsystemName" value="$subsystemName"> (e.g. - $fullsystemname
 Clone 1)</td>
#end
      </tr>
      <tr>
        <th>Subsystem URL: </th>
#if ($disableClone)
        <td><select name="urls" disabled="disabled">
#else
        <td><select name="urls">
#end
           #if ($urls_size != 0) 
           #set ($x=0)
           #foreach ($p in $urls)
               <option value="$x">$p</option>
               #set ($x=$x+1)
           #end
           #else
               <option selected value="none">NONE</option>
           #end
        </select>
        </td>
      </tr>
    </table>
<br/>