]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/planet/planet-common.xml
webapps: simplify navrow.
[factor.git] / extra / webapps / planet / planet-common.xml
1 <?xml version='1.0' ?>
2
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4
5         <t:style t:include="resource:extra/webapps/planet/planet.css" />
6
7     <nav>
8                 <a href="https://factorcode.org"><img src="https://factorcode.org/favicon.ico" width="24" height="24" /></a>
9
10                 <t:a t:href="$planet">Front Page</t:a>
11                 <t:a t:href="$planet/feed.xml">Atom Feed</t:a>
12                 <t:a t:href="$planet/admin">Admin</t:a>
13
14                 <t:if t:code="furnace.auth:logged-in?">
15                         <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
16                                 <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
17                         </t:if>
18         
19                         <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
20         </t:if>
21         </nav>
22
23     <div class="page">
24         <h1><t:write-title /></h1>
25
26         <t:call-next-template />
27     </div>
28
29 </t:chloe>