Code

Added acls for printer glpi
[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          <option disabled>&nbsp;</option>
14         </select>
15 {/render}
16       </td>
17     </tr>
18     <tr>
19      <td><LABEL for="customParameters">{t}Custom options{/t}</LABEL></td>
20      <td>
21 {render acl=$gotoKernelParametersACL}
22         <input name="customParameters" id="customParameters" size=25 maxlength=500
23                 value="{$customParameters}" title="{t}Enter any parameters that should be passed to the kernel as append line during bootup{/t}">
24 {/render}
25      </td>
26     </tr>
27     <tr>
28      <td colspan="2" style='vertical-align:top;padding-top:3px;'><LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL><br>
29 {render acl=$gotoLdapServerACL}
30           {$SelectBoxLdapServer}        
31 {/render}
32      </td>
33     </tr>
34    </table>
36   </td>
38   <td style="border-left:1px solid #A0A0A0">
39      &nbsp;
40   </td>
41   
42   <td style="vertical-align:top;">
44         {if $FAIdebianMirror == "inherited"}
46                 <table>
47                         <tr>
48                                 <td>
49                                         <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}FAI server{/t}
50                                         </h2>
51                                 </td>
52                                 <td>
53                                         <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Release{/t}
54                                         </h2>
55                                 </td>
56                         </tr>
57                         <tr>
58                                 <td>
59 {render acl=$FAIdebianMirrorACL}
60                                         <select name="FAIdebianMirror"   onchange='document.mainform.submit()'>
61                                                 {html_options options=$FAIdebianMirrors output=$FAIdebianMirrors selected=$FAIdebianMirror}
62                                         </select>
63 {/render}
64                                 </td>
65                                 <td>
66                                         <select name="FAIrelease"  disabled>
67                                         {html_options options=$InheritedFAIrelease output=$InheritedFAIrelease selected=$InheritedFAIrelease}
68                                         </select>
69                                 </td>
70                         </tr>
71                 </table>
72                 <h2>
73                         <img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Assigned FAI classes{/t}
74                 </h2>
75 {render acl=$FAIclassACL}
76                 {$FAIScriptlist}        
77 {/render}
78         {else}
80                 <table>
81                         <tr>
82                                 <td>
83                                         <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}FAI server{/t}
84                                         </h2>
85                                 </td>
86                                 <td>
87                                         <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Release{/t}
88                                         </h2>
89                                 </td>
90                         </tr>
91                         <tr>
92                                 <td>
93 {render acl=$FAIdebianMirrorACL}
94                                         <select name="FAIdebianMirror" onchange='document.mainform.submit()'>
95                                                 {html_options options=$FAIdebianMirrors output=$FAIdebianMirrors selected=$FAIdebianMirror}
96                                         </select>
97 {/render}
98 {if $javascript eq 'false'}
99 {render acl=$FAIdebianMirrorACL}
100         <input type="submit" value="{t}set{/t}" name="refresh">
101 {/render}
102 {/if}
103                                 </td>
104                                 <td>
105 {render acl=$FAIreleaseACL}
106                                         <select name="FAIrelease"  onchange='document.mainform.submit()'>
107                                         {html_options options=$FAIreleases output=$FAIreleases selected=$FAIrelease}
108                                         </select>
109 {/render}
110                                 </td>
111                         </tr>
112                 </table>
113                 <h2>
114                         <img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Assigned FAI classes{/t}
115                 </h2>
116 {render acl=$FAIclassACL}
117                 {$FAIScriptlist}        
118 {/render}
120                 <select name="FAIclassesSel">
121                         {html_options values=$FAIclassesKeys output=$FAIclasses}
122                         <option disabled>&nbsp;</option>
123                 </select>       
124                 <input name="AddClass" value="{t}Add{/t}" type="submit"> 
125 <!--            <input name="DelClass" value="{t}Delete{/t}" type="submit"> -->
126         {/if}
127                 </td>
128         </tr>
129 </table>
131 <table summary="" style="width:100%;">
132  <tr><td colspan=2><p class="plugbottom" style="margin-top:0px;"></p></td></tr>
134  <tr>
135   <td style="width:50%; vertical-align:top; border-right:1px solid #B0B0B0">
136    <h2>
137     <img class="center" alt="" align="middle" src="images/hardware.png"> {t}Kernel modules (format: name parameters){/t}
138    </h2>
139 {render acl=$gotoModulesACL}
140     <select style="width:100%; height:150px;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}">
141      {html_options values=$gotoModules output=$gotoModules}
142          <option disabled>&nbsp;</option>
143     </select>
144 {/render}
145     <br>
146 {render acl=$gotoModulesACL}
147     <input name="module" size=30 align=middle maxlength=30>
148 {/render}
149 {render acl=$gotoModulesACL}
150     <input type=submit value="{t}Add{/t}" name="add_module">&nbsp;
151 {/render}
152 {render acl=$gotoModulesACL}
153     <input type=submit value="{t}Delete{/t}" name="delete_module">
154 {/render}
155   </td>
157   <td style="vertical-align:top;">
158         <h2><img class="center" alt="" src="images/fai_partitionTable.png" align="middle">&nbsp;<LABEL for="gotoShare">{t}Shares{/t}</LABEL></h2>
159         <table summary="" style="width:100%">
160                 <tr>
161                         <td>
162 {render acl=$gotoShareACL}
163                         <select style="width:100%;height:150px;" name="gotoShare" multiple size=4 id="gotoShare">
164                                              {html_options values=$gotoShareKeys output=$gotoShares}
165                                                                 <option disabled>&nbsp;</option>
166                                 </select>
167 {/render}
168                                 <br>
169 {render acl=$gotoShareACL}
170                         <select name="gotoShareSelection">
171                                                     {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
172                                                         <option disabled>&nbsp;</option>
173                                 </select>
174 {/render}
175 {render acl=$gotoShareACL}
176                                 <input type="text" size=15 name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
177 {/render}
178 {render acl=$gotoShareACL}
179                                 <input type="submit" name="gotoShareAdd" value="{t}Add{/t}">
180 {/render}
181 {render acl=$gotoShareACL}
182                                 <input type="submit" name="gotoShareDel" value="{t}Remove{/t}" {if $gotoSharesCount == 0} disabled {/if}>
183 {/render}
184                         </td>
185                 </tr>
186         </table>
187   </td>
188  </tr>
189 </table>
190 <input name="WorkstationStarttabPosted" type="hidden" value="1">
191 <!-- Place cursor -->
192 <script language="JavaScript" type="text/javascript">
193   <!-- // First input field on page
194   document.mainform.gotoLdapServer.focus();
195   -->
196 </script>