~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: 2010-02-25 07:47:26 UTC
  • Revision ID: grantw@unimelb.edu.au-20100225074726-ffdk9pyey3h6ophp
Use thead/tbody separation on the ProjectSet index, so the headers don't highlight on hover.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
      <div class="majorsection">
16
16
        <h2>Projects</h2>
17
17
        <table class="pretty_table">
18
 
          <tr><th>Name</th><th>Actions</th></tr>
19
 
          <tr py:for="project in projectset.projects">
20
 
            <td><a href="${req.publisher.generate(project)}">${project.name}</a></td>
21
 
            <td></td>
22
 
          </tr>
 
18
          <thead><tr><th>Name</th><th>Actions</th></tr></thead>
 
19
          <tbody>
 
20
            <tr py:for="project in projectset.projects">
 
21
              <td><a href="${req.publisher.generate(project)}">${project.name}</a></td>
 
22
              <td></td>
 
23
            </tr>
 
24
          </tbody>
23
25
        </table>
24
26
      </div>
25
27
      <div py:if="projectset.is_group" class="majorsection">
26
28
        <h2>Groups</h2>
27
29
        <table class="pretty_table">
28
 
          <tr><th>Name</th><th>Actions</th></tr>
29
 
          <tr py:for="group in projectset.project_groups"
30
 
              id="project_group_${group.id}">
31
 
            <td>${group.name}</td>
32
 
            <td><a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
33
 
               class="choice"
34
 
               id="project_group_${group.id}_button">
35
 
              <img src="/+media/ivle.webapp.core/images/interface/group.png" alt="Manage" title="Manage" />
36
 
            </a></td>
37
 
          </tr>
 
30
          <thead><tr><th>Name</th><th>Actions</th></tr></thead>
 
31
          <tbody>
 
32
            <tr py:for="group in projectset.project_groups"
 
33
                id="project_group_${group.id}">
 
34
              <td>${group.name}</td>
 
35
              <td><a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
 
36
                 class="choice"
 
37
                 id="project_group_${group.id}_button">
 
38
                <img src="/+media/ivle.webapp.core/images/interface/group.png" alt="Manage" title="Manage" />
 
39
              </a></td>
 
40
            </tr>
 
41
          </tbody>
38
42
        </table>
39
43
        <p><span class="addaction">
40
44
          <input value="Add a new group" type="button" onclick="create_new_group(${projectset.id})" />