summaryrefslogtreecommitdiff
path: root/templates/root.mako
blob: 19af96e8929673165338c03d4f85a247fc614983 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        % if not w.ctx.is_mobile:
            <%block name="js">
                <script type="text/javascript" src=${"/static/js/jquery-1.4.2.js" | url}></script>
                <script type="text/javascript" src=${"/static/js/lib.js" | url}></script>
            </%block>
        % endif
        <link rel="shortcut icon" href=${"/static/images/currency.png" | url} type="image/icon">
        <title><%block name="title">Kostenverwaltung</%block></title>
        <%block name="style">
            <link href=${"/static/css/style.css" | url} rel="stylesheet" type="text/css" />
        </%block>
    </head>

    <body>
        <div id="wrapper">
            <div id="logo">
                <img src=${"/static/images/currency.png" | url} />
                <h1><a href=${"/" | url}>Kosten</a></h1>
                <h2>»   vom Nec</h2>
            </div>

            <div id="header">
                <div id="menu">
                    <%block name="menu">
                        <%namespace file="menu.mako" name="m" />
                        <ul>
                            % for uri, page in m.attr.menu:
                                <li><a href=${uri | url}>${page}</a></li>
                            % endfor
                        </ul>
                    </%block>
                </div>
            </div>
        </div>

        <div id="page">
            <div class="content">
                ${next.body()}
            </div>
            <div style="clear: both;"></div>
        </div>
        <div id="footer">
            <%block name="footer">
                <p id="legal">
                    powered by <a href="http://www.makotemplates.org">mako</a> &amp; <a href="http://www.webpy.org">web.py</a> | 
                    © 2010-2012. All Rights Reserved. René Neumann | 
                    with the help of <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.
                </p>
            </%block>
        </div>
    </body>
</html>