]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/wiki/wiki-common.xml
Merge branch 'master' of 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
17                 <t:if t:code="furnace.auth:logged-in?">
18
19                         <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
20                                 | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
21                         </t:if>
22
23                         | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
24
25                 </t:if>
26
27         </div>
28
29         <h1><t:write-title /></h1>
30
31         <table width="100%">
32                 <tr>
33                         <td> <t:call-next-template /> </td>
34                         <t:if t:value="sidebar">
35                                 <td valign="top">
36                                         <t:bind t:name="sidebar">
37                                                 <h2>
38                                                         <t:a t:href="$wiki/view" t:query="title">
39                                                                 <t:label t:name="title" />
40                                                         </t:a>
41                                                 </h2>
42                 
43                                                 <t:farkup t:name="content" />
44                                         </t:bind>
45                                 </td>
46                         </t:if>
47                 </tr>
48         </table>
49
50 </t:chloe>