]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/templates/master.html
Mention charset and language in HTML metadata.
[philipp/winterrodeln/wradmin.git] / wradmin / templates / master.html
index a64cd9e4b4bcae9b413e156dc2372abc1f10aa8b..9d8275dcef27d31ed6ce3b93a2e76d1bf298365c 100644 (file)
@@ -1,8 +1,9 @@
 <!doctype html>
-<html>
+<html lang="de">
 
 <head>
     {% block head %}
+    <meta charset="utf-8" />
     <title>{% block title %}{% endblock %}</title>
     <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
     <meta name="robots" content="noindex, nofollow" />
     <li><a href="{{url_for('rodelbahn_list')}}">Rodelbahnen</a></li>
     <li><a href="{{url_for('bericht_list')}}">Rodelbahnberichte</a></li>
     <li><a href="{{url_for('gasthaus_list')}}">Gasthäuser</a></li>
+    {% if current_user.is_authenticated %}
+    <li><a href="{{url_for('logout')}}">Logout</a></li>
+    {% else %}
+    <li><a href="{{url_for('login')}}">Login</a></li>
+    {% endif %}
 </ul>
 
 {% with messages = get_flashed_messages() %}