Fixed servefiles urls
[bcms.git] / templates / master.html
blob9bfcb1f65df03e94e98581674f4b165e1acb654a
1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <title>
4 {% block title %}
5 {% endblock title %}
6 </title>
8 <style type="text/css">
9 div.menu{
10 padding-left: 4px;
11 padding-bottom: 4px;
12 border-left: 2px solid;
13 border-bottom: 2px solid;
14 border-color: grey;
15 background: black;
16 text-align: center;
19 div.menu a {
20 text-decoration: none;
21 color: white;
24 div.menu a:hover {
25 text-decoration: none;
26 color: grey;
29 div.menu span{
30 padding-left: 5px;
31 padding-right: 5px;
32 padding-bottom: 1px;
33 position: relative;
34 top: -12px;
35 background: white;
36 color: black;
39 td.main{
40 padding-left: 5px;
43 hr{
44 border: 1px groove black;
47 </style>
49 {% block head %}
50 {% endblock head %}
52 </head>
53 <body>
55 <table border="0" width="100%">
56 <tr><td colspan="2"></td></tr>
58 <tr valign="top"><td width="120px">
59 <div class="menu">
60 <span>Main</span><br/>
61 <a href="/">Home</a>
62 </div>
64 <br/>
65 <div class="menu">
66 <span>Users</span><br/>
68 {% if user.is_authenticated %}
69 <a href="/logout">Logout</a>
70 {% else %}
71 <a href="/login">Login</a>
72 {% endif %}
74 </div>
76 </td>
78 <td align="left" valign="top" class="main">
80 {% block content %}
81 {% endblock content %}
83 </td>
85 </tr>
86 </table>
88 </body>
89 </html>