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

« back to all changes in this revision

Viewing changes to www/apps/settings/__init__.py

  • Committer: mattgiuca
  • Date: 2008-02-25 05:52:08 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:577
settings: Now populates all fields on the fly with the info from the DB,
    generating the necessary DOM nodes.
    (YHNIHTTW, etc, etc).

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    req.write("""<div id="ivle_padding">
46
46
 
47
47
  <h2>User Profile</h2>
48
 
  <p><span id="fullname"></span> (<b><span id="login"></span></b>)</p>
49
 
  <div id="role"></div>
 
48
  <p><span id="login"></span></p>
 
49
  <p id="role"></p>
50
50
  <h3>Change settings</h3>
51
51
  <table>
52
52
    <tr><td>Display name:</td><td><input type="text" name="nick" id="nick"
54
54
    <tr><td>Email address:</td><td><input type="text" name="email" id="email"
55
55
        size="40" /></td></tr>
56
56
  </table>
57
 
  <h3>Change password</h3>
58
 
  <table>
59
 
    <tr><td>New password:</td><td><input type="password"
60
 
        name="newpass" id="newpass" size="40" /></td></tr>
61
 
    <tr><td>Retype password:</td><td><input type="password"
62
 
        name="repeatpass" id="repeatpass" size="40" /></td></tr>
63
 
  </table>
64
 
  <p>Please type your new password twice, to make sure you remember it.</p>
65
 
  <input value="Save" onclick="save_settings()" type="button" />
66
 
  <input value="Revert" onclick="populate()" type="button" />
 
57
  <div id="changepassword"></div>
 
58
  <p>
 
59
    <input value="Save" onclick="save_settings()" type="button" />
 
60
    <input value="Revert" onclick="revert_settings()" type="button" />
 
61
  </p>
67
62
 
68
63
  <div id="notices"></div>
69
64
</div>