1093
by chadnickbok
Adding the changes from my genshi branch into trunk. |
1 |
<html xmlns="http://www.w3.org/1999/xhtml" |
2 |
xmlns:xi="http://www.w3.org/2001/XInclude" |
|
3 |
xmlns:py="http://genshi.edgewall.org/" py:strip=""> |
|
4 |
<head foo="bar" py:if="False"> |
|
5 |
<title>Tutorial - Worksheet</title> |
|
6 |
</head> |
|
7 |
<body class="innerbody" py:strip=""> |
|
8 |
<div id="ivle_padding"> |
|
9 |
<h1>IVLE Tutorials - ${subject}</h1> |
|
10 |
<!-- Display the Table Of Contents -->
|
|
11 |
<div id="tutorial-toc"> |
|
12 |
<h2>Worksheet Contents</h2> |
|
13 |
<ul>
|
|
14 |
<py:for each="exercise in exercises"> |
|
15 |
<li class="${exercise['complete']}" id="#exercise${exercise['exid']}"> |
|
16 |
<a href="#exercise${exercise['exid']}"> |
|
17 |
${exercise.name} |
|
18 |
</a> |
|
19 |
</li> |
|
20 |
</py:for> |
|
21 |
</ul> |
|
22 |
</div> |
|
23 |
<!-- Display The Worksheet -->
|
|
24 |
<h2>${worksheetname}</h2> |
|
25 |
${worksheetstream} |
|
26 |
</div> |
|
27 |
</body> |
|
28 |
</html> |