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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/">
  <head>
    <title>Project set for ${projectset.offering.subject.name}</title>
  </head>
  <body>
    <h1>Project set for ${projectset.offering.subject.name}</h1>
    <div id="ivle_padding">
      <py:if test="not projectset.is_group">
      <p>Non-group projects.</p>
      </py:if>
      <py:if test="projectset.is_group">
      <p>Groups of maximum size ${projectset.max_students_per_group}.</p>
      </py:if>
      <p>Projects in this set:</p>
      <table class="pretty_table">
        <tr><th>Name</th><th>Actions</th></tr>
        <tr py:for="project in projectset.projects">
          <td><a href="${req.publisher.generate(project)}">${project.name}</a></td>
          <td></td>
        </tr>
      </table>
      <py:if test="projectset.is_group">
      <p>Groups in this set:</p>
      <table class="pretty_table">
        <tr><th>Name</th><th>Actions</th></tr>
        <tr py:for="group in projectset.project_groups"
            id="project_group_${group.id}">
          <td>${group.name}</td>
          <td><a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
             class="choice"
             id="project_group_${group.id}_button">
            <img src="/+media/ivle.webapp.core/images/interface/group.png" alt="Manage" title="Manage" />
          </a></td>
        </tr>
      </table>
      <p><span class="addaction">
        <input value="Add a new group" type="button" onclick="create_new_group(${projectset.id})" />
      </span></p>
      </py:if>
    </div>
  </body>
</html>