Code

Cutted objects will be displayed in light grey in the management lists now.
[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}" {$cnACL}>
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}" {$lACL}>
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}" {$baseACL}>
26        {html_options options=$bases selected=$base_select}
27       </select>
28             {if $baseACL == ""}
29             <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
30         {else}
31             <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
32         {/if}
33     </tr>
34    </table>
35 {if $member_of_ogroup}
36    <br>
37    <br>
38    <br>
39    <input type='submit' name='inheritAll' value='{t}Inherit all{/t}'>
40 {/if}
41   </td>
42   <td  style="vertical-align:top;border-left:1px solid #A0A0A0;">
43    <table summary="">
44     <tr>
45      <td>{t}Mode{/t}</td>
46      <td>
47       <select name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
48        {html_options options=$modes selected=$gotoMode_select}
49       </select>
50      </td>
51     </tr>
52     <tr>
53      <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
54      <td>
55       <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
56        {html_options options=$syslogservers selected=$gotoSyslogServer_select}
57       </select>
58      </td>
59     </tr>
60    </table>
61 <p class="seperator">&nbsp;</p>
62    <table width="100%">
63     <tr>
64      <td colspan="2">
66 {if $member_of_ogroup}
68         <input type="checkbox" value="1" name="inheritTimeServer"  {$gotoNtpServerACL}
69             {if $inheritTimeServer } checked {/if}
70             onClick="javascript:
71                     changeState('gotoNtpServerSelected');
72                     changeState('gotoNtpServers');
73                     changeState('addNtpServer');
74                     changeState('delNtpServer');">{t}Inherit time server attributes{/t}
75 {else}
76                 <input disabled type='checkbox' name='option_disabled'>{t}Inherit time server attributes{/t}
77 {/if}
78      </td>
79     </tr>
80     <tr>
81      <td colspan="2" style='padding-left:14px;padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
82       <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
83             title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if}>
84        {html_options options=$gotoNtpServer_select}
85       </select>
86      <br>
87       <select name="gotoNtpServers" id="gotoNtpServers" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if} >
88        {html_options options=$gotoNtpServers}
89       </select>
90         <input type="submit" name="addNtpServer" value="{t}Add{/t}"     id="addNtpServer" {$gotoNtpServerACL}
91          {if $inheritTimeServer} disabled {/if}>
92         <input type="submit" name="delNtpServer" value="{t}Delete{/t}"  id="delNtpServer" {$gotoNtpServerACL}
93          {if $inheritTimeServer} disabled {/if}>
94      </td>
95     </tr>
96    </table>
97   </td>
98  </tr>
99 </table>
101 {if $cn neq 'wdefault'}
102 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
104 {$netconfig}
105 {/if}
107 {if $fai_activated}
108 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
109 <h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
110 <table summary="">
111  <tr>
112   <td>
113    <select size="1" name="saction" {$actionACL} title="{t}Select action to execute for this terminal{/t}">
114     <option>&nbsp;</option>
115     {html_options options=$actions}
116    </select>
117   </td>
118   <td>
119    <input type=submit name="action" value="{t}Execute{/t}">
120   </td>
121  </tr>
122 </table>
123 {/if}
124 <input type="hidden" name="workgeneric_posted" value="1">
125  {if $cn eq 'wdefault'}
126 <!-- Place cursor -->
127                 <script language="JavaScript" type="text/javascript">
128                   <!-- // First input field on page
129                         focus_field('l');
130                   -->
131                 </script>
132      {else}
133                 <script language="JavaScript" type="text/javascript">
134                   <!-- // First input field on page
135                         focus_field('cn');
136                   -->
137                 </script>
138      {/if}