You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
{% block head %}{% endblock %}
|
|
|
|
<title>Wundertile</title>
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<header class="flex">
|
|
|
|
<div main>
|
|
|
|
<a href="{{ url_for('index') }}"><img main alt="Wundertile logo"></a>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
{% if g.user %}
|
|
|
|
<span>Hello {{ g.user.name }}</span>
|
|
|
|
| <a href="{{ url_for('auth.logout') }}">Logout</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ url_for('auth.login') }}">Sign in</a>
|
|
|
|
| <a href="{{ url_for('auth.register') }}">Register</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
{% block body %}{% endblock %}
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
Made by Alfred Melch
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2>Messages</h2>
|
|
|
|
{% for message in get_flashed_messages() %}
|
|
|
|
<div class="flash">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|