Updates to cherrypy init for engine
[invirt/packages/invirt-web.git] / code / templates / help.mako
1 <%page expression_filter="h"/>
2 <%inherit file="skeleton.mako" />
3
4 <%!
5         pageclass = 'help'
6 %>
7
8 <%def name="title()">
9 % if len(subjects) == 1:
10 Help on ${subjects[0]}
11 % else:
12 Help
13 % endif
14 </%def>
15
16 % if not simple:
17 <p>Topics: 
18 % for key in sorted(mapping):
19 <a href="help?subject=${key}">${key}</a>
20 % endfor
21 </p>
22 <p>
23 See also <a href="trac/wiki/tips">tips and HOWTOs on the wiki</a>.
24 </p>
25 % endif
26
27 % for subject in subjects:
28 % if subject in mapping:
29 <h2>${subject}</h2>
30 <p>${mapping[subject]|n}</p>
31 % else:
32 <p>Unknown subject '${subject}'.</p>
33 % endif
34 % endfor
35 % if simple:
36 <a href="javascript:window.close();">Close</a>
37 % endif