Code

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