diff --git a/gosa-plugins/opsi/admin/opsiLicenses/licenseUsageByHost.tpl b/gosa-plugins/opsi/admin/opsiLicenses/licenseUsageByHost.tpl
index 8305a8184e29c32ee1812120d86d9e69032f5a3b..ec4df090640e6f0e4396f4171791c791a7f6acba 100644 (file)
<br>
<b>{msgPool type=siError}</b><br>
{t}Check if the GOsa support daemon (gosa-si) is running.{/t}
-<input type='submit' name='retry_init' value="{t}retry{/t}">
+<button type='submit' name='retry_init'>{t}Retry{/t}</button>
+
<br>
<br>
{else}
-<!-- GENERIC -->
-<h2>{t}Licenses used{/t}</h2>
-{$licenseUses}
-<h2>{t}Licenses reserved for this host{/t}</h2>
-{$licenseReserved}
+<table width="100%">
+ <tr>
+ <td style='width: 50%; padding-right:5px; ' class='right-border'> <h3>{t}Reserved for{/t}</h3>
+{render acl=$boundToHostACL}
+ {$licenseReserved}
+{/render}
+{render acl=$boundToHostACL}
+ <select name='availableLicense' size=1>
+{/render}
+ {html_options options=$availableLicenses}
+ </select>
+{render acl=$boundToHostACL}
+ <button type='submit' name='addReservation'>{msgPool type=addButton}</button>
+
+{/render}
+ </td>
+ <td> <h3>{t}Licenses used{/t}</h3>
+{render acl=$boundToHostACL}
+ {$licenseUses}
+{/render}
+ </td>
+ </tr>
+</table>
<input name='opsiLicenseUsagePosted' value='1' type='hidden'>
{/if}