~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: 2009-02-25 03:04:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1119.
  • Revision ID: matt.giuca@gmail.com-20090225030408-5e13v4felqc4aybr
(almost) all HTML pages updated: Moved <h1>s outside of the ivle-padding div.
    Added new <h1>s to pages which didn't have any, and reduced <h1s> down to
    <h2s> if they didn't represent the page heading.

h1s now represent the top-level heading of a page. The new style sheet styles
them specially, designed to appear directly underneath the tab bar. Therefore,
they need to appear outside of any padding.

util.py: Removed the <h1> from the default-generated terms of service page.
    (All other TOS pages should follow). There is now a <h1> at the top of the
    TOS template page instead.

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