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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/subjectmenu.html

  • Committer: William Grant
  • Date: 2010-02-11 05:09:56 UTC
  • Revision ID: grantw@unimelb.edu.au-20100211050956-t5i2z6b8iulxteza
Unbreak existing tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html xmlns="http://www.w3.org/1999/xhtml"
2
 
      xmlns:py="http://genshi.edgewall.org/">
3
 
  <head>
4
 
    <title>Tutorial - Subject Menu</title>
5
 
  </head>
6
 
  <body>
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>
13
 
            <!-- XXX: Generate URL properly! -->
14
 
            <a href="/subjects/${subject}/+worksheets/${worksheet.id}">${worksheet.name}</a>
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>