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