1603
by William Grant
Add UI to clone worksheets between offerings -- replacing ivle-cloneworksheets. |
1 |
<html xmlns="http://www.w3.org/1999/xhtml" |
2 |
xmlns:py="http://genshi.edgewall.org/"> |
|
3 |
<head>
|
|
4 |
<title>Clone worksheets to ${context.subject.name}</title> |
|
5 |
</head> |
|
6 |
<body>
|
|
7 |
<h1>Clone worksheets</h1> |
|
8 |
<div id="ivle_padding"> |
|
1609
by William Grant
Add a tiny bit of descriptive text to +clone-worksheets. |
9 |
<p>
|
10 |
If this offering has no existing worksheets, you can copy a set from |
|
11 |
any other offering to this one. Any changes made afterwards in either |
|
12 |
copy will not be reflected in the other. |
|
13 |
</p> |
|
1603
by William Grant
Add UI to clone worksheets between offerings -- replacing ivle-cloneworksheets. |
14 |
<form class="verticalform" action="" method="post"> |
15 |
<div>
|
|
16 |
<label for="subject">Source subject:</label> |
|
17 |
<select id="subject" name="subject"> |
|
18 |
<option py:for="subject in subjects" value="${subject.short_name}">${subject.name}</option> |
|
19 |
</select> |
|
20 |
<span py:if="'subject' in errors" class="form_error">${errors.subject}.</span> |
|
21 |
</div> |
|
22 |
<div>
|
|
23 |
<label for="semester">Source semester:</label> |
|
24 |
<select id="semester" name="semester"> |
|
1822.1.1
by William Grant
Replace semester.semester with semester.{code,url_name,display_name}. |
25 |
<option py:for="semester in semesters" value="${semester.year}/${semester.url_name}">${semester.year} ${semester.display_name}</option> |
1603
by William Grant
Add UI to clone worksheets between offerings -- replacing ivle-cloneworksheets. |
26 |
</select> |
27 |
<span py:if="'semester' in errors" class="form_error">${errors.semester}.</span> |
|
28 |
</div> |
|
29 |
<div class="submit form_error" py:if="defined('error_value')" py:content="error_value" /> |
|
30 |
<div class="submit"> |
|
31 |
<input type="submit" value="Clone" /> |
|
32 |
</div> |
|
33 |
</form> |
|
34 |
</div> |
|
35 |
</body> |
|
36 |
</html> |
|
37 |