← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4418: TreePanel CSS fix.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 4418 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-08-23 12:54:30 +0200
message:
  TreePanel CSS fix.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Centroid.js
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Point.js
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Symbol.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css	2011-08-21 15:22:49 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css	2011-08-23 10:53:11 +0000
@@ -523,6 +523,14 @@
     color:#222;
     margin-right:6px;
 }
+.treepanel-layer-border {
+    padding:3px 0 0 2px;
+    background-color:#fff;
+    width:253px;
+    height:310px;
+    border:1px solid #ccc;
+    overflow:auto;
+}
 #east {
     width:200px;
 }

=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Centroid.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Centroid.js	2011-08-20 22:11:25 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Centroid.js	2011-08-23 10:53:11 +0000
@@ -586,9 +586,7 @@
         });
         
         this.cmp.parent = new Ext.tree.TreePanel({
-            bodyStyle: 'padding-left:2px; background-color:#fff',
-            height: 315,
-            width: 255,
+            cls: 'treepanel-layer-border',
             autoScroll: true,
             lines: false,
             loader: new Ext.tree.TreeLoader({

=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js	2011-08-21 13:46:00 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js	2011-08-23 10:53:11 +0000
@@ -832,9 +832,7 @@
         });
         
         this.cmp.parent = new Ext.tree.TreePanel({
-            bodyStyle: 'padding-left:2px; background-color:#fff',
-            height: 315,
-            width: 255,
+            cls: 'treepanel-layer-border',
             autoScroll: true,
             lines: false,
             loader: new Ext.tree.TreeLoader({

=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Point.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Point.js	2011-08-21 13:56:42 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Point.js	2011-08-23 10:53:11 +0000
@@ -832,9 +832,7 @@
         });
         
         this.cmp.parent = new Ext.tree.TreePanel({
-            bodyStyle: 'padding-left:2px; background-color:#fff',
-            height: 315,
-            width: 255,
+            cls: 'treepanel-layer-border',
             autoScroll: true,
             lines: false,
             loader: new Ext.tree.TreeLoader({

=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Symbol.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Symbol.js	2011-08-20 23:43:52 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Symbol.js	2011-08-23 10:53:11 +0000
@@ -327,9 +327,7 @@
         });
         
         this.cmp.parent = new Ext.tree.TreePanel({
-            bodyStyle: 'padding-left:2px; background-color:#fff',
-            height: 315,
-            width: 255,
+            cls: 'treepanel-layer-border',
             autoScroll: true,
             lines: false,
             loader: new Ext.tree.TreeLoader({