]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/todo/todo.xml
webapps: simplify navrow.
[factor.git] / extra / webapps / todo / todo.xml
1 <?xml version='1.0' ?>
2 <!DOCTYPE html>
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4 <html>
5
6         <t:style t:include="resource:extra/webapps/todo/todo.css" />
7         <t:style t:include="resource:extra/websites/concatenative/page.css" />
8
9     <head><t:write-title/><t:write-style/></head>
10
11     <body>
12
13     <nav>
14                 <t:a t:href="$todo-list/list">List Items</t:a>
15                 <t:a t:href="$todo-list/new">Add Item</t:a>
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         </nav>
23
24         <div class="page">
25         <h1><t:write-title /></h1>
26
27         <t:call-next-template />
28
29         </div>
30     </body>
31
32 </html>
33
34 </t:chloe>