~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/commentsFront.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>DataEntry Status Form</title>            
 
5
                        <script>
 
6
                            // Global Variables
 
7
                            var selCategory = "";
 
8
                            var selFacility = "";
 
9
                
 
10
                                var ouName=""; 
 
11
                                var dsName="";
 
12
                                var sDateIndex=0;
 
13
                                var eDateIndex=0;                       
 
14
                                var sDate="";
 
15
                                var eDate="";
 
16
                                                                                                                                                                                                                        
 
17
        </script>
 
18
            </head>
 
19
            <body>
 
20
                <h1>DataStatus Form</h1>
 
21
                <hr />  
 
22
                <form id="ChartGenerationForm" name="ChartGenerationForm" action="commentsResult.action" method="post" onsubmit="return formValidationsForDataStatus()" target="chartWindow1">  
 
23
                                        <table align="center" style=" border-collapse: collapse; margin-top: 0;" cellpadding="0" cellspacing="0" width="730" border=0>
 
24
                                <colgroup>
 
25
                                <col width="325">
 
26
                                  <col width="80">
 
27
                                   <col width="325">
 
28
                      </colgroup>
 
29
                                        <tr>
 
30
                                        <td class="NormalB">
 
31
                                     $i18n.getString( "ds_dataset_list" ) : <br>
 
32
                                                        <select multiple size="5" id="availableDataSets" name="availableDataSets" style="width:325px; height:80px" ondblclick="moveSelectedById( 'availableDataSets', 'selectedDataSets' )">
 
33
                                                            #foreach ( $dataSet in $dataSetList )
 
34
                                                                                <option value='$dataSet.getId()' title='$dataSet.getName()'>$dataSet.getName()</option>
 
35
                                                        #end
 
36
                                                        </select>
 
37
                                                    </td>
 
38
                                        <td class="NormalB" align="center">
 
39
                                            <br />
 
40
                                                                                                           <input type="button" value="&gt;" style="width:40px" onclick="moveSelectedById( 'availableDataSets', 'selectedDataSets' )"><br>
 
41
                                                <input type="button" value="&lt;" style="width:40px" onclick="moveSelectedById( 'selectedDataSets', 'availableDataSets' )"><br>
 
42
                                                <input type="button" value="&gt;&gt;" style="width:40px" onclick="moveAllById( 'availableDataSets', 'selectedDataSets' )"><br>
 
43
                                                <input type="button" value="&lt;&lt;" style="width:40px" onclick="moveAllById( 'selectedDataSets', 'availableDataSets' )">              
 
44
                                        </td>
 
45
                                        <td class="NormalB">
 
46
                                            Selected DataSets <br />
 
47
                                                    <select multiple id="selectedDataSets" name="selectedDataSets" style="width:325px; height:80px" ondblclick="moveSelectedById( 'selectedDataSets', 'selectedDataSets' )">
 
48
                                                        </select>
 
49
                                        </td>
 
50
                                      </tr>
 
51
                                        <tr>
 
52
                                        <td class="NormalB">&nbsp;</td>   
 
53
                                        <td class="NormalB">&nbsp;</td>
 
54
                                        <td class="NormalB">&nbsp;</td>
 
55
                                        </tr>
 
56
                                        <tr>
 
57
                                        <td class="NormalB">
 
58
                                            $i18n.getString( "ga_orgunit" )<br>                                                 
 
59
                                                                <select name="orgUnitListCB" id="orgUnitListCB" multiple style="width: 325px;height: 100px">
 
60
                                                                </select>                                                                                               
 
61
                                        </td>   
 
62
                                        <td class="NormalB" align="center"><input type="button" name="remOUButton" id="remOUButton" value=" > " onclick="remOUFunction()" /></td>
 
63
                                        <td class="NormalB" align="center">
 
64
                                            <table>
 
65
                                                <tr>
 
66
                                                    <td class="NormalB">
 
67
                                                        $i18n.getString( "ga_viewby" )<br>
 
68
                                                    <select id="categoryLB" name="categoryLB" onchange="categoryChangeFunction(event)" disabled>
 
69
                                                                <option value="period">Period</option>
 
70
                                                                <option value="facility" selected>Facility</option>
 
71
                                    </select>
 
72
                                    <br /><br />                        
 
73
                                                    </td>
 
74
                                                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
 
75
                                                    <td align="right" class="NormalB">
 
76
                                                        $i18n.getString( "ga_facilityby" )<br>
 
77
                                                    <select id="facilityLB" name="facilityLB" onchange="facilityChangeFunction(event)">
 
78
                                                                <option value="children">Child Tree</option>
 
79
                                                                <option value="immChildren">Immediate Children</option>
 
80
                                                                <option value="random" selected>Selected</option>
 
81
                                    </select>
 
82
                                    <br /><br />                                                                
 
83
                                                    </td>
 
84
                                                </tr>                                               
 
85
                                                <tr>
 
86
                                                    <td class="NormalB">
 
87
                                                        $i18n.getString( "ga_from" )<br>
 
88
                                                                            <select id="sDateLB" name="sDateLB">                                                                                                
 
89
                                                                                                    #foreach($period in $monthlyPeriods)
 
90
                                                                                                              <option value="$period.id">$simpleDateFormat.format($period.startDate)</option>
 
91
                                                                                                    #end
 
92
                                                                                          </select>
 
93
                                                                                          <br /><br />  
 
94
                                                    </td>
 
95
                                                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
 
96
                                                    <td align="right" class="NormalB">
 
97
                                                        $i18n.getString( "ga_to" )<br>
 
98
                                                                                      <select id="eDateLB" name="eDateLB">
 
99
                                                                                                    #foreach($period in $monthlyPeriods)
 
100
                                                                                                              <option value="$period.id">$simpleDateFormat.format($period.endDate)</option>
 
101
                                                                                                    #end                                                                                
 
102
                                                                                          </select>
 
103
                                                                                          <br /><br />                  
 
104
                                                                                      </td>
 
105
                                                </tr>                                                                                           
 
106
                                                <tr>
 
107
                                                    <td>&nbsp;&nbsp;</td>
 
108
                                                                            <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
 
109
                                                    <td align="right">
 
110
                                                              <input type="submit" name="ViewStatus" value="View DataStatus" style="width: 120; height: 25; font-family:Arial; font-weight:bold; color:#000000">
 
111
                                                                                                                      </td>
 
112
                                                </tr>                            
 
113
                            <input type="hidden" name="selectedButton" id="selectedButton">
 
114
                        </table>    
 
115
                                        </td>
 
116
                                        </tr>
 
117
            </table>                                                    
 
118
        </form>
 
119
    </body>
 
120
</html>
 
 
b'\\ No newline at end of file'