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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<html xmlns="http://www.w3.org/1999/xhtml"       
      xmlns:py="http://genshi.edgewall.org/">
  <head>
    <title>Help</title>
  </head>
  <body>
    <div id="ivle_padding">
      <h1>Help</h1>
      <py:def function="show_toc(toc_part, path)">
        <py:for each="part in toc_part">
          <py:if test="isinstance(toc_part[part], dict)">
            <li><strong>${part}</strong>
              <ul>
                ${show_toc(toc_part[part], path + '/' + part)}
              </ul>
            </li>
          </py:if>
          <py:if test="isinstance(toc_part[part], basestring)">
            <li><a href="${path + '/' + part}">${part}</a></li>
          </py:if>
        </py:for>
      </py:def>
      <ul>
        ${show_toc(toc, '/+help')}
        <li><a href="/+tos">Terms of Service</a></li>
      </ul>
    </div>
  </body>
</html>