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

« back to all changes in this revision

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

  • Committer: matt.giuca
  • Date: 2009-01-19 10:34:45 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1169
Changed svn:ignore on trunk - no longer need to ignore bin or svn directories
    (bin is in repo, svn is gone).
Added .bzrignore, for Bazaar branches of this repository.

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>