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

1099.1.100 by Nick Chadwick
Created a new help system.
1
<html xmlns="http://www.w3.org/1999/xhtml"       
2
      xmlns:py="http://genshi.edgewall.org/">
3
  <head>
1099.1.109 by William Grant
Fix the help ToC's title and list nesting.
4
    <title>Help</title>
1099.1.100 by Nick Chadwick
Created a new help system.
5
  </head>
6
  <body>
1100.1.24 by Matt Giuca
(almost) all HTML pages updated: Moved <h1>s outside of the ivle-padding div.
7
    <h1>Help</h1>
1099.1.100 by Nick Chadwick
Created a new help system.
8
    <div id="ivle_padding">
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)">
1099.1.109 by William Grant
Fix the help ToC's title and list nesting.
12
            <li><strong>${part}</strong>
13
              <ul>
14
                ${show_toc(toc_part[part], path + '/' + part)}
15
              </ul>
16
            </li>
1099.1.100 by Nick Chadwick
Created a new help system.
17
          </py:if>
18
          <py:if test="isinstance(toc_part[part], basestring)">
19
            <li><a href="${path + '/' + part}">${part}</a></li>
20
          </py:if>
21
        </py:for>
22
      </py:def>
23
      <ul>
24
        ${show_toc(toc, '/+help')}
1099.1.108 by William Grant
Port the tos app to the new framework, and fix ivle.webapp.help's reference
25
        <li><a href="/+tos">Terms of Service</a></li>
1099.1.100 by Nick Chadwick
Created a new help system.
26
      </ul>
27
    </div>
28
  </body>
29
</html>