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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-04-28 08:25:30 UTC
  • Revision ID: grantw@unimelb.edu.au-20090428082530-u6w762gn0cyokpwf
Remove ivle.conf dependency from ivle.webapp.filesystem.serve.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
2
      xmlns:py="http://genshi.edgewall.org/">
3
3
  <head>
4
 
    <title>Groups</title>
 
4
    <title>Groups - ${offering.subject.name}</title>
5
5
  </head>
6
6
  <body>
7
 
    <h1>Group Administration</h1>
 
7
    <h1>Groups for ${offering.subject.name}</h1>
8
8
    <div id="ivle_padding">
9
 
      <py:if test="manage_subjects">
10
 
        <label for="subject_select">Subject:</label>
11
 
        <select id="subject_select">
12
 
          <py:for each="subject in manage_subjects">
13
 
            <option value="${subject.id}">${subject.name} (${subject.code})</option>
 
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>
14
27
          </py:for>
15
 
        </select>
16
 
        <input type="button" value="Manage" onclick="manage_subject()" />
17
 
        <div id="subject_div"></div>
18
 
      </py:if>
 
28
        </dl>
 
29
      </div>
19
30
    </div>
20
31
  </body>
21
32
</html>