Code

Systems Workstation Startup
[gosa.git] / plugins / admin / systems / workstationStartup.tpl
1 {if $member_of_ogroup}
2 <input type='submit' name='inheritAll' value='{t}Inherit all{/t}'>
3 {/if}
5 <table summary="" style="width:100%;">
6  <tr>
7   <td style="width:50%; vertical-align:top;">
8 <h2><img class="center" alt="" align="middle" src="images/penguin.png"> {t}Boot parameters{/t}</h2>
10    <table summary="" style="width:100%">
11     <tr>
12      <td><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
13      <td style="width:70%">
14         <select id="gotoBootKernel" name="gotoBootKernel" {$gotoBootKernelACL}>
15          {html_options options=$gotoBootKernels selected=$gotoBootKernel}
16          <option disabled>&nbsp;</option>
17         </select>
18       </td>
19     </tr>
20     <tr>
21      <td><LABEL for="customParameters">{t}Custom options{/t}</LABEL></td>
22      <td><input name="customParameters" id="customParameters" size=25 maxlength=500 {$gotoKernelParametersACL}
23                 value="{$customParameters}" title="{t}Enter any parameters that should be passed to the kernel as append line during bootup{/t}"></td>
24     </tr>
25     <tr>
26      <td colspan="2" style='vertical-align:top;padding-top:3px;'><LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL><br>
27           {$SelectBoxLdapServer}        
28      </td>
29     </tr>
30    </table>
32   </td>
34   <td style="border-left:1px solid #A0A0A0">
35      &nbsp;
36   </td>
37   
38   <td style="vertical-align:top;">
39         
40 {if $fai_activated}
42         {if $FAIdebianMirror == "inherited"}
44                 <table>
45                         <tr>
46                                 <td>
47                                         <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}FAI server{/t}
48                                         </h2>
49                                 </td>
50                                 <td>
51                                         <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Release{/t}
52                                         </h2>
53                                 </td>
54                         </tr>
55                         <tr>
56                                 <td>
57                                         <select name="FAIdebianMirror"   onchange='document.mainform.submit()' {$FAIdebianMirrorACL}>
58                                                 {html_options options=$FAIdebianMirrors output=$FAIdebianMirrors selected=$FAIdebianMirror}
59                                         </select>
60                                 </td>
61                                 <td>
62                                         <select name="FAIrelease"  disabled>
63                                         {html_options options=$InheritedFAIrelease output=$InheritedFAIrelease selected=$InheritedFAIrelease}
64                                         </select>
65                                 </td>
66                         </tr>
67                 </table>
68                 <h2>
69                         <img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Assigned FAI classes{/t}
70                 </h2>
71                 {$FAIScriptlist}        
72         {else}
74                 <table>
75                         <tr>
76                                 <td>
77                                         <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}FAI server{/t}
78                                         </h2>
79                                 </td>
80                                 <td>
81                                         <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Release{/t}
82                                         </h2>
83                                 </td>
84                         </tr>
85                         <tr>
86                                 <td>
87                                         <select name="FAIdebianMirror" {$FAIdebianMirrorACL} onchange='document.mainform.submit()'>
88                                                 {html_options options=$FAIdebianMirrors output=$FAIdebianMirrors selected=$FAIdebianMirror}
89                                                 <option disabled>&nbsp;</option>
90                                         </select>
91                                 <!--<input type="submit" value="{t}set{/t}" name="refresh">-->
92                                 </td>
93                                 <td>
94                                         <select name="FAIrelease"  onchange='document.mainform.submit()' {$FAIclassACL}>
95                                         {html_options options=$FAIreleases output=$FAIreleases selected=$FAIrelease}
96                                         </select>
97                                 </td>
98                         </tr>
99                 </table>
100                 <h2>
101                         <img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Assigned FAI classes{/t}
102                 </h2>
103                 {$FAIScriptlist}        
105                 <select name="FAIclassesSel" {$FAIclassACL}>
106                         {html_options values=$FAIclassesKeys output=$FAIclasses}
107                         <option disabled>&nbsp;</option>
108                 </select>       
109                 <input name="AddClass" value="{t}Add{/t}" type="submit"> 
110 <!--            <input name="DelClass" value="{t}Delete{/t}" type="submit"> -->
111         {/if}
112 {/if}
113                 </td>
114         </tr>
115 </table>
117 <table summary="" style="width:100%;">
118  <tr><td colspan=2><p class="plugbottom" style="margin-top:0px;"></p></td></tr>
120  <tr>
121   <td style="width:50%; vertical-align:top; border-right:1px solid #B0B0B0">
122    <h2>
123     <img class="center" alt="" align="middle" src="images/hardware.png"> {t}Kernel modules (format: name parameters){/t}
124    </h2>
125     <select style="width:100%; height:150px;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}" 
126         {$gotoModulesACL}>
127      {html_options values=$gotoModules output=$gotoModules}
128          <option disabled>&nbsp;</option>
129     </select>
130     <br>
131     <input name="module" size=30 align=middle maxlength=30 {$gotoModulesACL}>
132     <input type=submit value="{t}Add{/t}" name="add_module" {$gotoModulesACL}>&nbsp;
133     <input type=submit value="{t}Delete{/t}" name="delete_module" {$gotoModulesACL}>
134   </td>
136   <td style="vertical-align:top;">
137         <h2><img class="center" alt="" src="images/fai_partitionTable.png" align="middle">&nbsp;<LABEL for="gotoShare">{t}Shares{/t}</LABEL></h2>
138         <table summary="" style="width:100%">
139                 <tr>
140                         <td>
141                         <select style="width:100%;height:150px;" name="gotoShare" multiple size=4 {$gotoShareACL} id="gotoShare">
142                                              {html_options values=$gotoShareKeys output=$gotoShares}
143                                                                 <option disabled>&nbsp;</option>
144                                 </select>
145                                 <br>
146                         <select name="gotoShareSelection" {$gotoShareACL}>
147                                                     {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
148                                                         <option disabled>&nbsp;</option>
149                                 </select>
150                                 <input type="text" size=15 {$gotoShareACL} name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
151                                 <input type="submit" {$gotoShareACL} name="gotoShareAdd" value="{t}Add{/t}">
152                                 <input type="submit" {$gotoShareACL} name="gotoShareDel" value="{t}Remove{/t}" {if $gotoSharesCount == 0} disabled {/if}>
153                         </td>
154                 </tr>
155         </table>
156   </td>
157  </tr>
158 </table>
159 <input name="WorkstationStarttabPosted" type="hidden" value="1">
160 <!-- Place cursor -->
161 <script language="JavaScript" type="text/javascript">
162   <!-- // First input field on page
163         focus_field('gotoLdapServer');
164   -->
165 </script>