=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/AddOrUpdateMapViewAction.java'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/AddOrUpdateMapViewAction.java 2010-02-24 14:11:32 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/AddOrUpdateMapViewAction.java 2010-02-24 16:36:32 +0000
@@ -52,94 +52,97 @@
// -------------------------------------------------------------------------
// Input
// -------------------------------------------------------------------------
-
+
private String name;
-
+
public void setName( String name )
{
this.name = name;
}
-
+
private int indicatorGroupId;
-
+
public void setIndicatorGroupId( int indicatorGroupId )
{
this.indicatorGroupId = indicatorGroupId;
}
-
+
private int indicatorId;
-
+
public void setIndicatorId( int indicatorId )
{
this.indicatorId = indicatorId;
}
-
+
private String periodTypeId;
-
+
public void setPeriodTypeId( String periodTypeId )
{
this.periodTypeId = periodTypeId;
}
-
+
private int periodId;
-
+
public void setPeriodId( int periodId )
{
this.periodId = periodId;
}
-
+
private String mapSource;
-
+
public void setMapSource( String mapSource )
{
this.mapSource = mapSource;
}
-
+
private int method;
-
+
public void setMethod( int method )
{
this.method = method;
}
-
+
private int classes;
-
+
public void setClasses( int classes )
{
this.classes = classes;
}
-
+
private String colorLow;
-
+
public void setColorLow( String colorLow )
{
this.colorLow = colorLow;
}
-
+
private String colorHigh;
-
+
public void setColorHigh( String colorHigh )
{
this.colorHigh = colorHigh;
}
-
+
private String longitude;
-
- public void setLongitude(String longitude) {
- this.longitude = longitude;
- }
-
+
+ public void setLongitude( String longitude )
+ {
+ this.longitude = longitude;
+ }
+
private String latitude;
- public void setLatitude(String latitude) {
- this.latitude = latitude;
- }
-
- private int zoom;
-
- public void setZoom(int zoom) {
- this.zoom = zoom;
- }
+ public void setLatitude( String latitude )
+ {
+ this.latitude = latitude;
+ }
+
+ private int zoom;
+
+ public void setZoom( int zoom )
+ {
+ this.zoom = zoom;
+ }
// -------------------------------------------------------------------------
// Action implementation
@@ -150,7 +153,7 @@
{
mappingService.addOrUpdateMapView( name, indicatorGroupId, indicatorId, periodTypeId, periodId, mapSource,
method, classes, colorLow, colorHigh, longitude, latitude, zoom );
-
+
return SUCCESS;
}
}
\ No newline at end of file
=== 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-18 17:01:00 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/css/style.css 2010-02-24 16:36:32 +0000
@@ -1,11 +1,35 @@
-.row-assigned {
+/* MAPPING GRID */
+
+.row-assigned {
background-color:#b1ffa1;
}
-.row-not-assigned {
+.row-unassigned {
background-color:#FFFFFF;
}
+.x-grid3-cell-inner, .x-grid3-hd-inner {
+ font-family:lucida sans unicode, arial;
+ font-weight:normal;
+ font-size:10px;
+ letter-spacing:0px;
+ color:#777;
+}
+
+.x-grid3-hd-inner, .x-grid3-hd-organisationUnitId {
+ font-family:lucida sans unicode, arial;
+ font-weight:normal;
+ font-size:11px;
+ letter-spacing:0px;
+ color:#333;
+}
+
+/* BUTTONS */
+
+.x-btn button {
+ font:10px lucida sans unicode,arial normal;
+}
+
.x-btn .icon-zoomin {
background-image:url(../../../images/zoom_in.png);
}
@@ -26,18 +50,10 @@
background-image:url(../../../images/pdf.png);
}
-.x-mask-loading2 div {
- padding:2px 11px 3px 32px;
- background:#fbfbfb url('../../../images/loader.gif') no-repeat 5px 2px;
- line-height:20px;
- font-weight:normal;
-}
-
.aa_dark button {
font-family:lucida sans unicode, arial;
font-weight:normal;
font-size:10px;
- letter-spacing:0px;
color:#111;
}
@@ -45,7 +61,6 @@
font-family:lucida sans unicode, arial;
font-weight:normal;
font-size:10px;
- letter-spacing:0px;
color:#333;
}
@@ -53,22 +68,46 @@
font-family:lucida sans unicode, arial;
font-weight:bold;
font-size:10px;
- letter-spacing:0px;
color:#888;
}
-.x-grid3-cell-inner, .x-grid3-hd-inner {
- font-family:lucida sans unicode, arial;
+/* LOADING MASK */
+
+.x-mask-loading2 div {
+ padding:2px 11px 3px 32px;
+ background:#fbfbfb url('../../../images/loader.gif') no-repeat 5px 2px;
+ line-height:20px;
font-weight:normal;
- font-size:10px;
- letter-spacing:0px;
- color:#777;
}
-.x-grid3-hd-inner, .x-grid3-hd-organisationUnitId {
- font-family:lucida sans unicode, arial;
+/* DIALOGUE BOX */
+
+.window-info {
+ font-family:lucida sans unicode,arial;
font-weight:normal;
font-size:11px;
- letter-spacing:0px;
color:#333;
-}
\ No newline at end of file
+ padding:0 0 8px 0;
+}
+
+.window-field-label {
+ padding:0px 0 4px 3px;
+ font-family:lucida sans unicode,arial;
+ font-weight:normal;
+ font-size:11px;
+ color:#888;
+}
+
+.window-button {
+ padding:8px 0 0 0;
+}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
=== 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 14:11:32 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js 2010-02-24 16:36:32 +0000
@@ -356,8 +356,7 @@
selectOnFocus: true,
width: combo_width,
minListWidth: combo_list_width,
- store: viewStore,
- bodyStyle: 'margin-bottom:4px'
+ store: viewStore
});
var newViewPanel = new Ext.form.FormPanel({
@@ -365,18 +364,16 @@
bodyStyle: 'border:0px solid #fff',
items:
[
- { html: 'Saving current thematic map selection.' },
- { html: '
' },
- { html: '
Display name
' }, + { html: 'View
' }, + { html: 'View
' }, + { html: 'Add to dashboard', - title: 'Add to dashboard', - title: 'Add to dashboard', - title: 'Add to dashboard', - title: 'Add to dashboard', - title: 'Add to dashboard', - title: 'Add to dashboard', - title: 'Add to dashboard', - title: 'Add to dashboard', - title: 'Add to dashboard', - title: 'Add to dashboard', id: 'view2', items: [ === modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Mapping.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Mapping.js 2010-02-23 14:22:16 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Mapping.js 2010-02-24 16:36:32 +0000 @@ -171,7 +171,7 @@ var cls = ''; switch (row.data.featureId) { case '': - cls = 'row-not-assigned'; + cls = 'row-unassigned'; break; default: cls = 'row-assigned';