source: package_branches/invirt-web/cherrypy-rebased/code/templates/help.mako @ 2686

Last change on this file since 2686 was 2676, checked in by broder, 15 years ago

Implement help handler

File size: 624 bytes
RevLine 
[2676]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:
10Help on ${subjects[0]}
11% else:
12Help
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>
23See 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
Note: See TracBrowser for help on using the repository browser.