~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 01:18:00 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:1145
Give ivle.database.User {password,account}_expired attributes, and get
ivle.dispatch.login to use them.

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 Table of Contents</title>
5
 
  </head>
6
 
  <body>
7
 
    <div id="ivle_padding">
8
 
      <h1>Help</h1>
9
 
      <py:def function="show_toc(toc_part, path)">
10
 
        <py:for each="part in toc_part">
11
 
          <py:if test="isinstance(toc_part[part], dict)">
12
 
            <li><strong>${part}</strong></li>
13
 
            <ul>
14
 
              ${show_toc(toc_part[part], path + '/' + part)}
15
 
            </ul>
16
 
          </py:if>
17
 
          <py:if test="isinstance(toc_part[part], basestring)">
18
 
            <li><a href="${path + '/' + part}">${part}</a></li>
19
 
          </py:if>
20
 
        </py:for>
21
 
      </py:def>
22
 
      <ul>
23
 
        ${show_toc(toc, '/+help')}
24
 
        <li><a href="/+tos">Terms of Service</a></li>
25
 
      </ul>
26
 
    </div>
27
 
  </body>
28
 
</html>