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