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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2010-07-22 02:12:36 UTC
  • mfrom: (1812.1.13 late-submit)
  • Revision ID: matt.giuca@gmail.com-20100722021236-k8kt4cqdtywzpk24
Merge from trunk late-submit.
Students may now submit projects after the deadline, but they are warned that the submission is late.
Lecturers are now given data on which submissions were made late, and how many days.
(LP: #598346)

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>