/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. <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
  3. <t:title>My Todo List</t:title>
  4. <table class="todo-list">
  5. <tr>
  6. <th>Summary</th>
  7. <th>Priority</th>
  8. <th>View</th>
  9. <th>Edit</th>
  10. </tr>
  11. <t:bind-each t:name="items">
  12. <tr>
  13. <td>
  14. <t:label t:name="summary" />
  15. </td>
  16. <td>
  17. <t:label t:name="priority" />
  18. </td>
  19. <td>
  20. <t:a t:href="$todo-list/view" t:query="id">View</t:a>
  21. </td>
  22. <td>
  23. <t:a t:href="$todo-list/edit" t:query="id">Edit</t:a>
  24. </td>
  25. </tr>
  26. </t:bind-each>
  27. </table>
  28. </t:chloe>