Code

Added permissions opsiLicense handling for hosts
[gosa.git] / gosa-plugins / opsi / admin / opsiLicenses / licenseUsageByHost.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;width: 50%; padding: 5px; border-right: solid 1px #AAA; '>
14         <h2>{t}Licenses used{/t}</h2>
15 {render acl=$boundToHostACL}
16         {$licenseUses}
17 {/render}
18     </td>
19     <td style='vertical-align:top;'>
20         <h2>{t}Licenses reserved for this host{/t}</h2>
21 {render acl=$boundToHostACL}
22         {$licenseReserved}
23 {/render}
24 {render acl=$boundToHostACL}
25         <select name='availableLicense'>
26 {/render}
27           {html_options options=$availableLicenses}
28         </select>
29 {render acl=$boundToHostACL}
30         <input type='submit' name='addReservation' value='{msgPool type=addButton}'>
31 {/render}
32     </td>
33   </tr>
34 </table>
36 <input name='opsiLicenseUsagePosted' value='1' type='hidden'>
37 {/if}