1 <h3><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h3>
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 'wdefault'}
8 <td colspan=2>{t}Workstation template{/t}</td>
9 {else}
10 <td><LABEL for="cn">{t}Workstation name{/t}</LABEL>{$must}</td>
11 <td>
12 {render acl=$cnACL}
13 <input type='text' name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
14 {/render}
15 </td>
16 {/if}
17 </tr>
18 <tr>
19 <td><LABEL for="description">{t}Description{/t}</LABEL></td>
20 <td>
21 {render acl=$descriptionACL}
22 <input type='text' name="description" id="description" size=18 maxlength=60 value="{$description}">
23 {/render}
24 </td>
25 </tr>
26 <tr>
27 <td><LABEL for="cn">{t}Location{/t}</LABEL></td>
28 <td>
29 {render acl=$lACL}
30 <input type='text' name="l" id="l" size=18 maxlength=60 value="{$l}">
31 {/render}
32 </td>
33 </tr>
34 <tr>
35 <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
36 <td>
37 {render acl=$baseACL}
38 {$base}
39 {/render}
40 </td>
41 </tr>
42 </table>
44 {$host_key}
46 </td>
47 <td style="vertical-align:top;border-left:1px solid #A0A0A0;">
48 <table summary="">
49 <tr>
50 <td>{t}Mode{/t}</td>
51 <td>
52 {render acl=$gotoModeACL}
53 <select name="gotoMode" title="{t}Select terminal mode{/t}">
54 {html_options options=$modes selected=$gotoMode_select}
55 </select>
56 {/render}
57 </td>
58 </tr>
59 <tr>
60 <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
61 <td>
62 {render acl=$gotoSyslogServerACL}
63 <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}">
64 {html_options options=$syslogservers selected=$gotoSyslogServer_select}
65 </select>
66 {/render}
67 </td>
68 </tr>
69 </table>
70 <p class="seperator"> </p>
71 <table width="100%">
72 <tr>
73 <td colspan="2">
74 {if $member_of_ogroup}
75 {render acl=$gotoNtpServerACL}
76 <input type="checkbox" value="1" name="inheritTimeServer"
77 {if $inheritTimeServer} checked {/if}
78 onClick="javascript:
79 changeState('gotoNtpServerSelected');
80 changeState('gotoNtpServers');
81 changeState('addNtpServer');
82 changeState('delNtpServer');">{t}Inherit time server attributes{/t}
83 {/render}
84 {else}
85 <input disabled type='checkbox' name='option_disabled'>{t}Inherit time server attributes{/t}
86 {/if}
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 {render acl=$gotoNtpServerACL}
92 <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
93 title="{t}Choose server to use for synchronizing time{/t}" {if $inheritTimeServer} disabled {/if}>
94 {html_options options=$gotoNtpServer_select}
95 </select>
96 {/render}
97 <br>
98 {render acl=$gotoNtpServerACL}
99 <select name="gotoNtpServers" id="gotoNtpServers" {if $inheritTimeServer} disabled {/if} >
100 {html_options options=$gotoNtpServers}
101 </select>
102 {/render}
103 {render acl=$gotoNtpServerACL}
104 <input type="submit" name="addNtpServer" value="{msgPool type=addButton}" id="addNtpServer"
105 {if $inheritTimeServer} disabled {/if}>
106 {/render}
107 {render acl=$gotoNtpServerACL}
108 <input type="submit" name="delNtpServer" value="{msgPool type=delButton}" id="delNtpServer"
109 {if $inheritTimeServer} disabled {/if}>
110 {/render}
111 </td>
112 </tr>
113 </table>
114 </td>
115 </tr>
116 </table>
117 {if $cn neq 'wdefault'}
118 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
120 {$netconfig}
121 {/if}
122 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
124 {if $fai_activated}
125 <h3><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h3>
126 <table width="100%">
127 <tr><td style="border-right:1px solid #AAA; width:50%">
128 <table summary="">
129 <tr>
130 <td>
131 {render acl=$FAIstateACL}
132 <select size="1" name="saction" title="{t}Select action to execute for this terminal{/t}">
133 <option> </option>
134 {html_options options=$actions}
135 </select>
136 {/render}
137 </td>
138 <td>
139 {if $currently_installing}
140 {render acl=r}
141 <input type=submit name="action" value="{t}Execute{/t}">
142 {/render}
143 {else}
144 {render acl=$FAIstateACL}
145 <input type=submit name="action" value="{t}Execute{/t}">
146 {/render}
147 {/if}
148 </td>
149 </tr>
150 </table>
151 {/if}
152 </td>
153 <td>
154 {if $member_of_ogroup}
155 <input type='submit' name='inheritAll' value='{t}Inherit all values from group{/t}'>
156 {/if}
157 </td>
158 </tr></table>
159 <input type="hidden" name="workgeneric_posted" value="1">
160 {if $cn eq 'wdefault'}
161 <!-- Place cursor -->
162 <script language="JavaScript" type="text/javascript">
163 <!-- // First input field on page
164 focus_field('l');
165 -->
166 </script>
167 {else}
168 <script language="JavaScript" type="text/javascript">
169 <!-- // First input field on page
170 focus_field('cn');
171 -->
172 </script>
173 {/if}