Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git] / extra / webapps / pastebin / pastebin-common.xml
blob6d524ad86fa34cd3c0013c8a309fedc06d82972f
1 <?xml version='1.0' ?>
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
5         <t:atom t:href="$pastebin/list.atom">Pastebin</t:atom>
7         <t:style t:include="resource:extra/webapps/pastebin/pastebin.css" />
9         <div class="navbar">
11                   <t:a t:href="$pastebin">Pastes</t:a>
12                 | <t:a t:href="$pastebin/new-paste">New Paste</t:a>
14                 <t:if t:code="furnace.auth:logged-in?">
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>
20                         | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
22                 </t:if>
24         </div>
26         <h1><t:write-title /></h1>
28         <t:call-next-template />
30 </t:chloe>