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

« back to all changes in this revision

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

  • Committer: David Coles
  • Date: 2010-07-27 04:52:14 UTC
  • Revision ID: coles.david@gmail.com-20100727045214-p32h1kc0gcv48dpr
Worksheets: Strip off whitespace from the end of exercise attempts.

This solves an issue where accidental whitespace in an attempt will cause 
"IndentationError" syntax error (which don't occur when run in console).

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>