~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/user-password-change.html

  • Committer: William Grant
  • Date: 2009-12-01 06:17:00 UTC
  • mfrom: (1294.1.11 new-user-ui)
  • Revision ID: grantw@unimelb.edu.au-20091201061700-8s92mwk3wf9goot6
Merge new-user-ui. The user settings view is no longer JavaScripty, and admins are further empowered.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>Change password - ${user.nick}</title>
 
5
  </head>
 
6
  <body>
 
7
    <h1>Change password for ${user.nick}</h1>
 
8
    <div id="ivle_padding">
 
9
      <form class="verticalform" action="" method="post">
 
10
        <div>
 
11
          <label for="field_old_password">Old password:</label>
 
12
          <input type="password" name="old_password" id="field_old_password" size="40" />
 
13
        </div>
 
14
        <div>
 
15
          <label for="field_new_password">New password:</label>
 
16
          <input type="password" name="new_password" id="field_new_password" size="40" />
 
17
        </div>
 
18
        <div>
 
19
          <label for="field_new_password_again">New password (again):</label>
 
20
          <input type="password" name="new_password_again" id="field_new_password_again" size="40" />
 
21
        </div>
 
22
 
 
23
        <p py:if="error" py:content="error" />
 
24
        <p><input type="submit" value="Change password" /></p>
 
25
 
 
26
        <p py:if="req.user.admin">
 
27
          Admins may also
 
28
          <a href="/~${user.login}/+resetpassword">reset passwords</a> 
 
29
          without knowledge of the old one.
 
30
        </p>
 
31
      </form>
 
32
    </div>
 
33
  </body>
 
34
</html>