You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2007/01/29 05:12:44 UTC

svn commit: r500936 - /ofbiz/trunk/applications/product/webapp/catalog/product/QuickAddVariants.ftl

Author: lektran
Date: Sun Jan 28 20:12:44 2007
New Revision: 500936

URL: http://svn.apache.org/viewvc?view=rev&rev=500936
Log:
Applied patch from Jonathon Wong (OFBIZ-622), fixes layout problem which was causing elements to overlap on the Quick Add Product Variants screen 

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/product/QuickAddVariants.ftl

Modified: ofbiz/trunk/applications/product/webapp/catalog/product/QuickAddVariants.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/QuickAddVariants.ftl?view=diff&rev=500936&r1=500935&r2=500936
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/QuickAddVariants.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/QuickAddVariants.ftl Sun Jan 28 20:12:44 2007
@@ -50,17 +50,8 @@
     </#if>
     
     <br/>
-    <div class="boxlink">
-        <div class="tabletext"><b>${uiLabelMap.ProductVariantAdd}:</b></div>
-        <form action="<@o...@ofbizUrl>" method="post" style="margin: 0;" name="addVariantsToVirtual">
-            <input type="hidden" name="productId" value="${productId}"/>
-            <div><span class="tabletext">${uiLabelMap.ProductVariantProductIds}:</span></div>
-            <div><textarea name="variantProductIdsBag" rows="6" cols="20"></textarea></div>
-            <div><input type="submit" class="smallSubmit" value="${uiLabelMap.ProductVariantAdd}"/></div>
-        </form>
-    </div>
-    
     <#if (featureTypes.size() > 0)>
+        <div style="float: left">
         <table border="1" cellpadding="2" cellspacing="0">
             <#assign rowCount = 0>
             <form method="post" action="<@o...@ofbizUrl>" name="selectAllForm">
@@ -121,6 +112,16 @@
 </tr>
                 </form>
         </table>
+        </div>
     <#else>
-        <div class="tabletext"><b>${uiLabelMap.ProductNoSelectableFeaturesFound}</b></div>
+        <div class="tabletext" style="float: left"><b>${uiLabelMap.ProductNoSelectableFeaturesFound}</b></div>
     </#if>
+    <div class="boxlink">
+        <div class="tabletext"><b>${uiLabelMap.ProductVariantAdd}:</b></div>
+        <form action="<@o...@ofbizUrl>" method="post" style="margin: 0;" name="addVariantsToVirtual">
+            <input type="hidden" name="productId" value="${productId}"/>
+            <div><span class="tabletext">${uiLabelMap.ProductVariantProductIds}:</span></div>
+            <div><textarea name="variantProductIdsBag" rows="6" cols="20"></textarea></div>
+            <div><input type="submit" class="smallSubmit" value="${uiLabelMap.ProductVariantAdd}"/></div>
+        </form>
+    </div>