Code

Udpated gotomasses
[gosa.git] / plugins / admin / systems / workstationStartup.tpl
1 <table summary="" style="width:100%;">
2  <tr>
3   <td style="width:50%; vertical-align:top;">
4 <h2><img class="center" alt="" align="middle" src="images/penguin.png"> {t}Boot parameters{/t}</h2>
6    <table summary="" style="width:100%">
7     <tr>
8      <td><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
9      <td style="width:70%">
10 {render acl=$gotoBootKernelACL}
11         <select id="gotoBootKernel" name="gotoBootKernel">
12          {html_options options=$gotoBootKernels selected=$gotoBootKernel}
13         </select>
14 {/render}
15       </td>
16     </tr>
17     <tr>
18      <td><LABEL for="customParameters">{t}Custom options{/t}</LABEL></td>
19      <td>
20 {render acl=$gotoKernelParametersACL}
21         <input name="customParameters" id="customParameters" size=25 maxlength=500
22                 value="{$customParameters}" title="{t}Enter any parameters that should be passed to the kernel as append line during bootup{/t}">
23 {/render}
24      </td>
25     </tr>
26     <tr>
27      <td colspan="2" style='vertical-align:top;padding-top:3px;'><LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL>
28 {render acl=$gotoLdapServerACL}
29 (<input type='checkbox' name='gotoLdap_inherit' {if $gotoLdap_inherit} checked {/if} value="1"
30         onClick="document.mainform.submit();" class='center'>
31 &nbsp;{t}inherit from group{/t})
32 {if !$JS}
33         <input type='image' src="images/list_reload.png" alt='{t}Reload{/t}' class='center'>
34 {/if}
35 {/render}
36 {render acl=$gotoLdapServerACL_inherit}
37           {$gotoLdapServers}    
38 {/render}
39 {render acl=$gotoLdapServerACL_inherit}
40         <select name='ldap_server_to_add' id='ldap_server_to_add'>
41           {html_options options=$gotoLdapServerList}    
42     </select>
43 {/render}
44 {render acl=$gotoLdapServerACL_inherit}
45         <input type='submit' name='add_ldap_server' value="{t}Add{/t}" id='add_ldap_server'>
46 {/render}
47      </td>
48     </tr>
49    </table>
51   </td>
53   <td style="border-left:1px solid #A0A0A0">
54      &nbsp;
55   </td>
56   
57   <td style="vertical-align:top;">
59         {if $fai_activated}
61                 {if $FAIdebianMirror == "inherited"}
63                         <table>
64                                 <tr>
65                                         <td>
66                                                 <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}FAI server{/t}
67                                                 </h2>
68                                         </td>
69                                         <td>
70                                                 <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Release{/t}
71                                                 </h2>
72                                         </td>
73                                 </tr>
74                                 <tr>
75                                         <td>
76         {render acl=$FAIdebianMirrorACL}
77                                                 <select name="FAIdebianMirror"   onchange='document.mainform.submit()'>
78                                                         {html_options options=$FAIdebianMirrors output=$FAIdebianMirrors selected=$FAIdebianMirror}
79                                                 </select>
80         {/render}
81                                         </td>
82                                         <td>
83                                                 <select name="FAIrelease"  disabled>
84                                                 {html_options options=$InheritedFAIrelease output=$InheritedFAIrelease selected=$InheritedFAIrelease}
85                                                 </select>
86                                         </td>
87                                 </tr>
88                         </table>
89                         <h2>
90                                 <img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Assigned FAI classes{/t}
91                         </h2>
92         {render acl=$FAIclassACL}
93                         {$FAIScriptlist}        
94         {/render}
95                 {else}
97                         <table>
98                                 <tr>
99                                         <td>
100                                                 <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}FAI server{/t}
101                                                 </h2>
102                                         </td>
103                                         <td>
104                                                 <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Release{/t}
105                                                 </h2>
106                                         </td>
107                                 </tr>
108                                 <tr>
109                                         <td>
110         {render acl=$FAIdebianMirrorACL}
111                                                 <select name="FAIdebianMirror" {$FAIdebianMirrorACL} onchange='document.mainform.submit()'>
112                                                         {foreach from=$FAIdebianMirrors item=val key=key}
113                                                                 {if $val.USE}
114                                                                         <option value="{$key}" {if $FAIdebianMirror == $key} selected {/if}>{$val.NAME}</option>
115                                                                 {else}
116                                                                         <option value="auto" disabled>{$val.NAME}</option>
117                                                                 {/if}
118                                                         {/foreach}
119                                                         <option disabled>&nbsp;</option>
120                                                 </select>
121         {/render}
122         {if $javascript eq 'false'}
123         {render acl=$FAIdebianMirrorACL}
124                 <input type="submit" value="{t}set{/t}" name="refresh">
125         {/render}
126         {/if}
127                                         </td>
128                                         <td>
129         {render acl=$FAIreleaseACL}
130                                                 <select name="FAIrelease"  onchange='document.mainform.submit()' {$FAIclassACL}>
131                                                         {foreach from=$FAIreleases item=val key=key}
132                                                                 {if $val.USE}
133                                                                         <option value="{$val.NAME}" {if $FAIrelease == $key} selected {/if}>{$val.NAME}</option>
134                                                                 {else}
135                                                                         <option value="auto" disabled>{$val.NAME}</option>
136                                                                 {/if}
137                                                         {/foreach}
138                                                 </select>
139         {/render}
140                                         </td>
141                                 </tr>
142                         </table>
143                         <h2>
144                                 <img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Assigned FAI classes{/t}
145                         </h2>
146         {render acl=$FAIclassACL}
147                         {$FAIScriptlist}        
148         {/render}
150         {render acl=$FAIclassACL}
151                         <select name="FAIclassesSel">
152                                 {html_options values=$FAIclassesKeys output=$FAIclasses}
153                                 <option disabled>&nbsp;</option>
154                         </select>       
155         {/render}
156         {render acl=$FAIclassACL}
157                         <input name="AddClass" value="{t}Add{/t}" type="submit"> 
158         {/render}
159         <!--            <input name="DelClass" value="{t}Delete{/t}" type="submit"> -->
160                 {/if}
162                 {else}
164                         <h2>{t}FAI Object assignment disabled. You can't use this feature until FAI is activated.{/t}</h2>                      
166                 {/if}
167                 </td>
168         </tr>
169 </table>
171 <table summary="" style="width:100%;">
172  <tr><td colspan=2><p class="plugbottom" style="margin-top:0px;"></p></td></tr>
174  <tr>
175   <td style="width:50%; vertical-align:top; border-right:1px solid #B0B0B0">
176    <h2>
177     <img class="center" alt="" align="middle" src="images/hardware.png"> {t}Kernel modules (format: name parameters){/t}
178    </h2>
179 {render acl=$gotoModulesACL}
180     <select style="width:100%; height:150px;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}">
181      {html_options values=$gotoModules output=$gotoModules}
182          <option disabled>&nbsp;</option>
183     </select>
184 {/render}
185     <br>
186 {render acl=$gotoModulesACL}
187     <input name="module" size=30 align=middle maxlength=30>
188 {/render}
189 {render acl=$gotoModulesACL}
190     <input type=submit value="{t}Add{/t}" name="add_module">&nbsp;
191 {/render}
192 {render acl=$gotoModulesACL}
193     <input type=submit value="{t}Delete{/t}" name="delete_module">
194 {/render}
195   </td>
197   <td style="vertical-align:top;">
198         <h2><img class="center" alt="" src="images/fai_partitionTable.png" align="middle">&nbsp;<LABEL for="gotoShare">{t}Shares{/t}</LABEL></h2>
199         <table summary="" style="width:100%">
200                 <tr>
201                         <td>
202 {render acl=$gotoShareACL}
203                         <select style="width:100%;height:150px;" name="gotoShare" multiple size=4 id="gotoShare">
204                                              {html_options values=$gotoShareKeys output=$gotoShares}
205                                                                 <option disabled>&nbsp;</option>
206                                 </select>
207 {/render}
208                                 <br>
209 {render acl=$gotoShareACL}
210                         <select name="gotoShareSelection">
211                                                     {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
212                                                         <option disabled>&nbsp;</option>
213                                 </select>
214 {/render}
215 {render acl=$gotoShareACL}
216                                 <input type="text" size=15 name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
217 {/render}
218 {render acl=$gotoShareACL}
219                                 <input type="submit" name="gotoShareAdd" value="{t}Add{/t}">
220 {/render}
221 {render acl=$gotoShareACL}
222                                 <input type="submit" name="gotoShareDel" value="{t}Remove{/t}" {if $gotoSharesCount == 0} disabled {/if}>
223 {/render}
224                         </td>
225                 </tr>
226         </table>
227   </td>
228  </tr>
229 </table>
230 <input name="WorkstationStarttabPosted" type="hidden" value="1">
231 <!-- Place cursor -->
232 <script language="JavaScript" type="text/javascript">
233   <!-- // First input field on page
234         focus_field('gotoLdapServer');
235   -->
236 </script>