[Erp5-report] r16598 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 25 08:30:55 CEST 2007


Author: rafael
Date: Tue Sep 25 08:30:55 2007
New Revision: 16598

URL: http://svn.erp5.org?rev=16598&view=rev
Log:
Improved Planning Box CSS. This makes Planning Box more compatible with erp5 web

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml?rev=16598&r1=16597&r2=16598&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml Tue Sep 25 08:30:55 2007
@@ -163,12 +163,13 @@
     main_axis_step = float(size_planning_width) / float(basic.main_axis_info[\'bound_axis_groups\'])\n
 \n
 # defining planning area CSS class\n
-planning_dict= {\n
+# XXX it can be moved to globals\n
+planning_dict = {\n
   \'position\': \'relative\',\n
   \'border-style\': \'solid\',\n
-  \'border-color\': \'#d5e6de\',\n
+  \'border-color\':  \'inherit\',\n
   \'border-width\': 0,\n
-  \'background\': \'#d5e6de\',\n
+  \'background\': \'inherit\',\n
   \'width\': size_planning_width + size_border_width_left + size_y_axis_width + size_y_axis_space + 20,\n
   \'height\': size_header_height + size_x_axis_height + size_x_axis_space + size_planning_height + 100,\n
   \'margin-top\': 0,\n
@@ -186,9 +187,9 @@
   axis_dict= {\n
     \'position\': \'absolute\',\n
     \'border-style\': \'solid\',\n
-    \'border-color\': \'#53676e\',\n
+    \'border-color\': \'inherit\',\n
     \'border-width\': 0,\n
-    \'background\': \'#d5e6de\',\n
+    \'background\': \'inherit\',\n
   }\n
   # adding cursors position informations\n
   axis_previous = {\n
@@ -457,10 +458,10 @@
 for sec_axis_group in planning.secondary_axis.axis_group:\n
   sec_axis_group_dict={\n
     \'position\': \'absolute\',\n
-    \'border-color\': \'#53676e\',\n
+    \'border-color\': \'inherit\',\n
     \'border-style\': \'solid\',\n
     \'border-width\': 1,\n
-    \'background\': \'#d5e6de\',\n
+    \'background\': \'inherit\',\n
   }\n
   # info definition\n
   sec_axis_info_dict= {\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml?rev=16598&r1=16597&r2=16598&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml Tue Sep 25 08:30:55 2007
@@ -91,17 +91,14 @@
 \n
 """\n
 This script is aimed to generate the CSS code needed to display correctly the\n
-PlaningBox in HTML style (i.e using HTML code + CSS class for positionning).\n
+PlanningBox in HTML style (i.e using HTML code + CSS class for positionning).\n
 The process is based on the strucutre passed in parameter (i.e \'structure\').\n
 \n
 Beware this only generates CSS code, and need to use the \'planning_coordinates\'\n
 script (\'planning_css\') to have CSS compliant code, no HTML generation is\n
 done in this script.\n
 """\n
-\n
-\n
 properties_structure = context.planning_coordinates(basic, planning)\n
-\n
 """\n
 - the properties_structure returned from the planning_coordinates script is somehow\n
 special : it is a dict defined by the areas of data\n
@@ -146,8 +143,6 @@
 else:\n
   # no unvalidated block, using actual properties\n
   pass\n
-\n
-\n
 \n
 # build list from dictionnary structure\n
 # this list will e converted to a string afterwards\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=16598&r1=16597&r2=16598&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Tue Sep 25 08:30:55 2007
@@ -1,1 +1,1 @@
-445
+446




More information about the Erp5-report mailing list