Code

a320b0dd2464944ae44b2e5d36fcb7429e13645b
[gosa.git] / plugins / admin / systems / workstation.tpl
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 '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       <input name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
13      </td>
14      {/if}
15     </tr>
16     <tr>
17      <td><LABEL for="cn">{t}Location{/t}</LABEL></td>
18      <td>
19       <input name="l" id="l" size=18 maxlength=60 value="{$l}">
20      </td>
21     </tr>
22     <tr>
23      <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
24      <td>
25       <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}">
26        {html_options options=$bases selected=$base_select}
27       </select>
28                 <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
29     </tr>
30    </table>
31   </td>
32   <td  style="vertical-align:top;border-left:1px solid #A0A0A0;">
33    <table summary="">
34     <tr>
35      <td>{t}Mode{/t}</td>
36      <td>
37       <select name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
38        {html_options options=$modes selected=$gotoMode_select}
39       </select>
40      </td>
41     </tr>
42     <tr>
43      <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
44      <td>
45       <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
46        {html_options options=$syslogservers selected=$gotoSyslogServer_select}
47       </select>
48      </td>
49     </tr>
50    </table>
51 <p class="seperator">&nbsp;</p>
52    <table width="100%">
53     <tr>
54      <td colspan="2">
55         <input type="checkbox" value="1" name="inheritTimeServer"
56             {if $inheritTimeServer } checked {/if}
57             onClick="javascript:
58                     changeState('gotoNtpServerSelected');
59                     changeState('gotoNtpServers');
60                     changeState('addNtpServer');
61                     changeState('delNtpServer');">{t}Inherit time server attributes{/t}
62      </td>
63     </tr>
64     <tr>
65      <td colspan="2" style='padding-left:14px;padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
66       <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
67             title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if}>
68        {html_options options=$gotoNtpServer_select}
69       </select>
70      <br>
71       <select name="gotoNtpServers" id="gotoNtpServers" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if} >
72        {html_options options=$gotoNtpServers}
73       </select>
74         <input type="submit" name="addNtpServer" value="{t}Add{/t}"     id="addNtpServer" {$gotoNtpServerACL}
75          {if $inheritTimeServer} disabled {/if}>
76         <input type="submit" name="delNtpServer" value="{t}Delete{/t}"  id="delNtpServer" {$gotoNtpServerACL}
77          {if $inheritTimeServer} disabled {/if}>
78      </td>
79     </tr>
80    </table>
81   </td>
82  </tr>
83 </table>
84 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
86 {$netconfig}
88 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
89 <h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
90 <table summary="">
91  <tr>
92   <td>
93    <select size="1" name="saction" {$actionACL} title="{t}Select action to execute for this terminal{/t}">
94     <option>&nbsp;</option>
95     {html_options options=$actions}
96    </select>
97   </td>
98   <td>
99    <input type=submit name="action" value="{t}Execute{/t}">
100   </td>
101  </tr>
102 </table>
103 <input type="hidden" name="workgeneric_posted" value="1">
104  {if $cn eq 'wdefault'}
105 <!-- Place cursor -->
106                 <script language="JavaScript" type="text/javascript">
107                   <!-- // First input field on page
108                   document.mainform.l.focus();
109                   -->
110                 </script>
111      {else}
112                 <script language="JavaScript" type="text/javascript">
113                   <!-- // First input field on page
114                   document.mainform.cn.focus();
115                   -->
116                 </script>
117      {/if}