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

« back to all changes in this revision

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

  • Committer: Nick Chadwick
  • Date: 2009-03-03 01:48:48 UTC
  • mto: (1099.1.227 exercise-ui)
  • mto: This revision was merged to the branch mainline in revision 1162.
  • Revision ID: chadnickbok@gmail.com-20090303014848-dyurvmtmbneohd7f
Modified the setup script to include '.txt' files.

This allows the automatic inclusion of definitions.txt from the rst
code, as it is needed by all worksheets.

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 - ${offering.subject.name}</title>
 
4
    <title>Groups</title>
5
5
  </head>
6
6
  <body>
7
7
    <h1>Groups for ${offering.subject.name}</h1>
8
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>
 
9
      <div id="offering_groups" />
30
10
    </div>
 
11
    <script type="text/javascript">
 
12
      manage_subject_offering(${offering.subject.id}, document.getElementById('offering_groups'));
 
13
    </script>
31
14
  </body>
32
15
</html>