]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/todo/todo.xml
39578084d9b6ba1df82479648ca54d2816812282
[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         <div class="navbar">
14         <div class="navrow">
15                 <t:a t:href="$todo-list/list">List Items</t:a>
16                 <t:a t:href="$todo-list/new">Add Item</t:a>
17
18                 <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
19                         <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
20                 </t:if>
21
22                 <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
23         </div>
24         </div>
25
26         <div class="page">
27         <h1><t:write-title /></h1>
28
29         <t:call-next-template />
30
31         </div>
32     </body>
33
34 </html>
35
36 </t:chloe>