← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4085: In datastatus result color coding changed both datastatus and drilldown

 

------------------------------------------------------------
revno: 4085
committer: Mithilesh Kumar Thakur<mithilesh.hisp@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-07-07 12:32:33 +0530
message:
  In datastatus result color coding  changed both datastatus and drilldown
modified:
  local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/dataEntryStatusResult.vm
  local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/dataStatusResult.vm
  local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/nullReportDataEntryStatusResult.vm


--
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 'local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/dataEntryStatusResult.vm'
--- local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/dataEntryStatusResult.vm	2011-06-15 06:01:50 +0000
+++ local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/dataEntryStatusResult.vm	2011-07-07 07:02:33 +0000
@@ -65,17 +65,17 @@
                 <div id="formResult">
                     <div align="center" class="NormalB">Data Entry Status</div>
                     <div align="right">
-                        <table width="30%">
+                        <table width="30%" border="1">
                             <tr class="TableDataCellStyles" >
-                                <td bgcolor="#a0c0a0">&nbsp;</td>
+                                <td bgcolor="#9ACD32">&nbsp;</td>
                                 <td align="left">&nbsp;Completed (75+) %</td>
                             </tr>
                             <tr class="TableDataCellStyles">
-                                <td bgcolor="#a0a0ff">&nbsp;</td>
+                                <td bgcolor="#FF66FF">&nbsp;</td>
                                 <td align="left">&nbsp;Partially Completed (41 - 75) %</td>
                             </tr>
                             <tr class="TableDataCellStyles">
-                                <td bgcolor="#905090">&nbsp;</td>
+                                <td bgcolor="#FFFF00">&nbsp;</td>
                                 <td align="left">&nbsp;Not Completed (1 - 40) %</td>
                             </tr>
                             <tr class="TableDataCellStyles">
@@ -83,11 +83,11 @@
                                 <td align="left">&nbsp;Not Entered ( 0 ) %</td>
                             </tr>
                             <tr class="TableDataCellStyles">
-                                <td bgcolor="blue">&nbsp;</td>
+                                <td bgcolor="white">&nbsp;</td>
                                 <td align="left">&nbsp;Not Assigned</td>
                             </tr>
                             <tr class="TableDataCellStyles">
-                                <td bgcolor="white">&nbsp;</td>
+                                <td bgcolor="green">&nbsp;</td>
                                 <td align="left">&nbsp;Data Not Mart</td>
                             </tr>                                                                    
                         </table>
@@ -135,17 +135,17 @@
                                     ##set( $deCount = $dataElementCounts.get( $count2 ) )
                                     ##set( $periodCount = $periodCounts.get( $count2 ) )
                                     #if( !$dataSetSources.contains( $chiildorgUnit ) )
-                                        <td  bgcolor="blue">&nbsp;</td>
+                                        <td  bgcolor="white">&nbsp;</td>
                                     #elseif( $result < 0 )
-                                    	<td  bgcolor="white">&nbsp;</td>
+                                    	<td  bgcolor="green">&nbsp;</td>
                                     #elseif( $result == 0 )
-                                        <td align="center" bgcolor="#ff0000"><font color="#ffffff"><a href="javascript:getNullReportInfo('$selDataSet.id','$period.id','$chiildorgUnit.id')">$result%  ( $deCount ) </a></font></td>
+                                        <td align="center" bgcolor="#ff0000"><font color="#000000"><a href="javascript:getNullReportInfo('$selDataSet.id','$period.id','$chiildorgUnit.id')">$result%  ( $deCount ) </a></font></td>
                                     #elseif( $result > 75 )
-                                        <td align="center" bgcolor="#a0c0a0"><font color="#ffffff"><a href="javascript:getNullReportInfo('$selDataSet.id','$period.id','$chiildorgUnit.id')">$result%  ( $deCount ) </a></font></td>
+                                        <td align="center" bgcolor="#9ACD32"><font color="#000000"><a href="javascript:getNullReportInfo('$selDataSet.id','$period.id','$chiildorgUnit.id')">$result%  ( $deCount ) </a></font></td>
                                     #elseif( $result > 40 && $result <= 75 )
-                                        <td align="center" bgcolor="#a0a0ff"><font color="#ffffff"><a href="javascript:getNullReportInfo('$selDataSet.id','$period.id','$chiildorgUnit.id')">$result%  ( $deCount ) </a></font></td>
+                                        <td align="center" bgcolor="#FF66FF"><font color="#000000"><a href="javascript:getNullReportInfo('$selDataSet.id','$period.id','$chiildorgUnit.id')">$result%  ( $deCount ) </a></font></td>
                                     #else
-                                        <td align="center" bgcolor="#905090"><font color="#ffffff"><a href="javascript:getNullReportInfo('$selDataSet.id','$period.id','$chiildorgUnit.id')">$result%  ( $deCount ) </a></font></td>
+                                        <td align="center" bgcolor="#FFFF00"><font color="#000000"><a href="javascript:getNullReportInfo('$selDataSet.id','$period.id','$chiildorgUnit.id')">$result%  ( $deCount ) </a></font></td>
                                     #end
                                     #set( $count2 = $count2 + 1 )
                                 #end

=== modified file 'local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/dataStatusResult.vm'
--- local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/dataStatusResult.vm	2011-06-15 06:01:50 +0000
+++ local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/dataStatusResult.vm	2011-07-07 07:02:33 +0000
@@ -66,17 +66,17 @@
                 <div id="formResult">
                     <div align="center" class="NormalB">Data Entry Status</div>
                     <div align="right">
-                        <table width="30%">
+                        <table width="30%" border="1">
                             <tr class="TableDataCellStyles" >
-                                <td bgcolor="#a0c0a0">&nbsp;</td>
+                                <td bgcolor="#9ACD32">&nbsp;</td>
                                 <td align="left">&nbsp;Completed (75+) %</td>
                             </tr>
                             <tr class="TableDataCellStyles">
-                                <td bgcolor="#a0a0ff">&nbsp;</td>
+                                <td bgcolor="#FF66FF">&nbsp;</td>
                                 <td align="left">&nbsp;Partially Completed (41 - 75) %</td>
                             </tr>
                             <tr class="TableDataCellStyles">
-                                <td bgcolor="#905090">&nbsp;</td>
+                                <td bgcolor="#FFFF00">&nbsp;</td>
                                 <td align="left">&nbsp;Not Completed (1 - 40) %</td>
                             </tr>
                             <tr class="TableDataCellStyles">
@@ -126,13 +126,13 @@
                                     #if( $result < 0 )
                                         <td  bgcolor="white">&nbsp;</td>
                                     #elseif( $result == 0 )
-                                        <td align="center" bgcolor="#ff0000"><font color="#ffffff"><a href="javascript:getNullReportInfo('$selDataSet.id','$periodCount.id','$chiildorgUnit.id')">$result% #if( $deCount != -1 ) ( $deCount ) #end</a></font></td>
+                                        <td align="center" bgcolor="#ff0000"><font color="#000000"><a href="javascript:getNullReportInfo('$selDataSet.id','$periodCount.id','$chiildorgUnit.id')">$result% #if( $deCount != -1 ) ( $deCount ) #end</a></font></td>
                                     #elseif( $result > 75 )
-                                        <td align="center" bgcolor="#a0c0a0"><font color="#ffffff"><a href="javascript:getNullReportInfo('$selDataSet.id','$periodCount.id','$chiildorgUnit.id')">$result% #if( $deCount != -1 ) ( $deCount ) #end</a></font></td>
+                                        <td align="center" bgcolor="#9ACD32"><font color="#000000"><a href="javascript:getNullReportInfo('$selDataSet.id','$periodCount.id','$chiildorgUnit.id')">$result% #if( $deCount != -1 ) ( $deCount ) #end</a></font></td>
                                     #elseif( $result > 40 && $result <= 75 )
-                                        <td align="center" bgcolor="#a0a0ff"><font color="#ffffff"><a href="javascript:getNullReportInfo('$selDataSet.id','$periodCount.id','$chiildorgUnit.id')">$result% #if( $deCount != -1 ) ( $deCount ) #end</a></font></td>
+                                        <td align="center" bgcolor="#FF66FF"><font color="#000000"><a href="javascript:getNullReportInfo('$selDataSet.id','$periodCount.id','$chiildorgUnit.id')">$result% #if( $deCount != -1 ) ( $deCount ) #end</a></font></td>
                                     #else
-                                        <td align="center" bgcolor="#905090"><font color="#ffffff"><a href="javascript:getNullReportInfo('$selDataSet.id','$periodCount.id','$chiildorgUnit.id')">$result% #if( $deCount != -1 ) ( $deCount ) #end</a></font></td>
+                                        <td align="center" bgcolor="#FFFF00"><font color="#000000"><a href="javascript:getNullReportInfo('$selDataSet.id','$periodCount.id','$chiildorgUnit.id')">$result% #if( $deCount != -1 ) ( $deCount ) #end</a></font></td>
                                     #end
                                     #set( $count2 = $count2 + 1 )
                                 #end

=== modified file 'local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/nullReportDataEntryStatusResult.vm'
--- local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/nullReportDataEntryStatusResult.vm	2011-05-24 08:25:51 +0000
+++ local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/nullReportDataEntryStatusResult.vm	2011-07-07 07:02:33 +0000
@@ -54,11 +54,11 @@
                     	<td align="center">$count1</td>
 	                    <td align="left">$dataElementName</td>
 	                    #if( !$dataElementValue )
-	                    	<td align="center" bgcolor="#ff0000"><font color="#ffffff">&nbsp;</font></td>
+	                    	<td align="center" bgcolor="#ff0000"><font color="#000000">&nbsp;</font></td>
 	                    #elseif( $dataElementValue == "0" )
-	                    	<td align="center" bgcolor="#a0c0a0"><font color="#ffffff">$dataElementValue</font></td>
+	                    	<td align="center" bgcolor="#a0c0a0"><font color="#000000">$dataElementValue</font></td>
 	                    #else
-	                    	<td align="center" bgcolor="a0a0ff"><font color="#ffffff">$dataElementValue</font></td>
+	                    	<td align="center" bgcolor="a0a0ff"><font color="#000000">$dataElementValue</font></td>
 	                    #end	
                          #set( $count1 = $count1 + 1 )
 					</tr>