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.
38 lines
938 B
HTML
38 lines
938 B
HTML
6 years ago
|
<!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>
|
||
|
<a href="{{ url_for('index') }}">Home</a>
|
||
|
{% 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 %}
|
||
|
</header>
|
||
|
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
{% block body %}{% endblock %}
|
||
|
|
||
|
<hr>
|
||
|
<h2>Messages</h2>
|
||
|
{% for message in get_flashed_messages() %}
|
||
|
<div class="flash">{{ message }}</div>
|
||
|
{% endfor %}
|
||
|
</body>
|
||
|
|
||
|
</html>
|