Mercurial > genshi > mirror
annotate examples/trac/templates/about.html @ 60:2cb5b54d87ff trunk
Migrate attachment templates to Markup.
author | cmlenz |
---|---|
date | Wed, 05 Jul 2006 21:32:27 +0000 |
parents | a5d585dd38c4 |
children | 448792ab1303 |
rev | line source |
---|---|
46 | 1 <!DOCTYPE html |
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
4 <html xmlns="http://www.w3.org/1999/xhtml" | |
5 xmlns:py="http://purl.org/kid/ns#" | |
6 xmlns:xi="http://www.w3.org/2001/XInclude"> | |
7 <xi:include href="layout.html"><xi:fallback/></xi:include> | |
8 <head> | |
9 <title>About Trac</title> | |
10 </head> | |
11 | |
12 <body> | |
13 <div id="ctxtnav" class="nav"> | |
14 <h2>About Navigation</h2> | |
15 <ul> | |
47 | 16 <li class="first${'CONFIG_VIEW' not in perm and ' last' or ''}"> |
46 | 17 <a href="${href.about()}">Overview</a> |
18 </li> | |
19 <li py:if="'CONFIG_VIEW' in perm"> | |
20 <a href="${href.about('config')}">Configuration</a> | |
21 </li> | |
22 <li class="last" py:if="'CONFIG_VIEW' in perm"> | |
23 <a href="${href.about('plugins')}">Plugins</a> | |
24 </li> | |
25 </ul> | |
26 </div> | |
27 <div id="content" class="${about.page and 'about_%s' % about.page or 'about'}" | |
28 py:choose="about.page"> | |
29 | |
30 <div py:when="'config'" py:strip=""> | |
31 <h1>Configuration</h1> | |
32 <table> | |
33 <thead> | |
34 <tr> | |
35 <th class="section">Section</th> | |
36 <th class="name">Name</th> | |
37 <th class="value">Value</th> | |
38 </tr> | |
39 </thead> | |
40 <tbody> | |
41 <div py:for="section in about.config" py:strip=""> | |
42 <tr py:for="idx,option in enumerate(section.options)"> | |
43 <th py:if="idx == 0" class="section" | |
48
a5d585dd38c4
convert the result of expressions in attributes to strings so that values like ints are output correctly
mgood
parents:
47
diff
changeset
|
44 rowspan="${len(section.options)}"> |
46 | 45 ${section.name}</th> |
46 <td class="name">${option.name}</td> | |
47 <td class="${option.valueclass}">${option.value}</td> | |
48 </tr> | |
49 </div> | |
50 </tbody> | |
51 </table> | |
52 <div id="help"> | |
53 See <a href="${href.wiki('TracIni')}">TracIni</a> for information about | |
54 the configuration. | |
55 </div> | |
56 </div> | |
57 | |
58 <div py:when="'plugins'" py:strip=""> | |
59 <h1>Plugins</h1> | |
60 <dl id="plugins"> | |
61 <div py:for="plugin in about.plugins" py:strip=""> | |
62 <h2 id="${plugin.module}.${plugin.name}">${plugin.name}</h2> | |
63 <table> | |
64 <tr> | |
65 <th class="module" scope="row">Module</th> | |
66 <td class="module">${plugin.module}<br /> | |
67 <span class="path">${plugin.path}</span></td> | |
68 </tr> | |
69 <tr py:if="plugin.description"> | |
70 <th class="description" scope="row">Description</th> | |
71 <td class="description">${HTML(plugin.description)}</td> | |
72 </tr> | |
73 <tr py:for="idx,extension_point in enumerate(plugin.extension_points)"> | |
74 <th py:if="idx == 0" class="xtnpts" | |
48
a5d585dd38c4
convert the result of expressions in attributes to strings so that values like ints are output correctly
mgood
parents:
47
diff
changeset
|
75 rowspan="${len(plugin.extension_points)}"> |
46 | 76 Extension points: |
77 </th> | |
78 <td class="xtnpts"> | |
79 <code>${extension_point.module}.${extension_point.interface}</code> | |
80 <div py:if="extension_point.extensions" py:strip=""> | |
81 (${len(extension_point.extensions)} extensions) | |
82 <ul> | |
83 <li py:for="extension in extension_point.extensions"> | |
84 <a href="#${extension.module}.${extension.name}">${extension.name}</a> | |
85 </li> | |
86 </ul> | |
87 </div> | |
88 <div class="description">${HTML(extension_point.description)}</div> | |
89 </td> | |
90 </tr> | |
91 </table> | |
92 </div> | |
93 </dl> | |
94 </div> | |
95 | |
96 <div py:otherwise="" py:strip=""> | |
97 <a href="http://trac.edgewall.com" | |
98 style="border: none; float: right; margin-left: 2em"> | |
99 <img style="display: block" src="${href.chrome('common/trac_banner.png')}" | |
100 alt="Trac: Integrated SCM & Project Management"/> | |
101 </a> | |
102 <h1>About Trac ${trac.version}</h1> | |
103 <p>Trac is a web-based software project management and bug/issue | |
104 tracking system emphasizing ease of use and low ceremony. | |
105 It provides an interface to the Subversion revision control systems, | |
106 integrated Wiki and convenient report facilities. | |
107 </p> | |
108 <p>Trac is distributed under the modified BSD License.<br /> | |
109 The complete text of the license can be found in the COPYING file | |
110 included in the distribution.</p> | |
111 <p>Please visit the Trac open source project: | |
112 <a href="http://projects.edgewall.com/trac/">http://projects.edgewall.com/trac/</a></p> | |
113 <p>Trac is a product of <a href="http://www.edgewall.com/">Edgewall | |
114 Software</a>, provider of professional Linux and software development | |
115 services.</p> | |
116 <p>Copyright © 2003-2006 <a href="http://www.edgewall.com/">Edgewall | |
117 Software</a></p> | |
118 <a href="http://www.edgewall.com/"> | |
119 <img style="display: block; margin: 30px" | |
120 src="${href.chrome('common/edgewall.png')}" | |
121 alt="Edgewall Software"/></a> | |
122 </div> | |
123 </div> | |
124 </body> | |
125 </html> |