=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js 2010-10-21 11:06:26 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js 2010-10-22 07:50:47 +0000 @@ -1277,25 +1277,6 @@ window.location.href = baseLink +"pageSize=" + pageSize +"¤tPage=" +currentPage; } -function addShowDetail( jQueryString, width, success, responseType ) -{ - if( success == undefined ) success = function(data){return data;} - if( responseType == undefined ) responseType = 'html'; - jQuery( jQueryString ).cluetip( { - ajaxProcess: success, - ajaxCache: true, - ajaxSettings: { - dataType: responseType - }, - activation: 'click', - sticky: true, - closePosition: 'title', - closeText: '', - width: width, - arrows: true - }); -} - /** * Used to export PDF file by the given type and * the active items in table @@ -1304,4 +1285,4 @@ { var activeIds = getArrayIdOfActiveRows(); window.location.href = 'exportToPdf.action?type=' + type + activeIds; -} \ No newline at end of file +} === modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/ui/css/redmond/jquery.cluetip.css' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/ui/css/redmond/jquery.cluetip.css 2010-10-20 09:27:52 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/ui/css/redmond/jquery.cluetip.css 2010-10-22 07:50:47 +0000 @@ -3,7 +3,7 @@ border: 0; } #cluetip-title { - overflow: hidden; + overflow: hidden; } #cluetip-title #cluetip-close { float: right; @@ -47,6 +47,7 @@ font-weight: normal; background-color: #3F5D8E; color: #fff; + font-weight:bold; } .cluetip-default #cluetip-title a { color: white; @@ -227,4 +228,42 @@ .cluetip-rounded #cluetip-title, .cluetip-rounded #cluetip-inner { zoom: 1; +} + +.cluetip-help{ + background-color: #FFFFFF; +} +.cluetip-help h3#cluetip-title{ + background-color:#377F39; + color:#FFFFFF; + font-size:9pt; + font-weight:normal; + margin:0 0 5px; + padding:8px 10px 4px; + font-weight:bold; + +} + +.cluetip-help #cluetip-outer{ + background-color: #BEFFC0; + margin:0; +} +#cluetip-inner{ + font-size:10pt; + overflow:auto; + max-height: 500px; + text-align:justify; + padding:10px; +} +#cluetip-inner p{ + padding-left:10px; + padding-right:10px; +} + +#cluetip-inner ul { + margin-left:30px; +} +#cluetip-inner label{ + padding-bottom:5px; + font-weight:bold; } \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/resources/struts.xml' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/resources/struts.xml 2010-10-22 06:43:14 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/resources/struts.xml 2010-10-22 07:50:47 +0000 @@ -16,12 +16,6 @@ - - - /dhis-web-maintenance-datadictionary/ajax/htmlDataElement.vm - plainTextError - @@ -205,14 +199,7 @@ F_DATAELEMENTGROUP_UPDATE - - - - - /dhis-web-maintenance-datadictionary/ajax/htmlDataElementGroup.vm - - + === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/ajax' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/ajax/htmlDataElement.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/ajax/htmlDataElement.vm 2010-10-20 09:27:52 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/ajax/htmlDataElement.vm 1970-01-01 00:00:00 +0000 @@ -1,13 +0,0 @@ - - - - - - - - - - - - -
$encoder.htmlEncode( $dataElement.name )
$!encoder.htmlEncode( $dataElement.shortName )
$!encoder.htmlEncode( $dataElement.name )
$!encoder.htmlEncode( $dataElement.description )
$dataElement.active
$!encoder.htmlEncode( $dataElement.getDomainTypeNullSafe() )
$!encoder.htmlEncode( $dataElement.type )
$!encoder.htmlEncode( $dataElement.aggregationOperator )
$!encoder.htmlEncode( $dataElement.categoryCombo.name )
$!encoder.htmlEncode( $dataElement.url )
$!format.formatDate( $dataElement.lastUpdated )
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm 2010-10-20 09:27:52 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm 2010-10-22 07:50:47 +0000 @@ -1,94 +1,121 @@ - +

$i18n.getString( "data_element_management" ) #openHelp( "dataElement" )

- - - - - - - -
$i18n.getString( "filter_by_name" ): -
-
- -
-
- $i18n.getString( "select_data_dictionary" ): -
- -
-
- $i18n.getString( "filter_by_group_view_all" ): -
- -
-
- - - #if ( $dataDictionaryMode == "extended" ) - - #else - - #end -
- - - - - - - - - - #if ( $forumIntegration ) - - #end - - - - - - - - #foreach( $dataElement in $dataElements ) - - - #if ( $dataDictionaryMode == "extended" ) - - #else - - #end - - - - #if ( $forumIntegration ) - - #end - - #end - -
$i18n.getString( "name" )$i18n.getString( "operations" )
$encoder.htmlEncode( $dataElement.name )$i18n.getString( 'edit' )$i18n.getString( 'edit' )$i18n.getString( 'translation_translate' )$i18n.getString( 'remove' ) - - $i18n.getString( 'show_details' ) - $i18n.getString( 'forum' )
-

-
- #parse( "/dhis-web-commons/paging/paging.vm" ) -
+ + + + + + +
+ + + + + + + +
$i18n.getString( "filter_by_name" ): +
+
+ +
+
+ $i18n.getString( "select_data_dictionary" ): +
+ +
+
+ $i18n.getString( "filter_by_group_view_all" ): +
+ +
+
+ + + #if ( $dataDictionaryMode == "extended" ) + + #else + + #end +
+ + + + + + + + + #if ( $forumIntegration ) + + #end + + + + + + + + #foreach( $dataElement in $dataElements ) + + + #if ( $dataDictionaryMode == "extended" ) + + #else + + #end + + + + #if ( $forumIntegration ) + + #end + + #end + +
$i18n.getString( "name" )$i18n.getString( "operations" )
$encoder.htmlEncode( $dataElement.name )$i18n.getString( 'edit' )$i18n.getString( 'edit' )$i18n.getString( 'translation_translate' )$i18n.getString( 'remove' )$i18n.getString( 'show_details' )$i18n.getString( 'forum' )
+

+
+ #parse( "/dhis-web-commons/paging/paging.vm" ) +
+ +
+ + + + + +
-

$i18n.getString( "program_management" )

- - - - - - - - - - - - - - - - - - - - - #foreach( $program in $programs ) - - - - - - - - - - - - - - - - - - #end - - - +
$i18n.getString( "name" )$i18n.getString( "operations" )
$encoder.htmlEncode( $program.name ) - $i18n.getString( - - $i18n.getString( - - $i18n.getString( - - $i18n.getString( - - $i18n.getString( - - $i18n.getString( -
+ + + +
+ + + + + + + + + + + + + + + + + + + #foreach( $program in $programs ) + + + + + + + + + + + + + + + + + + #end + + + +
$i18n.getString( "name" )$i18n.getString( "operations" )
$encoder.htmlEncode( $program.name ) + $i18n.getString( + + $i18n.getString( + + $i18n.getString( + + $i18n.getString( + + $i18n.getString( + + $i18n.getString( +
+
+ + + +
=== modified file 'dhis-2/dhis-web/pom.xml' --- dhis-2/dhis-web/pom.xml 2010-09-22 07:30:22 +0000 +++ dhis-2/dhis-web/pom.xml 2010-10-22 07:50:47 +0000 @@ -22,8 +22,8 @@ dhis-web-mapping dhis-web-dashboard-integration dhis-web-excel-reporting - dhis-web-caseentry - dhis-web-portal + dhis-web-caseentry + dhis-web-portal