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

« back to all changes in this revision

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

Dispatch now generates an index for each plugin type, allowing plugins to
be written which are aware of other plugins, and other plugin types.

All view plugins now subclass from ivle.webapp.base.plugins.ViewPlugin,
as opposed to subclassing BasePlugin directly. This will allow us to
easily re-write console as an OverlayPlugin, and allow future new
plugins types to be created.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    <title>Groups</title>
5
5
  </head>
6
6
  <body>
7
 
    <h1>Project Groups</h1>
8
7
    <div id="ivle_padding">
9
 
      <p py:if="enrolments.count() == 0">Error: You are not currently enrolled in any subjects.</p>
 
8
      <p py:if="not enrolments">Error: You are not currently enrolled in any subjects.</p>
10
9
      <py:for each="enrolment in enrolments">
11
10
        <div id="subject${enrolment.offering.id}" class="subject">
12
 
          <h2>${enrolment.offering.subject.name}</h2>
 
11
          <h1>${enrolment.offering.subject.name}</h1>
13
12
          <py:for each="group in get_user_groups(enrolment.offering)">
14
 
            <h3>${group.nick} (${group.name})</h3>
 
13
            <h2>${group.nick} (${group.name})</h2>
15
14
            <!-- Need proper test (for invite/membership). -->
16
15
            <!-- <py:choose test="group">
17
16
              <py:when test="True"> -->
29
28
                </p>
30
29
              </py:otherwise>
31
30
            </py:choose>-->
32
 
            <h4>Members</h4>
 
31
            <h3>Members</h3>
33
32
            <ul>
34
33
              <py:for each="member in group.members">
35
34
                <li>${member.fullname} (${member.login})</li>
40
39
      </py:for>
41
40
      <py:if test="manage_subjects">
42
41
        <hr />
43
 
        <h2>Group Administration</h2>
 
42
        <h1>Group Administration</h1>
44
43
        <label for="subject_select">Subject:</label>
45
44
        <select id="subject_select">
46
45
          <py:for each="subject in manage_subjects">