From efe9694fb852485a98ff28e61e1532dd16de004e Mon Sep 17 00:00:00 2001 From: Adrian Crum Date: Tue, 6 May 2008 18:12:46 +0000 Subject: [PATCH] UI work in the Example and ExampleExt components. Fixed minor layout issues, tested with Firefox and IE7, formatted the screen widget XML files so they have consistent line spacing, and added some comments to help new users. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653865 13f79535-47bb-0310-9956-ffa450edef68 --- .../example/widget/example/CommonScreens.xml | 60 +++++++++++-------- .../widget/example/ExampleAjaxScreens.xml | 6 +- .../widget/example/ExampleFeatureForms.xml | 11 ++-- .../widget/example/ExampleFeatureScreens.xml | 4 +- .../example/widget/example/ExampleForms.xml | 19 ++---- .../example/widget/example/ExampleMenus.xml | 2 + .../example/widget/example/ExampleScreens.xml | 9 +-- .../example/FormWidgetExampleScreens.xml | 2 + .../widget/example/CommonScreens.xml | 6 +- .../widget/example/ExampleForms.xml | 11 ++-- .../widget/example/ExampleMenus.xml | 4 +- .../widget/example/ExampleScreens.xml | 2 +- framework/images/webapp/images/maincss.css | 8 +++ 13 files changed, 84 insertions(+), 60 deletions(-) diff --git a/framework/example/widget/example/CommonScreens.xml b/framework/example/widget/example/CommonScreens.xml index a1c28d9b9a..5b73f0444d 100644 --- a/framework/example/widget/example/CommonScreens.xml +++ b/framework/example/widget/example/CommonScreens.xml @@ -20,13 +20,19 @@ under the License. + +
- + - +
- @@ -79,11 +89,13 @@ under the License. - + + + +
- @@ -95,11 +107,11 @@ under the License.
+
- @@ -131,14 +143,16 @@ under the License. - + + + +
- @@ -150,30 +164,28 @@ under the License.
- - + +
- - - - -
- - - - -
- -
-
+ +
+ + + + +
+
+
diff --git a/framework/example/widget/example/ExampleAjaxScreens.xml b/framework/example/widget/example/ExampleAjaxScreens.xml index 42c940b279..1b432bd0ff 100644 --- a/framework/example/widget/example/ExampleAjaxScreens.xml +++ b/framework/example/widget/example/ExampleAjaxScreens.xml @@ -26,7 +26,6 @@ under the License. - @@ -37,10 +36,11 @@ under the License. - + + @@ -65,6 +65,7 @@ under the License. +
@@ -77,4 +78,5 @@ under the License.
+ diff --git a/framework/example/widget/example/ExampleFeatureForms.xml b/framework/example/widget/example/ExampleFeatureForms.xml index f181576ac4..1bbff182a9 100644 --- a/framework/example/widget/example/ExampleFeatureForms.xml +++ b/framework/example/widget/example/ExampleFeatureForms.xml @@ -20,6 +20,7 @@ under the License. +
@@ -27,12 +28,12 @@ under the License. -
+
@@ -41,11 +42,9 @@ under the License. - - @@ -68,7 +67,6 @@ under the License. - @@ -83,16 +81,15 @@ under the License. - +
- @@ -126,6 +123,7 @@ under the License. +
@@ -144,4 +142,5 @@ under the License. +
diff --git a/framework/example/widget/example/ExampleFeatureScreens.xml b/framework/example/widget/example/ExampleFeatureScreens.xml index 3d136c9709..d6bae9adc8 100644 --- a/framework/example/widget/example/ExampleFeatureScreens.xml +++ b/framework/example/widget/example/ExampleFeatureScreens.xml @@ -20,6 +20,7 @@ under the License. +
@@ -55,7 +56,6 @@ under the License. - @@ -68,6 +68,7 @@ under the License.
+
@@ -109,4 +110,5 @@ under the License.
+
diff --git a/framework/example/widget/example/ExampleForms.xml b/framework/example/widget/example/ExampleForms.xml index ef6b80b9e8..a000866da0 100644 --- a/framework/example/widget/example/ExampleForms.xml +++ b/framework/example/widget/example/ExampleForms.xml @@ -20,11 +20,11 @@ under the License. +
- @@ -33,7 +33,7 @@ under the License.
- +
@@ -42,11 +42,9 @@ under the License. - - @@ -70,9 +68,7 @@ under the License. - - +
@@ -102,7 +98,6 @@ under the License. - @@ -114,16 +109,15 @@ under the License. - +
- @@ -146,7 +140,6 @@ under the License. - @@ -161,16 +154,15 @@ under the License. - +
- @@ -182,4 +174,5 @@ under the License. +
diff --git a/framework/example/widget/example/ExampleMenus.xml b/framework/example/widget/example/ExampleMenus.xml index 492beff79b..1fe1a3e899 100644 --- a/framework/example/widget/example/ExampleMenus.xml +++ b/framework/example/widget/example/ExampleMenus.xml @@ -50,6 +50,7 @@ under the License. + @@ -59,4 +60,5 @@ under the License. + diff --git a/framework/example/widget/example/ExampleScreens.xml b/framework/example/widget/example/ExampleScreens.xml index 420a574d22..25a90e1c81 100644 --- a/framework/example/widget/example/ExampleScreens.xml +++ b/framework/example/widget/example/ExampleScreens.xml @@ -20,6 +20,7 @@ under the License. +
@@ -34,7 +35,7 @@ under the License. - + @@ -53,7 +54,6 @@ under the License. - @@ -66,12 +66,12 @@ under the License.
+
- @@ -84,12 +84,12 @@ under the License.
+
- @@ -102,4 +102,5 @@ under the License.
+
diff --git a/framework/example/widget/example/FormWidgetExampleScreens.xml b/framework/example/widget/example/FormWidgetExampleScreens.xml index 71a1070114..ff5511b2fe 100644 --- a/framework/example/widget/example/FormWidgetExampleScreens.xml +++ b/framework/example/widget/example/FormWidgetExampleScreens.xml @@ -20,6 +20,7 @@ under the License. +
@@ -63,4 +64,5 @@ under the License.
+
diff --git a/framework/exampleext/widget/example/CommonScreens.xml b/framework/exampleext/widget/example/CommonScreens.xml index 483ebc9371..1b2676318e 100644 --- a/framework/exampleext/widget/example/CommonScreens.xml +++ b/framework/exampleext/widget/example/CommonScreens.xml @@ -20,7 +20,7 @@ under the License. - +
@@ -36,7 +36,6 @@ under the License.
- @@ -71,7 +70,6 @@ under the License.
- @@ -83,6 +81,7 @@ under the License.
+
@@ -90,4 +89,5 @@ under the License.
+
diff --git a/framework/exampleext/widget/example/ExampleForms.xml b/framework/exampleext/widget/example/ExampleForms.xml index 6b96cb3cc3..8766a62e00 100644 --- a/framework/exampleext/widget/example/ExampleForms.xml +++ b/framework/exampleext/widget/example/ExampleForms.xml @@ -19,17 +19,18 @@ under the License. --> -
+ - - +
+
diff --git a/framework/exampleext/widget/example/ExampleMenus.xml b/framework/exampleext/widget/example/ExampleMenus.xml index 57f768e9a5..71adb7ae3c 100644 --- a/framework/exampleext/widget/example/ExampleMenus.xml +++ b/framework/exampleext/widget/example/ExampleMenus.xml @@ -18,10 +18,12 @@ specific language governing permissions and limitations under the License. --> - + + + diff --git a/framework/exampleext/widget/example/ExampleScreens.xml b/framework/exampleext/widget/example/ExampleScreens.xml index c898c00d20..8af4525795 100644 --- a/framework/exampleext/widget/example/ExampleScreens.xml +++ b/framework/exampleext/widget/example/ExampleScreens.xml @@ -27,7 +27,6 @@ under the License. - @@ -40,4 +39,5 @@ under the License. + diff --git a/framework/images/webapp/images/maincss.css b/framework/images/webapp/images/maincss.css index a9b9ada926..ecadf78266 100644 --- a/framework/images/webapp/images/maincss.css +++ b/framework/images/webapp/images/maincss.css @@ -1793,6 +1793,10 @@ color: #0000ff; /* ===== Form Styles ===== */ /* ======================== */ +.basic-form { +margin-bottom: 1em; +} + .basic-form table { width: 100%; } @@ -1880,6 +1884,10 @@ width: 20%; width: auto; } +.form-widget-table { +margin-bottom: 1em; +} + /* Pager */ .nav-pager {