]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/templates/master.html
Implement authentification but don't enforce it yet.
[philipp/winterrodeln/wradmin.git] / wradmin / templates / master.html
1 <!doctype html>
2 <html>
3
4 <head>
5     {% block head %}
6     <title>{% block title %}{% endblock %}</title>
7     <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
8     <meta name="robots" content="noindex, nofollow" />
9     <link rel="stylesheet" type="text/css" media="screen" href="{{url_for('static', filename='style.css')}}" />
10     <link rel="shortcut icon" href="{{url_for('static', filename='favicon.png')}}" />
11     {% endblock %}
12 </head>
13
14
15 <body>
16 <h1 id="header"><img src="{{url_for('static', filename='titlebanner.png')}}" alt="Winterrodeln Administration"/></h1>
17
18 <ul id="mainmenu">
19     <li><a href="{{url_for('index')}}">Übersicht</a></li>
20     <li><a href="{{url_for('rodelbahn_list')}}">Rodelbahnen</a></li>
21     <li><a href="{{url_for('bericht_list')}}">Rodelbahnberichte</a></li>
22     <li><a href="{{url_for('gasthaus_list')}}">Gasthäuser</a></li>
23     {% if current_user.is_authenticated %}
24     <li><a href="{{url_for('logout')}}">Logout</a></li>
25     {% else %}
26     <li><a href="{{url_for('login')}}">Login</a></li>
27     {% endif %}
28 </ul>
29
30 {% with messages = get_flashed_messages() %}
31 {% for message in messages %}
32 <div class="flash">{{message}}</div>
33 {% endfor %}
34 {% endwith %}
35
36 <div id="content">
37 {% block content %}
38 {% endblock %}
39 </div>
40
41 <div id="footer"><img src="{{url_for('static', filename='philipp_spitzer.png')}}" alt="Philipp Spitzer"/></div>
42 </body>
43
44 </html>