1
<html xmlns="http://www.w3.org/1999/xhtml"
2
xmlns:py="http://genshi.edgewall.org/">
4
<title>Manage subjects</title>
7
<h1>Manage subjects</h1>
8
<div id="ivle_padding">
9
<div class="majorsection">
11
<table class="pretty_table">
12
<thead><tr><th>Subject</th><th>Code</th><th>Actions</th></tr></thead>
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>
18
<a href="${req.publisher.generate(subject, SubjectEdit)}" title="Edit"><img src="${mediapath + 'interface/pencil.png'}" alt="Edit" /></a>
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>
28
<div class="majorsection">
30
<table class="pretty_table">
31
<thead><tr><th>Year</th><th>Semester</th><th>State</th><th>Actions</th></tr></thead>
33
<tr py:for="semester in semesters">
34
<td>${semester.year}</td>
35
<td>${semester.display_name}</td>
36
<td>${semester.state}</td>
38
<a href="${req.publisher.generate(semester, SemesterEdit)}" title="Edit"><img src="${mediapath + 'interface/pencil.png'}" alt="Edit" /></a>
43
<div class="horizontalactions">
44
<a class="addaction" href="/+semesters/+new">Create new semester</a>