details: /erp/devel/pi/rev/cdc1e622b5c0
changeset: 12894:cdc1e622b5c0
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Thu Jun 16 22:24:07 2011 +0200
summary: [SKIN] Added form and grid background-color set capabilities
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
| 19 ++++++---
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
| 4 ++
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.js
| 4 ++
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.css
| 5 ++
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.js
| 6 +-
5 files changed, 29 insertions(+), 9 deletions(-)
diffs (99 lines):
diff -r cb01f82576f7 -r cdc1e622b5c0
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Thu Jun 16 20:06:16 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Thu Jun 16 22:24:07 2011 +0200
@@ -16,6 +16,18 @@
* Contributor(s): ______________________________________.
************************************************************************
*/
+
+
+isc.ClassFactory.defineClass('OBFormContainerLayout', isc.VLayout);
+
+isc.OBFormContainerLayout.addProperties({
+ canFocus: true,
+ width: '100%',
+ height: '*',
+ overflow: 'auto'
+});
+
+
// = OBStandardView =
//
// An OBStandardView represents a single Openbravo tab. An OBStandardView
consists
@@ -417,12 +429,7 @@
});
// to make sure that the form gets the correct scrollbars
- this.formContainerLayout = isc.VLayout.create({
- canFocus: true,
- width: '100%',
- height: '*',
- overflow: 'auto'
- });
+ this.formContainerLayout = isc.OBFormContainerLayout.create({});
this.formContainerLayout.addMember(this.viewForm);
this.statusBarFormLayout.addMember(this.statusBar);
diff -r cb01f82576f7 -r cdc1e622b5c0
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
---
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
Thu Jun 16 20:06:16 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
Thu Jun 16 22:24:07 2011 +0200
@@ -38,6 +38,10 @@
padding: 0px 0px 20px 0px;
}
+.OBFormContainerLayout {
+ background-color: #FFFFFF;
+}
+
/*=======================================================================
* Form Field Styles
=======================================================================*/
diff -r cb01f82576f7 -r cdc1e622b5c0
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.js
Thu Jun 16 20:06:16 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.js
Thu Jun 16 22:24:07 2011 +0200
@@ -34,6 +34,10 @@
cellPadding: 0
});
+isc.OBFormContainerLayout.addProperties({
+ styleName: 'OBFormContainerLayout'
+});
+
isc.OBFormButton.addProperties({
baseStyle: 'OBFormButton',
titleStyle: 'OBFormButtonTitle'
diff -r cb01f82576f7 -r cdc1e622b5c0
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.css
---
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.css
Thu Jun 16 20:06:16 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.css
Thu Jun 16 22:24:07 2011 +0200
@@ -18,6 +18,11 @@
*/
+.OBViewGridBody {
+ background-color: #FFFFFF;
+}
+
+
.OBGridToolStrip {
padding: 0px 0px 1px 3px;
}
diff -r cb01f82576f7 -r cdc1e622b5c0
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.js
Thu Jun 16 20:06:16 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.js
Thu Jun 16 22:24:07 2011 +0200
@@ -97,13 +97,13 @@
isc.OBViewGrid.addProperties({
// note should be the same as the height of the OBGridButtonsComponent
recordComponentHeight: 21,
- cellHeight: 25
+ cellHeight: 25,
+ bodyStyleName: 'OBViewGridBody'
});
isc.OBGrid.changeDefaults('headerMenuButtonDefaults', {
showDown: false,
- showTitle: true,
- baseStyle: 'pepe'
+ showTitle: true
//src:
'[SKIN]/../../org.openbravo.client.application/images/grid/gridHeader_bg.png'
});
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits