Code

Updated listing table summary
[gosa.git] / gosa-plugins / opsi / admin / opsiLicenses / licensePoolGeneric.tpl
1 {if !$init_successfull}
3   <br>
4     <b>{msgPool type=siError}</b><br>
5     {t}Check if the GOsa support daemon (gosa-si) is running.{/t}&nbsp;
6     <button type='submit' name='retry_init'>{t}Retry{/t}</button>
7   <br>
8   <br>
10 {else}
12 <table width="100%" summary="{t}Lincense settings{/t}">
13   <tr> 
14     <td>
16         <!-- GENERIC -->
17         <h3>{t}Generic{/t}</h3>
18         <table summary="{t}Generic settings{/t}">
19           <tr> 
20             <td>{t}Name{/t}</td>
21             <td>
22               {if $initially_was_account}
23                 <input type='text' value='{$cn}' disabled>
24               {else}
25 {render acl=$cnACL}
26               <input type='text' value='{$cn}' name='cn'>
27 {/render}
28               {/if}
29             </td>
30           </tr>
31           <tr> 
32             <td>{t}Description{/t}</td>
33             <td>
34 {render acl=$descriptionACL}
35               <input type='text' value='{$description}' name='description'>
36 {/render}
37             </td>
38           </tr>
39         </table>
41     </td>
42     <td style='width:50%; padding: 5px;' class='left-border'>        <!-- LICENSES -->
43       <h3>{t}Licenses{/t}</h3>
44       {$licenses}
45 {render acl=$licensesACL}
46               <button type='submit' name='addLicense'>{msgPool type=addButton}</button>
48 {/render}
49     </td>
50   </tr>
51   <tr> 
52     <td colspan="2">
53       <hr>
54     </td>
55   </tr>
56   <tr>
57     <td style='width:50%'>
58         <h3>{t}Applications{/t}</h3>
59 {render acl=$productIdsACL}
60               <select name='productIds[]' multiple size="6" style="width:100%;">
61                 {html_options options=$productIds}
62               </select><br>
63 {/render}
64 {render acl=$productIdsACL}
65               <select name='availableProduct' size=1>
66                 {html_options options=$availableProductIds}
67               </select>
68 {/render}
69 {render acl=$productIdsACL}
70               <button type='submit' name='addProduct'>{msgPool type=addButton}</button>
72 {/render}
73 {render acl=$productIdsACL}
74               <button type='submit' name='removeProduct'>{msgPool type=delButton}</button>
76 {/render}
77     </td>
78     <td style='padding: 5px;' class='left-border'>        <!-- SOFTWARE -->
79         <h3>{t}Windows software IDs{/t}</h3>
80 {render acl=$windowsSoftwareIdsACL}
81               <select name='softwareIds[]' multiple size="6" style="width:100%;">
82                 {html_options options=$softwareIds}
83               </select>
84 {/render}
85     </td>
86   </tr>
87 </table>
88 <input name='opsiLicensePoolPosted' value='1' type='hidden'>
89 {/if}