1093
by chadnickbok
Adding the changes from my genshi branch into trunk. |
1 |
<html xmlns="http://www.w3.org/1999/xhtml" |
1099.1.25
by root
ivle.webapp.admin, ivle.webapp.groups, ivle.webapp.tutorial: Remove broken |
2 |
xmlns:py="http://genshi.edgewall.org/"> |
1099.1.19
by William Grant
ivle.webapp.tutorial: Port www/apps/tutorial to new framework. |
3 |
<head>
|
1099.1.207
by William Grant
Replace most of the tutorial headings and titles. |
4 |
<title>${worksheet.name} - ${subject.name}</title> |
1099.1.58
by Nick Chadwick
Updated the Worksheets to use a new tutorialservice, hosted in the |
5 |
<!-- These let the javascript know which worksheet is open -->
|
6 |
<script type="text/javascript"> |
|
1135
by William Grant
Subject URLs now contain the short name (eg. info1) rather than the code |
7 |
subject = "${subject.short_name}"; |
1099.1.207
by William Grant
Replace most of the tutorial headings and titles. |
8 |
worksheet = "${worksheet.identifier}"; |
1099.1.141
by Nick Chadwick
Updated the exercises to be loaded from the database, not a local file. |
9 |
year = "${year}"; |
10 |
semester = "${semester}"; |
|
1099.1.58
by Nick Chadwick
Updated the Worksheets to use a new tutorialservice, hosted in the |
11 |
</script> |
1093
by chadnickbok
Adding the changes from my genshi branch into trunk. |
12 |
</head> |
1099.1.19
by William Grant
ivle.webapp.tutorial: Port www/apps/tutorial to new framework. |
13 |
<body>
|
1141
by William Grant
Display an edit link in WorksheetView, if we have privileges. |
14 |
<py:def function="offering_url(offering)">/subjects/${offering.subject.short_name}/${offering.semester.year}/${offering.semester.semester}</py:def> |
1100.1.24
by Matt Giuca
(almost) all HTML pages updated: Moved <h1>s outside of the ivle-padding div. |
15 |
<h1>${worksheet.name} in ${subject.name}</h1> |
1093
by chadnickbok
Adding the changes from my genshi branch into trunk. |
16 |
<div id="ivle_padding"> |
1141
by William Grant
Display an edit link in WorksheetView, if we have privileges. |
17 |
<py:if test="'edit' in worksheet.offering.get_permissions(user)"> |
18 |
<p><a href="${offering_url(worksheet.offering)}/+worksheets/${worksheet.identifier}/+edit">Edit</a></p> |
|
19 |
</py:if> |
|
1093
by chadnickbok
Adding the changes from my genshi branch into trunk. |
20 |
<!-- Display the Table Of Contents -->
|
21 |
<div id="tutorial-toc"> |
|
1099.1.207
by William Grant
Replace most of the tutorial headings and titles. |
22 |
<h2>Contents</h2> |
1093
by chadnickbok
Adding the changes from my genshi branch into trunk. |
23 |
<ul>
|
24 |
<py:for each="exercise in exercises"> |
|
1099.1.141
by Nick Chadwick
Updated the exercises to be loaded from the database, not a local file. |
25 |
<li class="${exercise['complete']}" id="toc_li_${exercise['exid']}"> |
26 |
<a href="#${exercise['exid']}"> |
|
1093
by chadnickbok
Adding the changes from my genshi branch into trunk. |
27 |
${exercise.name} |
28 |
</a> |
|
29 |
</li> |
|
30 |
</py:for> |
|
31 |
</ul> |
|
32 |
</div> |
|
33 |
${worksheetstream} |
|
34 |
</div> |
|
35 |
</body> |
|
36 |
</html> |