summaryrefslogtreecommitdiff
path: root/templates/pages
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/pages/cats.mako22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/pages/cats.mako b/templates/pages/cats.mako
new file mode 100644
index 0000000..3dbef4c
--- /dev/null
+++ b/templates/pages/cats.mako
@@ -0,0 +1,22 @@
+<%inherit file="/page.mako" />
+
+<form name="categories" method="post">
+ <ul class="arrow">
+ % for c in cats:
+ <li><span>${c.name}</span><input name="${c.id}" type="text" value="${c.name}" style="display:none;"/></li>
+ % endfor
+ <div><img id="add" src=${"/static/images/add.png" | url} /></div>
+ </ul>
+
+ <input type="submit" />
+</form>
+
+<input id="new" name="n-" style="display:none;" />
+<%def name="heading()">
+ Categories
+</%def>
+
+<%def name="js()">
+ ${parent.js()}
+ <script type="text/javascript" src=${"/static/js/cats.js" | url}></script>
+</%def>