summaryrefslogtreecommitdiff
path: root/templates/page.mako
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.mako')
-rw-r--r--templates/page.mako36
1 files changed, 0 insertions, 36 deletions
diff --git a/templates/page.mako b/templates/page.mako
deleted file mode 100644
index 77d24a2..0000000
--- a/templates/page.mako
+++ /dev/null
@@ -1,36 +0,0 @@
-<%inherit file="/root.mako" />
-
-## content
-
-<h1 class="title">
- <%block name="heading"></%block>
-</h1>
-${next.body()}
-
-## functions
-<%def name="left_arrow(target,label)">
- <a id="left" href=${"/%s" % target | url}>
- <img src=${"/static/images/arrow_left.png" | url} />
- <span class="navdate">${label}</span>
- </a>
-</%def>
-
-<%def name="right_arrow(target,label)">
- <a id="right" href=${"/%s" % target | url}>
- <img src=${"/static/images/arrow_right.png" | url} />
- <span class="navdate">${label}</span>
- </a>
-</%def>
-
-<%def name="colorize(fgcolor=None, bgcolor=None, tag='span')">
- % if fgcolor is None and bgcolor is None:
- ${caller.body()}
- % else:
- <%
- style = ""
- if fgcolor is not None: style += " color: " + fgcolor
- if bgcolor is not None: style += " background: "+ bgcolor
- %>
- <${tag} style="${style}">${caller.body()}</${tag}>
- % endif
-</%def>