summaryrefslogtreecommitdiff
path: root/p/tools/todo.html.tt
diff options
context:
space:
mode:
Diffstat (limited to 'p/tools/todo.html.tt')
-rw-r--r--p/tools/todo.html.tt44
1 files changed, 44 insertions, 0 deletions
diff --git a/p/tools/todo.html.tt b/p/tools/todo.html.tt
new file mode 100644
index 0000000..fe25164
--- /dev/null
+++ b/p/tools/todo.html.tt
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
+ <head>
+ <meta http-equiv="Content-Type" content="application/html+xml; charset=ISO-8859-1" />
+ <title>ToDo</title>
+ <link rel="stylesheet" type="text/css" href="todo.css" media="screen" title="Normal" />
+ </head>
+ <body>
+ <ul>
+ [% PROCESS task tasks = tasks %]
+ </ul>
+ </body>
+</html>
+
+[% BLOCK leaf %]
+<li class="task"><p><span id="state">[% task.state %]</span> <span class="text">[% task.text %]</span> <span class="owner">[% task.owner.join (', ') %]</span></p></li>
+[% END %]
+
+[% BLOCK task %]
+ [% IF tasks.size > 0 %]
+ [% FOREACH t = tasks %]
+ [% IF t.exists ('text') %]
+ [% PROCESS leaf task = t %]
+ [% ELSE %]
+ [% IF t.key %]
+ [% IF t.value.value.exists ('text') %]
+ prout
+ [% ELSE %]
+ <li><p>[% t.key %]</p>
+ <ul>
+ [% PROCESS task tasks = t.value %]
+ </ul>
+ </li>
+ [% END %]
+ [% ELSE %]
+ [% PROCESS task tasks = t.value %]
+ [% END %]
+ [% END %]
+ [% END %]
+ [% ELSE %]
+ <li><p>Aucune Tache</p></li>
+ [% END %]
+[% END %]