Code

Updated license handling.
[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               <input type='submit' name='addLicense' value='{msgPool type=addButton}'>
48             </td>
49           </tr>
50         </table>
52     </td>
53   </tr>
54   <tr> 
55     <td colspan="2">
56       <p class='separator'>&nbsp;</p>
57     </td>
58   </tr>
59   <tr>
60     <td style='width:50%'>
61         <!-- APPLICATIONS -->
62         <h2>{t}Applications{/t}</h2>
63         <table style='width:100%;'>
64           <tr> 
65             <td>
66               <select name='productIds[]' multiple size="6" style="width:100%;">
67                 {html_options options=$productIds}
68               </select><br>
69               <select name='availableProduct'>
70                 {html_options options=$availableProductIds}
71               </select>
72               <input type='submit' name='addProduct' value='{msgPool type='addButton'}'>
73               <input type='submit' name='removeProduct' value='{msgPool type='delButton'}'>
74             </td>
75           </tr>
76         </table>
78     </td>
79     <td style="border-left: 1px solid #AAA; padding: 5px;">
80         <!-- SOFTWARE -->
81         <h2>{t}Windows software IDs{/t}</h2>
82         <table style='width:100%;'>
83           <tr> 
84             <td>
85               <select name='softwareIds[]' multiple size="6" style="width:100%;">
86                 {html_options options=$softwareIds}
87               </select>
88               <input type='text' name='newSoftwareId' value='' size=10>
89               <input type='submit' name='addSoftware' value='{msgPool type='addButton'}'>
90               <input type='submit' name='removeSoftware' value='{msgPool type='delButton'}'>
91             </td>
92           </tr>
93         </table>
95     </td>
96   </tr>
97 </table>
98 <input name='opsiLicensePoolPosted' value='1' type='hidden'>
99 {/if}