=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js 2013-12-27 18:43:30 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js 2013-12-30 21:38:10 +0000
@@ -577,15 +577,16 @@
var ignoreKeys = ['label', 'value', 'nameColumnMap', 'psi', 'ps', 'longitude', 'latitude', 'eventdate', 'ou', 'oucode', 'ouname'],
attributes = feature.attributes,
map = attributes.nameColumnMap,
- html = '
',
- titleStyle = ' style="font-weight:bold; padding-right:10px"',
+ html = '',
+ titleStyle = ' style="font-weight:bold; padding-right:10px; vertical-align:top"',
+ valueStyle = ' style="max-width:170px"',
windowPosition;
// default properties
- html += '' + map['ou'] + ' | ' + attributes['ouname'] + ' |
';
- html += '' + map['eventdate'] + ' | ' + attributes['eventdate'] + ' |
';
- html += '' + map['longitude'] + ' | ' + attributes['longitude'] + ' |
';
- html += '' + map['latitude'] + ' | ' + attributes['latitude'] + ' |
';
+ html += '' + map['ou'] + ' | ' + attributes['ouname'] + ' |
';
+ html += '' + map['eventdate'] + ' | ' + attributes['eventdate'] + ' |
';
+ html += '' + map['longitude'] + ' | ' + attributes['longitude'] + ' |
';
+ html += '' + map['latitude'] + ' | ' + attributes['latitude'] + ' |
';
for (var key in attributes) {
if (attributes.hasOwnProperty(key) && !Ext.Array.contains(ignoreKeys, key)) {
@@ -603,6 +604,7 @@
eventWindow = Ext.create('Ext.window.Window', {
title: 'Event',
+ layout: 'fit',
resizable: false,
bodyStyle: 'background-color:#fff; padding:5px',
html: html,
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/styles/style.css'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/styles/style.css 2013-12-18 12:48:13 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/styles/style.css 2013-12-30 21:38:10 +0000
@@ -91,6 +91,10 @@
cursor: default !important;
}
+table.padding1 td {
+ padding: 1px;
+}
+
.el-opacity-1 {
opacity: 1 !important;
}