=== 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 2010-02-24 16:36:32 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css 2010-02-24 17:19:02 +0000 @@ -1,4 +1,10 @@ -/* MAPPING GRID */ +/* EXT */ + +.ext-gecko .x-window-body .x-form-item { + overflow: hidden; +} + +/* MAPPING GRID */ .row-assigned { background-color:#b1ffa1; @@ -90,8 +96,16 @@ padding:0 0 8px 0; } +.window-field-label-first { + padding:0px 0 3px 3px; + font-family:lucida sans unicode,arial; + font-weight:normal; + font-size:11px; + color:#888; +} + .window-field-label { - padding:0px 0 4px 3px; + padding:8px 0 3px 3px; font-family:lucida sans unicode,arial; font-weight:normal; font-size:11px; === modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js 2010-02-24 16:36:32 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js 2010-02-24 17:19:02 +0000 @@ -365,7 +365,7 @@ items: [ { html: '
Saving current thematic map selection.
' }, - { html: '
Display name
' }, + { html: '
Display name
' }, viewNameTextField, { xtype: 'button', @@ -446,7 +446,7 @@ bodyStyle: 'border:0px solid #fff', items: [ - { html: '
View
' }, + { html: '
View
' }, viewComboBox, { xtype: 'button', @@ -489,7 +489,7 @@ bodyStyle: 'border:0px solid #fff', items: [ - { html: '
View
' }, + { html: '
View
' }, view2ComboBox, { xtype: 'button', @@ -598,12 +598,16 @@ /* LEGEND SET PANEL */ var legendSetNameTextField = new Ext.form.TextField({ id: 'legendsetname_tf', + isFormField: true, + hideLabel: true, emptyText: MENU_EMPTYTEXT, width: combo_width }); var legendSetMethodComboBox = new Ext.form.ComboBox({ id: 'legendsetmethod_cb', + isFormField: true, + hideLabel: true, editable: false, valueField: 'value', displayField: 'text', @@ -620,6 +624,8 @@ var legendSetClassesComboBox = new Ext.form.ComboBox({ id: 'legendsetclasses_cb', + isFormField: true, + hideLabel: true, editable: false, valueField: 'value', displayField: 'value', @@ -637,6 +643,8 @@ var legendSetLowColorColorPalette = new Ext.ux.ColorField({ id: 'legendsetlowcolor_cp', + isFormField: true, + hideLabel: true, allowBlank: false, width: combo_width, minListWidth: combo_list_width, @@ -645,6 +653,8 @@ var legendSetHighColorColorPalette = new Ext.ux.ColorField({ id: 'legendsethighcolor_cp', + isFormField: true, + hideLabel: true, allowBlank: false, width: combo_width, minListWidth: combo_list_width, @@ -662,6 +672,8 @@ var legendSetComboBox = new Ext.form.ComboBox({ id: 'legendset_cb', + isFormField: true, + hideLabel: true, typeAhead: true, editable: false, valueField: 'id', @@ -716,6 +728,8 @@ var legendSetIndicatorMultiSelect = new Ext.ux.Multiselect({ id: 'legendsetindicator_ms', + isFormField: true, + hideLabel: true, dataFields: ['id', 'name', 'shortName'], valueField: 'id', displayField: 'shortName', @@ -726,6 +740,8 @@ var legendSet2ComboBox = new Ext.form.ComboBox({ id: 'legendset2_cb', + isFormField: true, + hideLabel: true, typeAhead: true, editable: false, valueField: 'id', @@ -740,28 +756,27 @@ store: legendSetStore }); - var newLegendSetPanel = new Ext.Panel({ + var newLegendSetPanel = new Ext.form.FormPanel({ id: 'newlegendset_p', + bodyStyle: 'border:0px solid #fff', items: [ - { html: '

Display name

' }, + { html: '
Display name
' }, legendSetNameTextField, - { html: '
' }, /* { html: '

 Method

' }, legendSetMethodComboBox, { html: '
' },*/ - { html: '

Classes

' }, + { html: '
Classes
' }, legendSetClassesComboBox, - { html: '
' }, - { html: '

Lowest value color

' }, + { html: '
Lowest value color
' }, legendSetLowColorColorPalette, - { html: '
' }, - { html: '

Highest value color

' }, + { html: '
Highest value color
' }, legendSetHighColorColorPalette, - { html: '

Legend set

' }, + { html: '
Legend set
' }, legendSetComboBox, - { html: '
' }, - { html: '

Indicators

' }, - legendSetIndicatorMultiSelect, - { html: '

Indicators' }, + legendSetIndicatorMultiSelect, { xtype: 'button', id: 'assignlegendset_b', text: 'Assign to indicators', - cls: 'aa_med', + cls: 'window-button', handler: function() { var ls = Ext.getCmp('legendset_cb').getValue(); var lsrw = Ext.getCmp('legendset_cb').getRawValue(); @@ -879,18 +893,18 @@ ] }); - var deleteLegendSetPanel = new Ext.Panel({ + var deleteLegendSetPanel = new Ext.form.FormPanel({ id: 'deletelegendset_p', + bodyStyle: 'border:0px solid #fff', items: [ - { html: '

Legend set

' }, + { html: '
Legend set

' }, legendSet2ComboBox, - { html: '