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

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/configDhis14Form.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( "dhis14_file_configuration" )</h3>
 
3
 
 
4
<form id="configForm" name="configForm" method="post" action="configDhis14.action">
 
5
 
 
6
<table>
 
7
        <tr>
 
8
                <th colspan="2">$i18n.getString( "configuration" )</th>
 
9
        </tr>
 
10
        <tr>
 
11
                <td><label for="dataFile">$i18n.getString( "data_file" ) (#)</label></td>
 
12
                <td><input type="text" id="dataFile" name="dataFile" value="$!configuration.dataFile" style="width:20em"></td>
 
13
        </tr>
 
14
        <tr>
 
15
                <td><label for="userName">$i18n.getString( "user_name" )</label></td>
 
16
                <td><input type="text" id="userName" name="userName" value="$!configuration.userName" style="width:20em"></td>
 
17
        </tr>
 
18
        <tr>
 
19
                <td><label for="password">$i18n.getString( "password" )</label></td>
 
20
                <td><input type="text" id="password" name="password" value="$!configuration.password" style="width:20em"></td>
 
21
        </tr>
 
22
        <tr>
 
23
                <td><label for="levels">$i18n.getString( "levels" )</label></td>
 
24
                <td>
 
25
                        <select id="levels" name="levels" style="width:20em">
 
26
                                <option value="8" #if ( $configuration.levels == "8" )selected="selected"#end>&nbsp;8&nbsp;</option>
 
27
                                <option value="7" #if ( $configuration.levels == "7" )selected="selected"#end>&nbsp;7&nbsp;</option>
 
28
                                <option value="6" #if ( $configuration.levels == "6" )selected="selected"#end>&nbsp;6&nbsp;</option>
 
29
                                <option value="5" #if ( $configuration.levels == "5" )selected="selected"#end>&nbsp;5&nbsp;</option>
 
30
                                <option value="4" #if ( $configuration.levels == "4" )selected="selected"#end>&nbsp;4&nbsp;</option>
 
31
                                <option value="3" #if ( $configuration.levels == "3" )selected="selected"#end>&nbsp;3&nbsp;</option>
 
32
                                <option value="2" #if ( $configuration.levels == "2" )selected="selected"#end>&nbsp;2&nbsp;</option>
 
33
                                <option value="1" #if ( $configuration.levels == "1" )selected="selected"#end>&nbsp;1&nbsp;</option>                    
 
34
                </select>
 
35
        </td>
 
36
        </tr>
 
37
        <tr>
 
38
                <td></td>
 
39
                <td><input type="button" value="$i18n.getString( 'save' )" style="width:50%" onclick="validateConfigDhis14()"><input
 
40
                        type="button" value="$i18n.getString( 'cancel' )" style="width:50%" onclick="window.location.href='displayImportForm.action?importFormat=DHIS14FILE'"></td>
 
41
        </tr>
 
42
</table>
 
43
 
 
44
</form>
 
45
 
 
46
<span id="message"></span>
 
47
 
 
48
#if ( $message )
 
49
<script type="text/javascript">
 
50
    setMessage( "${message}" ); 
 
51
</script>
 
52
#end