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

« back to all changes in this revision

Viewing changes to local/vn/dhis-web-hue-reporttool/src/main/webapp/dhis-web-reporttool/manageReportForm.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
<h3>$i18n.getString('manage_report')</h3>
 
3
 
 
4
<form id="reportForm" name="reportForm" action="" method="post">
 
5
        
 
6
  <input type="hidden" id="report" name="report">
 
7
  
 
8
  <table width="500">
 
9
        
 
10
        <colgroup>
 
11
          <col width="170">             
 
12
          <col width="330">
 
13
        </colgroup>
 
14
                
 
15
        <tr>
 
16
          <td><label for="reportName">$i18n.getString('report_name')</label></td>
 
17
          <td><input type="text" id="reportName" name="reportName" style="width:230px"></td>
 
18
        </tr>
 
19
<!--
 
20
        <tr>
 
21
          <td><label for="reportType">$i18n.getString( "report_type" )</label></td>
 
22
          <td><input type="radio" id="reportType" name="reportType" value="0" checked> $i18n.getString( "generic_standard" )<br>
 
23
                  <input type="radio" id="reportType" name="reportType" value="1"> $i18n.getString( "organisation_unit_spesific" )</td>
 
24
        </tr>
 
25
-->
 
26
        <tr>
 
27
          <td></td>
 
28
          <td><input type="button" value="$i18n.getString('add_report')" style="width:230px" onclick="addReport()"></td>
 
29
        </tr>
 
30
        
 
31
        <tr>
 
32
          <td height="30" colspan="2"></td>     
 
33
        </tr>
 
34
        
 
35
  </table>
 
36
  
 
37
  <table width="500">
 
38
        
 
39
    <colgroup>
 
40
          <col width="410">
 
41
      <col width="45">
 
42
      <col width="45">
 
43
    </colgroup>
 
44
      
 
45
    <tr>
 
46
      <th>$i18n.getString('report')</th>
 
47
      <th colspan="2">$i18n.getString('operation')</th>
 
48
    </tr>
 
49
                
 
50
    #foreach ( $rep in $reports )
 
51
    <tr #if( $mark ) style="background-color:#dddddd" #end>
 
52
      <td height="20">$encoder.htmlEncode( $rep )</td>
 
53
      <td align="center"><a href="#" onclick="loadReport('$encoder.jsEncode( $rep )')"><img src="../images/design.png" border="0" alt=""></a></td>            
 
54
      <td align="center"><a href="#" onclick="deleteReport('$encoder.jsEncode( $rep )')"><img src="../images/delete.png" border="0" alt=""></a></td>
 
55
    </tr>
 
56
                
 
57
    #if( $mark )
 
58
      #set( $mark = false )
 
59
    #else
 
60
      #set( $mark = true )
 
61
    #end                
 
62
        #end
 
63
        
 
64
  </table>
 
65
  
 
66
</form>
 
67
 
 
68
<script type="text/javascript">
 
69
        var confirm_to_delete_report = '$encoder.jsEscape( $i18n.getString( "confirm_to_delete_report" ) , "'" )';
 
70
</script>
 
 
b'\\ No newline at end of file'