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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2010-02-25 04:20:49 UTC
  • Revision ID: matt.giuca@gmail.com-20100225042049-ztiwb9yww4a4ayuj
Project set view: Pretty up. Replace lists with name/action tables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
      <p>This set contains solo projects</p>
11
11
      </py:if>
12
12
      <p>Projects in this set:</p>
13
 
      <ul>
14
 
        <li py:for="project in projectset.projects">
15
 
          <a href="${req.publisher.generate(project)}">${project.name}</a>
16
 
        </li>
17
 
      </ul>
 
13
      <table class="pretty_table">
 
14
        <tr><th>Name</th><th>Actions</th></tr>
 
15
        <tr py:for="project in projectset.projects">
 
16
          <td><a href="${req.publisher.generate(project)}">${project.name}</a></td>
 
17
          <td></td>
 
18
        </tr>
 
19
      </table>
18
20
      <py:if test="projectset.is_group">
19
21
      <p>Groups in this set:</p>
20
 
      <ul>
21
 
        <li py:for="group in projectset.project_groups"
 
22
      <table class="pretty_table">
 
23
        <tr><th>Name</th><th>Actions</th></tr>
 
24
        <tr py:for="group in projectset.project_groups"
22
25
            id="project_group_${group.id}">
23
 
          ${group.name}
24
 
          <a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
 
26
          <td>${group.name}</td>
 
27
          <td><a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
25
28
             class="choice"
26
29
             id="project_group_${group.id}_button">
27
30
            (manage)
28
 
          </a>
29
 
        </li>
30
 
        <li><input value="New" type="button" onclick="create_new_group(${projectset.id})" /></li>
31
 
      </ul>
 
31
          </a></td>
 
32
        </tr>
 
33
      </table>
 
34
      <p><input value="New" type="button" onclick="create_new_group(${projectset.id})" /></p>
32
35
      </py:if>
33
36
    </div>
34
37
  </body>