svn commit: r831801 - in /ofbiz/trunk: applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl themes/bizznesstime/webapp/bizznesstime/css/forms.css

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r831801 - in /ofbiz/trunk: applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl themes/bizznesstime/webapp/bizznesstime/css/forms.css

jleroux@apache.org
Author: jleroux
Date: Mon Nov  2 06:15:12 2009
New Revision: 831801

URL: http://svn.apache.org/viewvc?rev=831801&view=rev
Log:
A slightly modified patch from Deepak Dixit "List boxes are not displayed properly in bizznesstime theme." (https://issues.apache.org/jira/browse/OFBIZ-3134) - OFBIZ-3134
I simply used the same syntax than in other themes (XHTML)
+ added =multiple (XHTML compliant) where needed
+ fixed in product quick admin (wrong syntax multiple=true)

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl
    ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl
    ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/forms.css

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl?rev=831801&r1=831800&r2=831801&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl Mon Nov  2 06:15:12 2009
@@ -114,7 +114,7 @@
         <tr>
           <td>&nbsp;</td>
           <td>
-            <select name="additionalRoleTypeId" size="5" multiple>
+            <select name="additionalRoleTypeId" size="5" multiple="multiple">
               <#list roles as role>
               <option value="${role.roleTypeId}">${role.get("description",locale)}</option>
               </#list>

Modified: ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl?rev=831801&r1=831800&r2=831801&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl Mon Nov  2 06:15:12 2009
@@ -377,7 +377,7 @@
                 <table cellspacing="0" class="basic-table">
                     <tr>
                         <td>
-                            <select multiple="true" name="categoryId">
+                            <select multiple="multiple" name="categoryId">
                                 <#list allCategories as category>
                                     <option value="${category.productCategoryId?if_exists}">${category.description?if_exists} ${category.productCategoryId}</option>
                                 </#list>

Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/forms.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/forms.css?rev=831801&r1=831800&r2=831801&view=diff
==============================================================================
--- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/forms.css (original)
+++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/forms.css Mon Nov  2 06:15:12 2009
@@ -1,108 +1,112 @@
-/***********************************************
-APACHE OPEN FOR BUSINESS
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-***********************************************/
-
-form {
-    border: 0;
-    margin: 0;
-    text-align: left;
-}
-
-form label {
-    font-size: 11px;
-    color: #5d5644;
-    margin-top: 5px;
- text-transform:uppercase;
-}
-
-form a img {
-    float:none;
-    margin:0px 5px 10px 5px;
-}
-
-form tbody {
- border:none;
-}
-form tbody tr {
- border:0px;
-}
-
-input[type="radio"],input[type="checkbox"] {
- font-size: 1.1em;
- margin: 5px 5px 10px 5px;
-}
-
-input[type="text"],input[type="password"] {
- border: #ddd solid 2px;
- font-weight:bold;
- font-size: 1.1em;
- margin:5px 5px 5px 5px;
- padding:2px 4px;
-}
-
-input[type="submit"],input[type="button"],input[type="reset"] {
- background:url(../images/btn-bg.gif) center left repeat-x;
- border: #ddd solid 2px;
-    color: #444;
- font-weight:bold;
- line-height:1.8em;
- margin:5px 5px 2px 5px;
- padding:2px 4px;
- text-transform:uppercase;
-}
-
-input[type="submit"]:hover,
-input[type="button"],
-input[type="reset"] {
- color: #1c334d;
- cursor: pointer;
- text-decoration: none;
-}
-
-input[type="file"] {
- font-size: 1.1em;
- height: 1.9em; /* force ctrl to scale with text */
- background-color: #ffffff;
- border: #ddd solid 2px;
-    color: #444;
-}
-
-select {
- background-color: #ffffff;
- border: #ddd solid 2px;
- font-size: 1.1em;
- height: 1.6em; /* force ctrl to scale with text */
- margin:5px 5px 2px 5px;
-}
-
-textarea {
- border: #ddd solid 2px;
- font-weight:bold;
- font-size: 1.1em;
- margin:5px 5px 5px 5px;
- padding:2px 4px;
-}
-
-input:focus,.contentarea textarea:focus {
- border: 2px solid #6E2723;
-}
-
-input.focused, textarea.focused {
- border: 2px solid #6E2723;
-}
+/***********************************************
+APACHE OPEN FOR BUSINESS
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+***********************************************/
+
+form {
+    border: 0;
+    margin: 0;
+    text-align: left;
+}
+
+form label {
+    font-size: 11px;
+    color: #5d5644;
+    margin-top: 5px;
+  text-transform:uppercase;
+}
+
+form a img {
+    float:none;
+    margin:0px 5px 10px 5px;
+}
+
+form tbody {
+  border:none;
+}
+form tbody tr {
+  border:0px;
+}
+
+input[type="radio"],input[type="checkbox"] {
+  font-size: 1.1em;
+  margin: 5px 5px 10px 5px;
+}
+
+input[type="text"],input[type="password"] {
+  border: #ddd solid 2px;
+  font-weight:bold;
+  font-size: 1.1em;
+  margin:5px 5px 5px 5px;
+  padding:2px 4px;
+}
+
+input[type="submit"],input[type="button"],input[type="reset"] {
+  background:url(../images/btn-bg.gif) center left repeat-x;
+  border: #ddd solid 2px;
+    color: #444;
+  font-weight:bold;
+  line-height:1.8em;
+  margin:5px 5px 2px 5px;
+  padding:2px 4px;
+  text-transform:uppercase;
+}
+
+input[type="submit"]:hover,
+input[type="button"],
+input[type="reset"] {
+  color: #1c334d;
+  cursor: pointer;
+  text-decoration: none;
+}
+
+input[type="file"] {
+  font-size: 1.1em;
+  height: 1.9em; /* force ctrl to scale with text */
+  background-color: #ffffff;
+  border: #ddd solid 2px;
+    color: #444;
+}
+
+select {
+  background-color: #ffffff;
+  border: #ddd solid 2px;
+  font-size: 1.1em;
+  height: 1.6em; /* force ctrl to scale with text */
+  margin:5px 5px 2px 5px;
+}
+
+select[multiple="multiple"] {
+    height: 5em;
+}
+
+textarea {
+  border: #ddd solid 2px;
+  font-weight:bold;
+  font-size: 1.1em;
+  margin:5px 5px 5px 5px;
+  padding:2px 4px;
+}
+
+input:focus,.contentarea textarea:focus {
+  border: 2px solid #6E2723;
+}
+
+input.focused, textarea.focused {
+  border: 2px solid #6E2723;
+}