1 <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
2 <table summary="" style="width:100%;">
3 <tr>
4 <td style="width:50%; vertical-align:top;">
5 <table summary="">
6 <tr>
7 {if $cn eq 'default'}
8 <td colspan=2>{t}Terminal template{/t}</td>
9 {else}
10 <td><LABEL for="cn">{t}Terminal name{/t}</LABEL>{$must}</td>
11 <td>
12 <input name="cn" id="cn" size=18 maxlength=60 value="{$cn}" {$cnACL}>
13 </td>
14 {/if}
15 </tr>
16 <tr>
17 <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
18 <td>
19 <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}" {$baseACL}>
20 {html_options options=$bases selected=$base_select}
21 </select>
22 {if $baseACL == ""}
23 <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
24 {else}
25 <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
26 {/if}
27 </td>
28 </tr>
29 </table>
30 {if $member_of_ogroup}
31 <br>
32 <br>
33 <br>
34 <input type='submit' name='inheritAll' value='{t}Inherit all{/t}'>
35 {/if}
36 </td>
37 <td style="vertical-align:top;border-left:1px solid #A0A0A0;" >
38 <table summary="">
39 <tr>
40 <td><LABEL for="gotoMode">{t}Mode{/t}</LABEL></td>
41 <td>
42 <select id="gotoMode" name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
43 {html_options options=$modes selected=$gotoMode_select}
44 </select>
45 </td>
46 </tr>
47 <tr>
48 <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
49 <td>
50 <select name="gotoSyslogServer" id="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
51 {html_options options=$syslogservers selected=$gotoSyslogServer_select}
52 </select>
53 </td>
54 </tr>
55 </table>
56 </td>
57 </tr>
58 </table>
59 <p class="seperator" style="margin:0px; padding:0px;"> </p>
60 <table style="width:100%;">
61 <tr>
62 <td style="width:50%;vertical-align:top;">
63 <table summary="">
64 <tr>
65 <td><LABEL for="gotoTerminalPath">{t}Root server{/t}</LABEL></td>
66 <td>
67 <select name="gotoTerminalPath" id="gotoTerminalPath" title="{t}Select NFS root filesystem to use{/t}" {$gotoTerminalPathACL}>
68 {html_options options=$nfsservers selected=$gotoTerminalPath_select}
69 </select>
70 </td>
71 </tr>
72 <tr>
73 <td><LABEL for="gotoSwapServer">{t}Swap server{/t}</LABEL></td>
74 <td>
75 <select name="gotoSwapServer" id="gotoSwapServer" title="{t}Choose NFS filesystem to place swap files on{/t}" {$gotoSwapServerACL}>
76 {html_options options=$nfsservers selected=$gotoSwapServer_select}
77 </select>
78 </td>
79 </tr>
80 </table>
81 </td>
82 <td style="border-left:1px solid #A0A0A0;">
83 <table width="100%">
84 <tr>
85 <td colspan="2">
86 {if $member_of_ogroup}
87 <input type="checkbox" value="1" name="inheritTimeServer" {$gotoNtpServerACL}
88 {if $inheritTimeServer } checked {/if}
89 onClick="javascript:
90 changeState('gotoNtpServerSelected');
91 changeState('gotoNtpServers');
92 changeState('addNtpServer');
93 changeState('delNtpServer');">{t}Inherit time server attributes{/t}
94 {else}
95 <input disabled type='checkbox' name='option_disabled'>{t}Inherit time server attributes{/t}
96 {/if}
97 </td>
98 </tr>
99 <tr>
100 <td colspan="2" style='padding-left:14px;padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
101 <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
102 title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if}>
103 {html_options options=$gotoNtpServer_select}
104 </select>
105 <br>
106 <select name="gotoNtpServers" id="gotoNtpServers" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if} >
107 {html_options values=$ntpservers output=$ntpservers }
108 </select>
109 <input type="submit" name="addNtpServer" value="{t}Add{/t}" id="addNtpServer" {$gotoNtpServerACL}
110 {if $inheritTimeServer} disabled {/if}>
111 <input type="submit" name="delNtpServer" value="{t}Delete{/t}" id="delNtpServer" {$gotoNtpServerACL}
112 {if $inheritTimeServer} disabled {/if}>
113 </td>
114 </tr>
115 </table>
117 </td>
118 </tr>
119 </table>
121 {if $cn neq 'default'}
122 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
123 {$netconfig}
124 {/if}
126 {if $fai_activated}
127 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
128 <h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
129 <table summary="">
130 <tr>
131 <td>
132 <select size="1" name="saction" {$actionACL} title="{t}Select action to execute for this terminal{/t}">
133 <option disabled> </option>
134 {html_options options=$actions}
135 </select>
136 </td>
137 <td>
138 <input type=submit name="action" value="{t}Execute{/t}">
139 </td>
140 </tr>
141 </table>
142 {/if}
144 <input type="hidden" name="termgeneric_posted" value="1">
145 <!-- Place cursor -->
146 <script language="JavaScript" type="text/javascript">
147 <!-- // First input field on page
148 focus_field('cn');
149 -->
150 </script>