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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-03-17 07:16:03 UTC
  • Revision ID: grantw@unimelb.edu.au-20090317071603-ux5qxbjkpdarvig3
Tags: 0.1.9.10
ivle.interpret.execute_raw() no longer breaks with lots of data.

Previously we uses subprocess' wait(), which doesn't empty the stdout
pipe. It filled up, causing the child to block. We now use communicate()
instead, which select()s and reads the pipes to unblock things.

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>