annotate examples/trac/templates/layout.html @ 41:686059a8a32b trunk

Sync Trac port with vendor branch r44 and add missing template files.
author cmlenz
date Mon, 03 Jul 2006 21:01:42 +0000
parents
children e03b77726756
rev   line source
41
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
1 <html xmlns="http://www.w3.org/1999/xhtml"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
2 xmlns:py="http://purl.org/kid/ns#"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
3 xmlns:xi="http://www.w3.org/2001/XInclude"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
4 py:strip="">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
5 <xi:include href="site.html"><xi:fallback/></xi:include>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
6
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
7 <head py:match="head">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
8 <title>${select('title/text()')} – Trac</title>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
9 <div py:for="rel, links in chrome.links.items()" py:strip="">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
10 <link rel="${rel}" py:for="link in links" href="${link.href}"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
11 type="${link.type}" class="${link['class']}" title="${link.title}"/>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
12 </div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
13 <script py:for="script in chrome.scripts"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
14 type="${script.type}" src="${script.href}"/>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
15 </head>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
16
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
17 <body py:match="body">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
18 <div id="banner">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
19 <div id="header">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
20 <a id="logo" py:if="chrome.logo.src" href="${chrome.logo.link}"><img
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
21 src="${chrome.logo.src}" /></a>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
22 </div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
23 <form py:if="perm.has_permission('SEARCH_VIEW')" id="search"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
24 action="${href.search()}" method="get">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
25 <div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
26 <label for="proj-search">Search:</label>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
27 <input type="text" id="proj-search" name="q" size="10" accesskey="f" value="" />
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
28 <input type="submit" value="Search" />
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
29 <input type="hidden" name="wiki" value="on" />
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
30 <input type="hidden" name="changeset" value="on" />
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
31 <input type="hidden" name="ticket" value="on" />
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
32 </div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
33 </form>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
34 <div id="metanav" class="nav">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
35 <ul py:if="chrome.nav.metanav">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
36 <li py:for="idx, item in enumerate(chrome.nav.metanav)"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
37 py:content="HTML(item.label)"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
38 class="${' '.join(filter(None, [
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
39 (idx == 0) and 'first',
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
40 (idx == len(chrome.nav.metanav) - 1) and 'last'
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
41 ])) or None}"/>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
42 </ul>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
43 </div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
44 </div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
45 <div id="mainnav" class="nav">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
46 <ul py:if="chrome.nav.mainnav">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
47 <li py:for="idx, item in enumerate(chrome.nav.mainnav)"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
48 py:content="HTML(item.label)"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
49 class="${' '.join(filter(None, [
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
50 (idx == 0) and 'first',
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
51 (idx == len(chrome.nav.mainnav) - 1) and 'last'
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
52 ])) or None}"/>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
53 </ul>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
54 </div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
55
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
56 <div id="main">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
57 ${select('*')}
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
58
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
59 <div id="altlinks" py:if="chrome.links.alternate">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
60 <h3>Download in other formats:</h3>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
61 <ul><li py:for="link in chrome.links.alternate">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
62 <a href="${link.href}" class="${link['class']}"
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
63 py:content="${link.title}" />
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
64 </li></ul>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
65 </div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
66 </div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
67
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
68 <div id="footer">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
69 <hr/>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
70 <a id="tracpowered" href="http://trac.edgewall.com/"><img src="${href.chrome('common/trac_logo_mini.png')}" height="30" width="107" alt="Trac Powered"/></a>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
71 <p class="left">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
72 Powered by <a href="${href.about()}"><strong>Trac ${chrome.version}</strong></a><br />
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
73 By <a href="http://www.edgewall.com/">Edgewall Software</a>.
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
74 </p>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
75 <p class="right">
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
76 ${HTML(config.project.get('footer'))}
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
77 </p>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
78 </div>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
79 </body>
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
80
686059a8a32b Sync Trac port with vendor branch r44 and add missing template files.
cmlenz
parents:
diff changeset
81 </html>
Copyright (C) 2012-2017 Edgewall Software