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

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/changePassword.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( "change_password" )</h3>
 
3
 
 
4
<form id="changePassword" action="changePassword.action" method="post" onsubmit="return validateAddUser()">
 
5
 
 
6
<table>
 
7
        <tr>
 
8
                <th colspan="2">&nbsp;</th>
 
9
        </tr>
 
10
        <tr>
 
11
                <td><label for="username">$i18n.getString( "username" )</label></td>
 
12
                <td>$username</td>      
 
13
        </tr>
 
14
        <tr>
 
15
                <td><label for="rawPassword">$i18n.getString( "password" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
 
16
                <td><input type="password" id="rawPassword" name="rawPassword" style="width:20em"></td>         
 
17
        </tr>
 
18
        <tr>
 
19
                <td><label for="retypePassword">$i18n.getString( "retype_password" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
 
20
                <td><input type="password" id="retypePassword" name="retypePassword" style="width:20em"></td>   
 
21
        </tr>
 
22
        
 
23
        <tr>
 
24
                <td colspan="4" height="10">
 
25
                        <span id="message"></span>
 
26
                </td>
 
27
        </tr>
 
28
        <tr>
 
29
                <td></td>
 
30
                <td valign="top"><input type="submit" value="$i18n.getString( "change" )" style="width:10em"><input type="button" value="$i18n.getString( "cancel" )" onclick="window.location.href='user.action'" style="width:10em"></td>     
 
31
        </tr>
 
32
</table>
 
33
 
 
34
</form>
 
35
 
 
36
<span id="message"></span>
 
37
 
 
38
<script type="text/javascript">
 
39
 
 
40
        selectionTree.buildSelectionTree();
 
41
        
 
42
        var usernameField = document.getElementById( 'username' );
 
43
        usernameField.select();
 
44
        usernameField.focus();
 
45
        
 
46
</script>