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

« back to all changes in this revision

Viewing changes to ivle/webapp/help/toc.html

  • Committer: me at id
  • Date: 2009-01-15 06:11:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:branches%2Fstorm:1164
ivle.db: Remove get_enrolment and get_subjects_status. They're unused.

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>Help</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Help</h1>
8
 
    <div id="ivle_padding">
9
 
      <py:def function="show_toc(helptree)">
10
 
        <py:for each="item in helptree.values()">
11
 
          <py:if test="isinstance(item, HelpTree)">
12
 
            <li><strong>${item.name}</strong>
13
 
              <ul>
14
 
                ${show_toc(item)}
15
 
              </ul>
16
 
            </li>
17
 
          </py:if>
18
 
          <py:if test="isinstance(item, HelpEntry)">
19
 
            <li><a href="${req.publisher.generate(item)}">${item.name}</a></li>
20
 
          </py:if>
21
 
        </py:for>
22
 
      </py:def>
23
 
      <ul>
24
 
        ${show_toc(context)}
25
 
        <li><a href="/+tos">Terms of Service</a></li>
26
 
      </ul>
27
 
    </div>
28
 
  </body>
29
 
</html>