]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/wiki/wiki-common.xml
Merge branch 'master' of git://factorcode.org/git/factor
[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 class="navbar">
12
13                 <t:a t:href="$wiki">Front Page</t:a>
14                 | <t:a t:href="$wiki/articles">All Articles</t:a>
15                 | <t:a t:href="$wiki/changes">Recent Changes</t:a>
16                 | <t:a t:href="$wiki/random">Random Article</t:a>
17
18                 <t:if t:code="furnace.auth:logged-in?">
19
20                         <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
21                                 | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
22                         </t:if>
23
24                         | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
25
26                 </t:if>
27
28         </div>
29
30         <h1><t:write-title /></h1>
31
32         <table width="100%">
33                 <tr>
34                         <td> <t:call-next-template /> </td>
35                         <t:if t:value="sidebar">
36                                 <td valign="top">
37                                         <t:bind t:name="sidebar">
38                                                 <h2>
39                                                         <t:a t:href="$wiki/view" t:query="title">
40                                                                 <t:label t:name="title" />
41                                                         </t:a>
42                                                 </h2>
43                 
44                                                 <t:html t:name="html" />
45                                         </t:bind>
46                                 </td>
47                         </t:if>
48                 </tr>
49
50                 <t:if t:value="footer">
51                         <tr>
52                                 <td>
53                                         <t:bind t:name="footer">
54                                                 <small>
55                                                         <t:html t:name="html" />
56                                                 </small>
57                                         </t:bind>
58                                 </td>
59                         </tr>
60                 </t:if>
61         </table>
62
63 </t:chloe>