Code

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