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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-05-26 02:10:08 UTC
  • Revision ID: grantw@unimelb.edu.au-20090526021008-hnka598yacu5w6da
Always set isdir = False in the file browser template filling.

Previously we used os.path.isdir outside the jail, which was terribly
unreliable and prone to crashing. We should do it properly once we can get
server-side access to the jails.

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
    <script type="text/javascript">
 
5
      settings_login = '${login}';
 
6
    </script>
 
7
  </head>
 
8
  <body>
 
9
    <h1>User Profile</h1>
 
10
    <div id="ivle_padding">
 
11
      <p>
 
12
        <span id="login"></span>
 
13
      </p>
 
14
      <p id="admin"></p>
 
15
      <h3>Change settings</h3>
 
16
      <form action="">
 
17
        <table>
 
18
          <tr>
 
19
            <td>Display name:</td>
 
20
            <td>
 
21
              <input type="text"
 
22
                  name="nick" id="nick" size="40" />
 
23
            </td>
 
24
          </tr>
 
25
          <tr>
 
26
            <td>Email address:</td>
 
27
            <td>
 
28
              <input type="text"
 
29
                  name="email" id="email" size="40" />
 
30
            </td>
 
31
          </tr>
 
32
        </table>
 
33
        <div id="changepassword"></div>
 
34
        <p id="result"></p>
 
35
        <p>
 
36
          <input value="Save" onclick="return save_settings()" id="save"
 
37
                type="submit" />
 
38
          <input value="Revert" onclick="return revert_settings()" id="revert"
 
39
                type="reset" />
 
40
        </p>
 
41
      </form>
 
42
      <div id="notices"></div>
 
43
    </div>
 
44
  </body>
 
45
</html>