~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/validationResult.vm

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<html>
 
3
            <head>
 
4
                        <title>Validation Analysis Result</title>
 
5
                        <link type="text/css" rel="stylesheet" media="screen" href="css/StylesForTags.css">
 
6
                            </head>
 
7
            <body>
 
8
        <div align="center" class="NormalB">
 
9
            Validation Analysis Result
 
10
        </div>
 
11
        #set($count = 0)
 
12
        #set($count1 = 0)
 
13
        #foreach( $orgUnit in $orgUnitList)
 
14
            <br /><br />
 
15
            <div class="NormalB">OrganisationUnit : $orgUnit.shortName</div>
 
16
            <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-style: dotted" width="100%">
 
17
                                <thead>
 
18
                                            <tr class="TableHeadingCellStyles">
 
19
                                                    <th>Validation Rule</th>                            
 
20
                                                   #foreach($period in $selectedPeriodList)
 
21
                                                            <th>$simpleDateFormat.format($period.startDate)</th>                                
 
22
                                                        #end
 
23
                    </tr>
 
24
                                </thead>
 
25
                        <tbody>         
 
26
                #foreach( $validationRule in $validationRuleList )
 
27
                                        <tr class="TableDataCellStyles">
 
28
                                            #set($validationRuleInfo = "LeftSide Description : "+$validationRule.getLeftside().getDescription()+"\n Operator : "+$validationRule.operator+"\nRightSide Description : "+$validationRule.getRightside().getDescription())
 
29
                                                    <td align="left" class="TableHeadingCellStyles" align="left">
 
30
                                                        <a href="javascript:alert(' LeftSide Description : $validationRule.getLeftside().getDescription() \n Operator : $validationRule.operator \n RightSide Description : $validationRule.getRightside().getDescription()')">$validationRule.name</a>
 
31
                                                    </td>
 
32
                                                   #foreach($period in $selectedPeriodList)
 
33
                            #if($resultStatus.get($count).equals("PASS"))
 
34
                                <td><font color="green">$results.get($count)</font></td>
 
35
                            #else
 
36
                                <td><font color="red">$results.get($count)</font></td>
 
37
                            #end
 
38
                            #set($count = $count + 1)
 
39
                                                        #end
 
40
                                        </tr>
 
41
                #end
 
42
                                </tbody>
 
43
                </table>                        
 
44
        #end            
 
45
    </body>
 
46
</html>    
 
 
b'\\ No newline at end of file'