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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/">
  <head>
    <title>Edit profile - ${user.nick}</title>
  </head>
  <body>
    <h1>Edit profile of ${user.nick}</h1>
    <div id="ivle_padding">
      <div class="contextactions">
        <a py:if="req.user.admin" class="manageaction" href="/~${user.login}/+admin">Administer user</a>
        <a py:if="user.passhash" class="keyaction" href="/~${user.login}/+changepassword">Change password</a>
        <a py:if="req.user.admin" class="keyaction" href="/~${user.login}/+resetpassword">Reset password</a>
      </div>
      <p>
        ${user.fullname} (<b>${user.login}</b><py:if test="user.studentid"> / ${user.studentid}</py:if>)
      </p>
    
      <p py:if="user.admin">Privilege: <strong>IVLE administrator</strong></p>

      <form class="verticalform" action="" method="post">
        <div>
          <label for="nick">Display name:</label>
          <input type="text" name="nick" id="nick" size="40" />
          <span py:if="'nick' in errors" class="form_error">${errors.nick}</span>
        </div>
        <div>
          <label for="email">Email address:</label>
          <input type="text" name="email" id="email" size="40" />
          <span py:if="'email' in errors" class="form_error">${errors.email}</span>
        </div>
        <p><input type="submit" value="Save Changes" /></p>
      </form>

      <h3 py:if="user.pass_exp or user.acct_exp">Notices</h3>
      <p py:if="user.pass_exp">
        Your password will expire
        <span title="${format_datetime(user.pass_exp)}">${format_datetime_short(user.pass_exp)}</span>.
        You should change it before then to avoid having your account
        disabled.
      </p>
      <p py:if="user.acct_exp">
        Your IVLE account will expire
        <span title="${format_datetime(user.acct_exp)}">${format_datetime_short(user.acct_exp)}</span>.
      </p>
    </div>
  </body>
</html>