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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/enrolments.html

  • Committer: Matt Giuca
  • Date: 2009-02-24 05:59:10 UTC
  • mto: This revision was merged to the branch mainline in revision 1119.
  • Revision ID: matt.giuca@gmail.com-20090224055910-gevty3r7urdsq4zw
File browser: Re-styled the path area, now has a yellow 3D-looking gradient
    thing.
    Added image-source/filepathbar-bg.svg, and corresponding png.
    Changed filesystem/browser/media/browser.css to the new style.
    (Note: This breaks the two bars below it; that's OK, we're about to
    restyle them too).
Removed redundant span from filesystem/browser/template.html.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html xmlns="http://www.w3.org/1999/xhtml"
2
 
      xmlns:py="http://genshi.edgewall.org/">
3
 
  <head>
4
 
    <title>Enrolments - ${offering.subject.name}</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Staff and students in ${offering.subject.name}</h1>
8
 
    <div id="ivle_padding">
9
 
      <div py:def="userlist(title, role)"
10
 
           py:if="offering.get_members_by_role(unicode(role)).count()">
11
 
        <h2>${title}</h2>
12
 
        <table class="pretty_table">
13
 
          <thead><tr><th>Login</th><th>Name</th></tr></thead>
14
 
          <tbody>
15
 
            <tr py:for="user in offering.get_members_by_role(unicode(role))">
16
 
              <td>${user.login}</td>
17
 
              <td>${user.display_name}</td>
18
 
            </tr>
19
 
          </tbody>
20
 
        </table>
21
 
      </div>
22
 
      ${userlist("Lecturers", "lecturer")}
23
 
      ${userlist("Tutors", "tutor")}
24
 
      ${userlist("Students", "student")}
25
 
    </div>
26
 
  </body>
27
 
</html>