source: trunk/packages/sipb-xen-www/code/templates/help.tmpl @ 432

Last change on this file since 432 was 422, checked in by price, 17 years ago

more and better titles

  • Title with <h1> on VM list
  • append 'SIPB Virtual Servers' to each title
  • only write title once per page
File size: 518 bytes
Line 
1#from skeleton import skeleton
2#extends skeleton
3
4#def title
5#if len($subjects) == 1
6Help on $subjects[0]
7#else
8Help
9#end if
10#end def
11
12
13#def body
14#if not $simple
15<p>Topics:
16#for $key in sorted($mapping)
17<a href="help?subject=$key">$key</a>
18#end for
19</p>
20#end if
21#for $subject in $subjects
22#if $subject in $mapping
23#if not $simple
24<h2>$subject</h2>
25#end if
26<p>$mapping[$subject]</p>
27#else
28<p>Unknown subject '$subject'.</p>
29#end if
30#end for
31#if $simple
32<a href="javascript:window.close();">Close</a>
33#end if
34#end def
Note: See TracBrowser for help on using the repository browser.