summaryrefslogtreecommitdiff
path: root/templates/page.mako
blob: e08207c3de08fed5691538b021f3a2af5ed3cb93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<%inherit file="/root.mako" />

## content

<h1 class="title">${self.heading()}</h1>
${next.body()}

## functions
<%def name="heading()">
</%def>

<%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>