details:   /erp/devel/pi/rev/fe772b3f5e90
changeset: 12900:fe772b3f5e90
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Fri Jun 17 00:18:11 2011 +0200
summary:   [SKIN] Added 'OBAlertGrid' background-color set capabilities

diffstat:

 
modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
                                               |  18 +++---
 
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.css
 |  19 +++++-
 
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.js
  |  26 ++++++---
 3 files changed, 41 insertions(+), 22 deletions(-)

diffs (118 lines):

diff -r 2941acf19440 -r fe772b3f5e90 
modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
--- 
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
   Thu Jun 16 23:34:18 2011 +0200
+++ 
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
   Fri Jun 17 00:18:11 2011 +0200
@@ -198,8 +198,6 @@
     globalResources.add(createStaticResource(
         
"web/org.openbravo.client.application/js/utilities/ob-recent-utilities.js", 
false));
     globalResources.add(createStaticResource(
-        
"web/org.openbravo.client.application/js/alert-management/ob-alert-manager.js", 
false));
-    globalResources.add(createStaticResource(
         
"web/org.openbravo.client.application/js/navbar/ob-user-profile-widget.js", 
false));
     globalResources.add(createStaticResource(
         
"web/org.openbravo.client.application/js/navbar/ob-help-about-widget.js", 
false));
@@ -212,6 +210,15 @@
     globalResources.add(createStaticResource(
         "web/org.openbravo.client.application/js/toolbar/ob-clone-order.js", 
false));
 
+    // Alert Management
+    globalResources.add(createStaticResource(
+        
"web/org.openbravo.client.application/js/alert-management/ob-alert-manager.js", 
false));
+    globalResources.add(createStaticResource(
+        
"web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js", 
false));
+    globalResources.add(createStaticResource(
+        
"web/org.openbravo.client.application/js/alert-management/ob-alert-management-view.js",
+        false));
+
     // Styling
     globalResources.add(createStyleSheetResource(
         "web/org.openbravo.userinterface.smartclient/openbravo/skins/"
@@ -315,13 +322,6 @@
     globalResources.add(createStaticResource(
         
"web/org.openbravo.client.application/js/utilities/ob-history-manager.js", 
false));
 
-    // Alert Management
-    globalResources.add(createStaticResource(
-        
"web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js", 
false));
-    globalResources.add(createStaticResource(
-        
"web/org.openbravo.client.application/js/alert-management/ob-alert-management-view.js",
-        false));
-
     return globalResources;
   }
 
diff -r 2941acf19440 -r fe772b3f5e90 
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 23:34:18 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
     Fri Jun 17 00:18:11 2011 +0200
@@ -18,11 +18,6 @@
 */
 
 
-.OBViewGridBody {
-  background-color: #FFFFFF;
-}
-
-
 .OBGridToolStrip {
   padding: 0px 0px 1px 3px;
 }
@@ -327,3 +322,17 @@
   text-decoration: underline;
   background-color: #e1e1e1;
 }
+
+/******************************/
+
+.OBViewGridBody {
+  background-color: #FFFFFF;
+}
+
+/******************************/
+
+.OBAlertGridBody {
+  background-color: #FFFFFF;
+}
+
+/******************************/
\ No newline at end of file
diff -r 2941acf19440 -r fe772b3f5e90 
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 23:34:18 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
      Fri Jun 17 00:18:11 2011 +0200
@@ -95,13 +95,6 @@
   src: 
'[SKIN]/../../org.openbravo.client.application/images/grid/gridHeader_bg.png'
 });
 
-isc.OBViewGrid.addProperties({
-  // note should be the same as the height of the OBGridButtonsComponent
-  recordComponentHeight: 21,
-  cellHeight: 25,
-  bodyStyleName: 'OBViewGridBody'
-});
-
 isc.OBGrid.changeDefaults('headerMenuButtonDefaults', {
   showDown: false,
   showTitle: true
@@ -166,4 +159,21 @@
   autoFit: true,
   height: 1,
   overflow: 'visible'
-});
\ No newline at end of file
+});
+
+/******************************/
+
+isc.OBViewGrid.addProperties({
+  // note should be the same as the height of the OBGridButtonsComponent
+  recordComponentHeight: 21,
+  cellHeight: 25,
+  bodyStyleName: 'OBViewGridBody'
+});
+
+/******************************/
+
+isc.OBAlertGrid.addProperties({
+  bodyStyleName: 'OBAlertGridBody'
+});
+
+/******************************/
\ No newline at end of file

------------------------------------------------------------------------------
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

Reply via email to