Code

Fixed styles for licenses
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 15:46:57 +0000 (15:46 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 15:46:57 +0000 (15:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16798 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl
gosa-plugins/opsi/admin/opsiLicenses/licensePoolGeneric.tpl
gosa-plugins/opsi/admin/opsiLicenses/licenseUsageByHost.tpl

index f8dc81e5db861cae637e7f8d129b6e0e42d80ee7..6244cc190f0b067b4dfe3d4248542d8e3efa62dd 100644 (file)
@@ -12,8 +12,7 @@
 
 <table style='width:100%'>
   <tr>
-    <td style='width:50%; border-right: solid 1px #AAA; padding: 5px; vertical-align:top;'>
-        
+    <td style='width:50%; padding: 5px; ' class='right-border'>        
         <table>
           <tr>
             <td>
@@ -42,8 +41,7 @@
         </table>
 
     </td>
-    <td style='padding: 5px; vertical-align:top;'>
-
+    <td style='padding: 5px; '>
         <table>
           <tr>
             <td>
@@ -63,8 +61,7 @@
     <td colspan="2"><p class='separator'>&nbsp;</p></td>
   </tr>
   <tr>
-    <td style='border-right: solid 1px #AAA; padding: 5px; vertical-align:top;'>
-    
+    <td style='padding: 5px; ' class='right-border'>    
         <table>
           <tr>
             <td>
         </table>
  
     </td> 
-    <td style='border-right: solid 1px #AAA; padding: 5px; vertical-align:bottom;'>
-   
+    <td style='padding: 5px; ' class='right-border'>   
         <table>
           <tr>
             <td>
 
 <table width="100%">
   <tr>
-    <td style='width:50%;border-right: solid 1px #AAA; padding: 5px; vertical-align:top;'>
-    
+    <td style='width:50%;padding: 5px; ' class='right-border'>    
         <table>
           <tr>
             <td>
             </td>
             <td>
               {if $initially_was_account}
-                <select name='dummy223' disabled>
+                <select name='dummy223' disabled size=1>
                   {html_options options=$licenseModels values=$licenseModels selected=$licenseModel}
                 </select>
               {else}
-                <select name='licenseModel' onChange='document.mainform.submit();'>
+                <select name='licenseModel' onChange='document.mainform.submit();' size=1>
                   {html_options options=$licenseModels values=$licenseModels selected=$licenseModel}
                 </select>
               {/if}
 
 <table width="100%">
   <tr>
-    <td style='width:50%;border-right: solid 1px #AAA; padding: 5px; vertical-align:top;'>
-    
+    <td style='width:50%;padding: 5px; ' class='right-border'>    
         <table>
           <tr>
             <td>
             </td>
             <td>
 {render acl=$licenseACL}
-              <select name='boundToHost'>
+              <select name='boundToHost' size=1>
                 <option value="">{t}none{/t}</option>
                 {html_options options=$hosts selected=$boundToHost}
               </select>
         </table>
  
     </td> 
-    <td style='border-right: solid 1px #AAA; padding: 5px; vertical-align:bottom;'>
-   
+    <td style='padding: 5px; ' class='right-border'>   
         <table width="100%">
           <tr>
             <td colspan="2">
index 7b4929d3dc616d015edba58ba434cc8f7da44627..76311bcb44fc5e8aed2b32d435586fbe52246c4b 100644 (file)
@@ -11,8 +11,7 @@
 
 <table width="100%">
   <tr> 
-    <td style='vertical-align:top;'>
-        <!-- GENERIC -->
+    <td>        <!-- GENERIC -->
         <h3>{t}Generic{/t}</h3>
         <table>
           <tr> 
@@ -38,8 +37,7 @@
         </table>
 
     </td>
-    <td style='width:50%; border-left: 1px solid #AAA;padding: 5px;'>
-        <!-- LICENSES -->
+    <td style='width:50%; padding: 5px;' class='left-border'>        <!-- LICENSES -->
         <h3>{t}Licenses{/t}</h3>
         <table style='width:100%;'>
           <tr> 
@@ -73,7 +71,7 @@
               </select><br>
 {/render}
 {render acl=$productIdsACL}
-              <select name='availableProduct'>
+              <select name='availableProduct' size=1>
                 {html_options options=$availableProductIds}
               </select>
 {/render}
@@ -90,8 +88,7 @@
         </table>
 
     </td>
-    <td style="border-left: 1px solid #AAA; padding: 5px;vertical-align:top">
-        <!-- SOFTWARE -->
+    <td style='padding: 5px;' class='left-border'>        <!-- SOFTWARE -->
         <h3>{t}Windows software IDs{/t}</h3>
         <table style='width:100%;'>
           <tr> 
index 7f99b9b6bff7fc00e403be4b5de77160952b50b5..ec4df090640e6f0e4396f4171791c791a7f6acba 100644 (file)
 
 <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>
+    <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'>
+        <select name='availableLicense' size=1>
 {/render}
           {html_options options=$availableLicenses}
         </select>
@@ -26,8 +25,7 @@
 
 {/render}
     </td>
-    <td style='vertical-align:top;'>
-        <h3>{t}Licenses used{/t}</h3>
+    <td>        <h3>{t}Licenses used{/t}</h3>
 {render acl=$boundToHostACL}
         {$licenseUses}
 {/render}