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}">
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}">
20 {html_options options=$bases selected=$base_select}
21 </select>
22 <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
23 </tr>
24 </table>
25 </td>
26 <td style="vertical-align:top;border-left:1px solid #A0A0A0;" >
27 <table summary="">
28 <tr>
29 <td><LABEL for="gotoMode">{t}Mode{/t}</LABEL></td>
30 <td>
31 <select id="gotoMode" name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
32 {html_options options=$modes selected=$gotoMode_select}
33 </select>
34 </td>
35 </tr>
36 <tr>
37 <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
38 <td>
39 <select name="gotoSyslogServer" id="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
40 {html_options values=$syslogservers output=$syslogservers selected=$gotoSyslogServer_select}
41 </select>
42 </td>
43 </tr>
44 </table>
45 </td>
46 </tr>
47 </table>
48 <p class="seperator" style="margin:0px; padding:0px;"> </p>
49 <table style="width:100%;">
50 <tr>
51 <td style="width:50%;vertical-align:top;">
52 <table summary="">
53 <tr>
54 <td><LABEL for="gotoTerminalPath">{t}Root server{/t}</LABEL></td>
55 <td>
56 <select name="gotoTerminalPath" id="gotoTerminalPath" title="{t}Select NFS root filesystem to use{/t}" {$gotoTerminalPathACL}>
57 {html_options values=$nfsservers output=$nfsservers selected=$gotoTerminalPath_select}
58 </select>
59 </td>
60 </tr>
61 <tr>
62 <td><LABEL for="gotoSwapServer">{t}Swap server{/t}</LABEL></td>
63 <td>
64 <select name="gotoSwapServer" id="gotoSwapServer" title="{t}Choose NFS filesystem to place swap files on{/t}" {$gotoSwapServerACL}>
65 {html_options values=$nfsservers output=$nfsservers selected=$gotoSwapServer_select}
66 </select>
67 </td>
68 </tr>
69 </table>
70 </td>
71 <td style="border-left:1px solid #A0A0A0;">
72 <table width="100%">
73 <tr>
74 <td colspan="2">
75 <input type="checkbox" value="1" name="inheritTimeServer"
76 {if $inheritTimeServer } checked {/if}
77 onClick="javascript:
78 changeState('gotoNtpServerSelected');
79 changeState('gotoNtpServers');
80 changeState('addNtpServer');
81 changeState('delNtpServer');">{t}Inherit time server attributes{/t}
82 </td>
83 </tr>
84 <tr>
85 <td colspan="2" style='padding-left:14px;padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
86 <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
87 title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if}>
88 {html_options options=$gotoNtpServer_select}
89 </select>
90 <br>
91 <select name="gotoNtpServers" id="gotoNtpServers" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if} >
92 {html_options values=$ntpservers output=$ntpservers }
93 </select>
94 <input type="submit" name="addNtpServer" value="{t}Add{/t}" id="addNtpServer" {$gotoNtpServerACL}
95 {if $inheritTimeServer} disabled {/if}>
96 <input type="submit" name="delNtpServer" value="{t}Delete{/t}" id="delNtpServer" {$gotoNtpServerACL}
97 {if $inheritTimeServer} disabled {/if}>
98 </td>
99 </tr>
100 </table>
102 </td>
103 </tr>
104 </table>
105 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
107 {$netconfig}
109 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
110 <h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
111 <table summary="">
112 <tr>
113 <td>
114 <select size="1" name="saction" {$actionACL} title="{t}Select action to execute for this terminal{/t}">
115 <option disabled> </option>
116 {html_options options=$actions}
117 </select>
118 </td>
119 <td>
120 <input type=submit name="action" value="{t}Execute{/t}">
121 </td>
122 </tr>
123 </table>
126 <!-- Place cursor -->
127 <script language="JavaScript" type="text/javascript">
128 <!-- // First input field on page
129 document.mainform.cn.focus();
130 -->
131 </script>