~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-02-26 02:55:51 UTC
  • Revision ID: grantw@unimelb.edu.au-20090226025551-hofgfw6e7h3pt54i
Tags: 0.1.9.2, 0.1.9.3, 0.1.9.4
Move the group admin view to per-offering.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    <title>Groups</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>
14
 
          </py:for>
15
 
        </select>
16
 
        <input type="button" value="Manage" onclick="manage_subject()" />
17
 
        <div id="subject_div"></div>
18
 
      </py:if>
 
9
      <div id="offering_groups" />
19
10
    </div>
 
11
    <script type="text/javascript">
 
12
      manage_subject_offering(${offering.subject.id}, document.getElementById('offering_groups'));
 
13
    </script>
20
14
  </body>
21
15
</html>