Code

replaced <p> seperator style by <hr >
[gosa.git] / gosa-plugins / opsi / admin / opsiLicenses / licenseUsageByHost.tpl
index 8305a8184e29c32ee1812120d86d9e69032f5a3b..a82d76c0a8dcf28ef413c2278b8c61a886f42202 100644 (file)
@@ -2,17 +2,36 @@
 <br>
 <b>{msgPool type=siError}</b><br>
 {t}Check if the GOsa support daemon (gosa-si) is running.{/t}&nbsp;
-<input type='submit' name='retry_init' value="{t}retry{/t}">
+<input type='submit' name='retry_init' value="{t}Retry{/t}">
 <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='vertical-align:top;width: 50%; padding-right:5px; border-right: solid 1px #AAA; '>
+        <h3>{t}Reserved for{/t}</h3>
+{render acl=$boundToHostACL}
+        {$licenseReserved}
+{/render}
+{render acl=$boundToHostACL}
+        <select name='availableLicense'>
+{/render}
+          {html_options options=$availableLicenses}
+        </select>
+{render acl=$boundToHostACL}
+        <input type='submit' name='addReservation' value='{msgPool type=addButton}'>
+{/render}
+    </td>
+    <td style='vertical-align:top;'>
+        <h3>{t}Licenses used{/t}</h3>
+{render acl=$boundToHostACL}
+        {$licenseUses}
+{/render}
+    </td>
+  </tr>
+</table>
 
 <input name='opsiLicenseUsagePosted' value='1' type='hidden'>
 {/if}