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

« back to all changes in this revision

Viewing changes to ivle/webapp/groups/template.html

  • Committer: mattgiuca
  • Date: 2008-02-15 05:43:52 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:475
Commited some earlier changes to users.sql (not committed earlier due to
misunderstanding :|) Previous changes today actually depended on the database
being updated with this schema.

users.sql: Added "pending" option to login.state, and added a bunch of new
fields to login: expiry timers, time of last login.

login.py: Checks if account has expired. Sets last login.
    (Currently buggy with some XXXs, because we don't have a way to convert
    Python time values into SQL).

db.py: Added last_login to list of allowable fields for login.

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>Groups - ${offering.subject.name}</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Groups for ${offering.subject.name}</h1>
8
 
    <div id="ivle_padding">
9
 
      <div id="offering_groups" >
10
 
        <dl>
11
 
          <py:for each="project_set in offering.project_sets">
12
 
            <dt>Project Set ${project_set.id}</dt>
13
 
            <dd>
14
 
              <ul>
15
 
                <li py:for="group in project_set.project_groups"
16
 
                    id="project_group_${group.id}">
17
 
                  ${group.name}
18
 
                  <a onclick="manage_group(${offering.id}, ${group.id} ,'project_group_${group.id}')"
19
 
                     class="choice"
20
 
                     id="project_group_${group.id}_button">
21
 
                    (manage)
22
 
                  </a>
23
 
                </li>
24
 
                <li><input value="New" type="button" onclick="create_new_group(${project_set.id})" /></li>
25
 
              </ul>
26
 
            </dd>
27
 
          </py:for>
28
 
        </dl>
29
 
      </div>
30
 
    </div>
31
 
  </body>
32
 
</html>