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

« back to all changes in this revision

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

  • Committer: chadnickbok
  • Date: 2009-01-22 02:14:14 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1173
Fixes Issue #14

When uploading files, students will now be shown an
error message if there upload would replace already existing
files.

This upload will not be performed until it will not clobber
any old files.

Note that there is currently a way to change this behaviour in
the code in action.py, to allow files to be overwritten. However
there is no way this flag can be set through the browser interface
(yet).

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="role"></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>