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