]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/pastebin/pastebin-common.xml
6d524ad86fa34cd3c0013c8a309fedc06d82972f
[factor.git] / extra / webapps / pastebin / pastebin-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="$pastebin/list.atom">Pastebin</t:atom>
6
7         <t:style t:include="resource:extra/webapps/pastebin/pastebin.css" />
8
9         <div class="navbar">
10
11                   <t:a t:href="$pastebin">Pastes</t:a>
12                 | <t:a t:href="$pastebin/new-paste">New Paste</t:a>
13
14                 <t:if t:code="furnace.auth:logged-in?">
15
16                         <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
17                                 | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
18                         </t:if>
19
20                         | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
21
22                 </t:if>
23
24         </div>
25
26         <h1><t:write-title /></h1>
27
28         <t:call-next-template />
29
30 </t:chloe>