PageRenderTime 9ms CodeModel.GetById 7ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/extra/webapps/todo/todo-list.xml

http://github.com/abeaumont/factor
XML | 37 lines | 28 code | 9 blank | 0 comment | 0 complexity | 53b5b41a069ea5987b48d637d5ec3a25 MD5 | raw file
 1<?xml version='1.0' ?>
 2
 3<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
 4
 5	<t:title>My Todo List</t:title>
 6
 7	<table class="todo-list">
 8
 9		<tr>
10			<th>Summary</th>
11			<th>Priority</th>
12			<th>View</th>
13			<th>Edit</th>
14		</tr>
15
16		<t:bind-each t:name="items">
17
18			<tr>
19				<td>
20					<t:label t:name="summary" />
21				</td>
22				<td>
23					<t:label t:name="priority" />
24				</td>
25				<td>
26					<t:a t:href="$todo-list/view" t:query="id">View</t:a>
27				</td>
28				<td>
29					<t:a t:href="$todo-list/edit" t:query="id">Edit</t:a>
30				</td>
31			</tr>
32
33		</t:bind-each>
34
35	</table>
36
37</t:chloe>