dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31616
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16145: GIS minor event layer gui fixes
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 16145 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-07-15 23:47:55 +0200
message:
GIS minor event layer gui fixes
modified:
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.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/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2014-07-15 19:13:41 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2014-07-15 21:47:10 +0000
@@ -4317,7 +4317,7 @@
dataElementAvailable = Ext.create('Ext.ux.form.MultiSelect', {
cls: 'ns-toolbar-multiselect-left',
- width: accBaseWidth,
+ width: accBaseWidth - 4,
height: 118,
valueField: 'id',
displayField: 'name',
@@ -4365,7 +4365,7 @@
});
dataElementSelected = Ext.create('Ext.panel.Panel', {
- width: accBaseWidth,
+ width: accBaseWidth - 4,
height: 204,
bodyStyle: 'padding:2px 0 1px 3px; overflow-y: scroll',
tbar: {
@@ -4531,7 +4531,7 @@
//labelStyle: 'font-weight: bold',
labelSeparator: '',
columnWidth: 0.5,
- style: 'margin-right: 1px',
+ //style: 'margin-right: 1px',
format: 'Y-m-d',
value: new Date( (new Date()).setMonth( (new Date()).getMonth() - 3))
});
@@ -4550,7 +4550,7 @@
period = Ext.create('Ext.panel.Panel', {
title: '<div class="gis-panel-title-period">Periods</div>',
- bodyStyle: 'padding:4px 2px 2px',
+ bodyStyle: 'padding:4px 1px 2px',
hideCollapseTool: true,
layout: 'column',
width: accBaseWidth,
@@ -4563,6 +4563,7 @@
// organisation unit
treePanel = Ext.create('Ext.tree.Panel', {
cls: 'gis-tree',
+ width: accBaseWidth - 4,
height: 333,
bodyStyle: 'border:0 none',
style: 'border-top: 1px solid #ddd; padding-top: 1px',
@@ -4865,7 +4866,7 @@
cls: 'gis-combo',
multiSelect: true,
style: 'margin-bottom:0',
- width: accBaseWidth - toolWidth - 2,
+ width: accBaseWidth - toolWidth - 1 - 4,
valueField: 'level',
displayField: 'name',
emptyText: GIS.i18n.select_organisation_unit_levels,
@@ -4881,7 +4882,7 @@
cls: 'gis-combo',
multiSelect: true,
style: 'margin-bottom:0',
- width: accBaseWidth - toolWidth - 2,
+ width: accBaseWidth - toolWidth - 1 - 4,
valueField: 'id',
displayField: 'name',
emptyText: GIS.i18n.select_organisation_unit_groups,
@@ -4999,21 +5000,21 @@
toolPanel = Ext.create('Ext.panel.Panel', {
width: toolWidth,
bodyStyle: 'border:0 none; text-align:right',
- style: 'margin-right:2px',
+ style: 'margin-right:1px',
items: tool
});
organisationUnit = Ext.create('Ext.panel.Panel', {
title: '<div class="gis-panel-title-organisationunit">' + GIS.i18n.organisation_units + '</div>',
cls: 'gis-accordion-last',
- bodyStyle: 'padding:2px',
+ bodyStyle: 'padding:1px',
hideCollapseTool: true,
items: [
{
layout: 'column',
width: accBaseWidth,
bodyStyle: 'border:0 none',
- style: 'padding-bottom:2px',
+ style: 'padding-bottom:1px',
items: [
toolPanel,
organisationUnitPanel