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

« back to all changes in this revision

Viewing changes to www/apps/tutorial/worksheet.html

  • Committer: chadnickbok
  • Date: 2009-02-02 04:00:25 UTC
  • Revision ID: svn-v4:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1189
Adding the changes from my genshi branch into trunk.

Most apps now use the Genshi templating engine, in preparation
for future changes to dispatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>