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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2010-02-11 05:54:45 UTC
  • Revision ID: matt.giuca@gmail.com-20100211055445-151qrs4xczzl5rns
Docs: Completed Tour of IVLE (finished Admin section). Apologies for the mess on the previous commit -- committed an unfinished document.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
            <label for="field_unixid">UID:</label>
17
17
            <span id="field_unixid">${user.unixid}</span>
18
18
          </div>
19
 
 
 
19
          <div>
 
20
            <label for="field_disabled">Disabled:</label>
 
21
            <input py:if="user.state in (u'enabled', u'disabled')"
 
22
                py:attrs="{'disabled': 'disabled'} if disable_admin else {}"
 
23
                type="checkbox" name="disabled" id="field_disabled" />
 
24
            <span py:if="user.state not in (u'enabled', u'disabled')">
 
25
              Has not accepted agreement
 
26
            </span>
 
27
          </div>
20
28
          <div>
21
29
            <label for="field_admin">Administrator:</label>
22
 
            <input type="checkbox" name="admin" id="field_admin" />
 
30
            <input type="checkbox" name="admin" id="field_admin"
 
31
                py:attrs="{'disabled': 'disabled'} if disable_admin else {}" />
23
32
            <span py:if="'admin' in errors" class="form_error">${errors.admin}</span>
24
33
          </div>
25
34
          <div>