Mercurial > genshi > mirror
comparison examples/trac/templates/about.cs @ 39:93b4dcbafd7b trunk
Copy Trac to main branch.
author | cmlenz |
---|---|
date | Mon, 03 Jul 2006 18:53:27 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
38:ee669cb9cccc | 39:93b4dcbafd7b |
---|---|
1 <?cs include "header.cs"?> | |
2 <div id="ctxtnav" class="nav"> | |
3 <h2>About Navigation</h2> | |
4 <ul> | |
5 <li class="first<?cs if:!about.config_href ?> last<?cs /if ?>"><a href="<?cs | |
6 var:trac.href.about ?>">Overview</a></li><?cs | |
7 if:about.config_href ?> | |
8 <li><a href="<?cs var:about.config_href ?>">Configuration</a></li><?cs | |
9 /if ?><?cs | |
10 if:about.plugins_href ?> | |
11 <li class="last"><a href="<?cs var:about.plugins_href ?>">Plugins</a></li><?cs | |
12 /if ?> | |
13 </ul> | |
14 </div> | |
15 <div id="content" class="about<?cs if:about.page ?>_<?cs var:about.page ?><?cs /if ?>"> | |
16 | |
17 <?cs if:about.page == "config"?> | |
18 <h1>Configuration</h1> | |
19 <table><thead><tr><th class="section">Section</th> | |
20 <th class="name">Name</th><th class="value">Value</th></tr></thead><?cs | |
21 each:section = about.config ?><?cs | |
22 if:len(section.options) ?> | |
23 <tr><th class="section" rowspan="<?cs var:len(section.options) ?>"><?cs var:section.name ?></th><?cs | |
24 each:option = section.options ?><?cs if:name(option) != 0 ?><tr><?cs /if ?> | |
25 <td class="name"><?cs var:option.name ?></td> | |
26 <td class="<?cs var:option.valueclass ?>"><?cs var:option.value ?></td> | |
27 </tr><?cs | |
28 /each ?><?cs | |
29 /if ?><?cs | |
30 /each ?></table> | |
31 <div id="help"> | |
32 See <a href="<?cs var:trac.href.wiki ?>/TracIni">TracIni</a> for information about | |
33 the configuration. | |
34 </div> | |
35 | |
36 <?cs elif:about.page == "plugins" ?> | |
37 <h1>Plugins</h1> | |
38 <dl id="plugins"><?cs | |
39 each:plugin = about.plugins ?> | |
40 <h2 id="<?cs var:plugin.module ?>.<?cs var:plugin.name ?>"><?cs var:plugin.name ?></h2> | |
41 <table> | |
42 <tr> | |
43 <th class="module" scope="row">Module</th> | |
44 <td class="module"><?cs var:plugin.module ?><br /> | |
45 <span class="path"><?cs var:plugin.path ?></span></td> | |
46 </tr><?cs | |
47 if:plugin.description ?><tr> | |
48 <th class="description" scope="row">Description</th> | |
49 <td class="description"><?cs var:plugin.description ?></td> | |
50 </tr><?cs /if ?><?cs | |
51 if:len(plugin.extension_points) ?><tr> | |
52 <th class="xtnpts" rowspan="<?cs var:len(plugin.extension_points) ?>"> | |
53 Extension points:</th><?cs | |
54 each:extension_point = plugin.extension_points ?><?cs | |
55 if:name(extension_point) != 0 ?><tr><?cs /if ?> | |
56 <td class="xtnpts"> | |
57 <code><?cs var:extension_point.module ?>.<?cs var:extension_point.interface ?></code><?cs | |
58 if:len(extension_point.extensions) ?> (<?cs | |
59 var:len(extension_point.extensions) ?> extensions)<ul><?cs | |
60 each:extension = extension_point.extensions ?> | |
61 <li><a href="#<?cs var:extension.module ?>.<?cs | |
62 var:extension.name ?>"><?cs var:extension.name ?></a></li><?cs | |
63 /each ?></ul><?cs | |
64 /if ?> | |
65 <div class="description"><?cs var:extension_point.description ?></div> | |
66 </td></tr><?cs | |
67 /each ?><?cs | |
68 /if ?> | |
69 </table><?cs | |
70 /each ?> | |
71 </dl> | |
72 | |
73 <?cs else ?> | |
74 <a href="http://trac.edgewall.com" style="border: none; float: right; margin-left: 2em"> | |
75 <img style="display: block" src="<?cs var:chrome.href ?>/common/trac_banner.png" | |
76 alt="Trac: Integrated SCM & Project Management"/> | |
77 </a> | |
78 <h1>About Trac <?cs var:trac.version ?></h1> | |
79 <p> | |
80 Trac is a web-based software project management and bug/issue | |
81 tracking system emphasizing ease of use and low ceremony. | |
82 It provides an interface to the Subversion revision control systems, integrated Wiki and convenient report facilities. | |
83 </p> | |
84 <p>Trac is distributed under the modified BSD License.<br /> | |
85 The complete text of the license can be found in the COPYING file | |
86 included in the distribution.</p> | |
87 <p>Please visit the Trac open source project: | |
88 <a href="http://projects.edgewall.com/trac/">http://projects.edgewall.com/trac/</a></p> | |
89 <p>Trac is a product of <a href="http://www.edgewall.com/">Edgewall | |
90 Software</a>, provider of professional Linux and software development | |
91 services.</p> | |
92 <p>Copyright © 2003-2006 <a href="http://www.edgewall.com/">Edgewall | |
93 Software</a></p> | |
94 <a href="http://www.edgewall.com/"> | |
95 <img style="display: block; margin: 30px" src="<?cs var:chrome.href ?>/common/edgewall.png" | |
96 alt="Edgewall Software"/></a> | |
97 <?cs /if ?> | |
98 </div> | |
99 <?cs include "footer.cs"?> |