]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/wiki/wiki-common.xml
websites.concatenative: cleanup css a bit.
[factor.git] / extra / webapps / wiki / wiki-common.xml
1 <?xml version='1.0' ?>
2
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4
5         <t:atom t:href="$wiki/changes.atom">
6                 Recent Changes
7         </t:atom>
8
9         <t:style t:include="resource:extra/webapps/wiki/wiki.css" />
10
11     <div id="container">
12
13         <div id="left">
14
15             <t:if t:value="contents">
16
17                 <t:style t:include="resource:extra/webapps/wiki/wiki-contents.css" />
18                 <div class="contents">
19                     <t:bind t:name="contents">
20                         <h2>
21                             <t:a t:href="$wiki/view" t:rest="title">
22                                 <t:label t:name="title" />
23                             </t:a>
24                         </h2>
25
26                         <t:farkup t:name="content" />
27                     </t:bind>
28                 </div>
29             </t:if>
30
31         </div>
32
33         <div id="right">
34
35             <div class="navbar">
36
37                 <t:a t:href="$wiki">Front Page</t:a>
38                 <t:a t:href="$wiki/articles">All Articles</t:a>
39                 <t:a t:href="$wiki/changes">Recent Changes</t:a>
40                 <t:a t:href="$wiki/random">Random Article</t:a>
41
42                 <t:if t:code="furnace.auth:logged-in?">
43
44                     <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
45                         <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
46                     </t:if>
47
48                     <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
49
50                 </t:if>
51
52             </div>
53
54             <div class="page">
55                 <h1><t:write-title /></h1>
56
57                 <t:call-next-template />
58
59             </div>
60
61             <t:if t:value="footer">
62                 <div class="footer">
63                     <t:bind t:name="footer">
64                         <t:farkup t:name="content" />
65                     </t:bind>
66                 </div>
67             </t:if>
68
69         </div>
70
71         <span style="display:none"></span>
72
73     </div>
74
75 </t:chloe>