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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-01-31 01:10:29 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:344
dispatch/ivle CSS foo.
The IVLE header is now a fixed height in em (previously was just intrinsic
    height).
This fixes the "tabs sometimes don't line up with the base line" display
problem, and also makes it much easier to add fixed or absolute content on the
rest of the page.

This was done by separating the tabs out into a separate div and making that
absolutely positioned. Now the header is exactly 5.3em.

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
 
    <title>Administer - ${user.nick}</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Administer ${user.nick}</h1>
8
 
    <div id="ivle_padding">
9
 
      <form class="verticalform" action="" method="post">
10
 
        <table>
11
 
          <div>
12
 
            <label for="field_login">Login:</label>
13
 
            <span id="field_login">${user.login}</span>
14
 
          </div>
15
 
          <div>
16
 
            <label for="field_unixid">UID:</label>
17
 
            <span id="field_unixid">${user.unixid}</span>
18
 
          </div>
19
 
 
20
 
          <div>
21
 
            <label for="field_admin">Administrator:</label>
22
 
            <input type="checkbox" name="admin" id="field_admin" />
23
 
            <span py:if="'admin' in errors" class="form_error">${errors.admin}</span>
24
 
          </div>
25
 
          <div>
26
 
            <label for="field_fullname">Full name:</label>
27
 
            <input type="text" name="fullname" id="field_fullname" size="40" />
28
 
            <span py:if="'fullname' in errors" class="form_error">${errors.fullname}</span>
29
 
          </div>
30
 
          <div>
31
 
            <label for="field_studentid">Student ID:</label>
32
 
            <input type="text" name="studentid" id="field_studentid" size="40" />
33
 
            <span py:if="'studentid' in errors" class="form_error">${errors.studentid}</span>
34
 
          </div>
35
 
        </table>
36
 
        <p><input type="submit" value="Save Changes" /></p>
37
 
      </form>
38
 
    </div>
39
 
  </body>
40
 
</html>