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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/subjects-manage.html

In the new framework handler, either write the exception message or use
Apache's. Previously any message present would simply be prepended to Apache's,
resulting in something very ugly.

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>Manage subjects</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Manage subjects</h1>
8
 
    <div id="ivle_padding">
9
 
      <div class="majorsection">
10
 
        <h2>Subjects</h2>
11
 
        <table class="pretty_table">
12
 
          <thead><tr><th>Subject</th><th>Code</th><th>Actions</th></tr></thead>
13
 
          <tbody>
14
 
            <tr py:for="subject in subjects">
15
 
              <td><a href="${req.publisher.generate(subject, SubjectView)}" title="Subject offerings">${subject.name}</a></td>
16
 
              <td>${subject.code}</td>
17
 
              <td>
18
 
                <a href="${req.publisher.generate(subject, SubjectEdit)}" title="Edit"><img src="${mediapath + 'interface/pencil.png'}" alt="Edit" /></a>
19
 
              </td>
20
 
            </tr>
21
 
          </tbody>
22
 
        </table>
23
 
        <div class="horizontalactions">
24
 
          <a class="addaction" href="/subjects/+new">Create new subject</a>
25
 
          <a class="addaction" href="/subjects/+new-offering">Create new offering</a>
26
 
        </div>
27
 
      </div>
28
 
      <div class="majorsection">
29
 
        <h2>Semesters</h2>
30
 
        <table class="pretty_table">
31
 
          <thead><tr><th>Year</th><th>Semester</th><th>State</th><th>Actions</th></tr></thead>
32
 
          <tbody>
33
 
            <tr py:for="semester in semesters">
34
 
              <td>${semester.year}</td>
35
 
              <td>${semester.semester}</td>
36
 
              <td>${semester.state}</td>
37
 
              <td>
38
 
                <a href="${req.publisher.generate(semester, SemesterEdit)}" title="Edit"><img src="${mediapath + 'interface/pencil.png'}" alt="Edit" /></a>
39
 
              </td>
40
 
            </tr>
41
 
          </tbody>
42
 
        </table>
43
 
        <div class="horizontalactions">
44
 
          <a class="addaction" href="/+semesters/+new">Create new semester</a>
45
 
        </div>
46
 
      </div>
47
 
    </div>
48
 
  </body>
49
 
</html>