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

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>Worksheets - ${subject.name}</title>
1093 by chadnickbok
Adding the changes from my genshi branch into trunk.
5
  </head>
1099.1.19 by William Grant
ivle.webapp.tutorial: Port www/apps/tutorial to new framework.
6
  <body>
1093 by chadnickbok
Adding the changes from my genshi branch into trunk.
7
    <div id="ivle_padding">
1099.1.207 by William Grant
Replace most of the tutorial headings and titles.
8
      <h1>Worksheets for ${subject.name}</h1>
1093 by chadnickbok
Adding the changes from my genshi branch into trunk.
9
      <ul id="tutorial-toc">
10
        <py:for each="worksheet in worksheets">
11
          <li>
1099.1.207 by William Grant
Replace most of the tutorial headings and titles.
12
            <a href="/subjects/${subject.code}/${year}/${semester}/+worksheets/${worksheet.id}">${worksheet.name}</a>
1093 by chadnickbok
Adding the changes from my genshi branch into trunk.
13
            <py:if test="worksheet.assessable">
14
              <ul>
15
                <li class="${worksheet.complete_class}">
16
                  Completed ${worksheet.mand_done}/${worksheet.total}${worksheet.optional_message}
17
                </li>
18
              </ul>
19
            </py:if>
20
          </li>
21
        </py:for>
22
      </ul>
23
      <py:if test="problems_total > 0">
24
        <ul>
25
          <li class="${complete_class}">
26
            Total exercises completed: ${problems_done}/${problems_total} (${problems_pct}%)
27
          </li>
28
        </ul> 
29
        <p style="font-weight: bold">
30
          Worksheet mark: ${mark}/${max_mark}
31
        </p>
32
      </py:if>
33
    </div>            
34
  </body>
35
</html>