PageRenderTime 15ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/extra/webapps/blogs/blogs-common.xml

http://github.com/abeaumont/factor
XML | 31 lines | 18 code | 13 blank | 0 comment | 0 complexity | db3733e6840ebd6ba56fefa3e5f48d59 MD5 | raw file
 1<?xml version='1.0' ?>
 2
 3<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
 4
 5	<t:atom t:href="$blogs/posts.atom">Recent Posts</t:atom>
 6
 7	<t:style t:include="resource:extra/webapps/blogs/blogs.css" />
 8
 9	<div class="navbar">
10
11		  <t:a t:href="$blogs/">All Posts</t:a>
12		| <t:a t:href="$blogs/by">My Posts</t:a>
13		| <t:a t:href="$blogs/new-post">New Post</t:a>
14
15		<t:if t:code="furnace.auth:logged-in?">
16
17			<t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
18				| <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
19			</t:if>
20
21			| <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
22
23		</t:if>
24
25	</div>
26
27	<h1><t:write-title /></h1>
28
29	<t:call-next-template />
30
31</t:chloe>