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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-07-15 07:19:34 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:875
Added "migrations" directory, which contains incremental database update
    scripts.
Updated users.sql, uniqueness key on offering table.
Added migration matching this update to the migrations directory. Mm handy!

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>Edit profile - ${user.nick}</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Edit profile of ${user.nick}</h1>
8
 
    <div id="ivle_padding">
9
 
      <p>
10
 
        ${user.fullname} (<b>${user.login}</b><py:if test="user.studentid"> / ${user.studentid}</py:if>)
11
 
        <a py:if="user.passhash" href="/~${user.login}/+changepassword">(change password)</a>
12
 
        <a py:if="req.user.admin" href="/~${user.login}/+resetpassword">(reset password)</a>
13
 
        <a py:if="req.user.admin" href="/~${user.login}/+admin">(administer)</a>
14
 
      </p>
15
 
    
16
 
      <p py:if="user.admin">Privilege: <strong>IVLE administrator</strong></p>
17
 
 
18
 
      <form class="verticalform" action="" method="post">
19
 
        <div>
20
 
          <label for="nick">Display name:</label>
21
 
          <input type="text" name="nick" id="nick" size="40" />
22
 
          <span py:if="'nick' in errors" class="form_error">${errors.nick}</span>
23
 
        </div>
24
 
        <div>
25
 
          <label for="email">Email address:</label>
26
 
          <input type="text" name="email" id="email" size="40" />
27
 
          <span py:if="'email' in errors" class="form_error">${errors.email}</span>
28
 
        </div>
29
 
        <p><input type="submit" value="Save Changes" /></p>
30
 
      </form>
31
 
 
32
 
      <h3 py:if="user.pass_exp or user.acct_exp">Notices</h3>
33
 
      <p py:if="user.pass_exp">
34
 
        Your password will expire
35
 
        <span title="${format_datetime(user.pass_exp)}">${format_datetime_short(user.pass_exp)}</span>.
36
 
        You should change it before then to avoid having your account
37
 
        disabled.
38
 
      </p>
39
 
      <p py:if="user.acct_exp">
40
 
        Your IVLE account will expire
41
 
        <span title="${format_datetime(user.acct_exp)}">${format_datetime_short(user.acct_exp)}</span>.
42
 
      </p>
43
 
    </div>
44
 
  </body>
45
 
</html>