2020-01-08 05:51:10 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
{% if title %}
|
|
|
|
<title>{{ title }} - IGDB</title>
|
|
|
|
{% else %}
|
|
|
|
<title>Welcome to IGDB</title>
|
|
|
|
{% endif %}
|
|
|
|
</head>
|
|
|
|
<body>
|
2020-01-09 03:17:31 +01:00
|
|
|
<div>IGDB:
|
|
|
|
<a href="{{ url_for('index') }}">Home</a>
|
|
|
|
{% if current_user.is_anonymous %}
|
|
|
|
<a href="{{ url_for('login') }}">Login</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ url_for('admin') }}">Administration</a>
|
|
|
|
<a href="{{ url_for('logout') }}">Logout</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2020-01-08 05:51:10 +01:00
|
|
|
<hr>
|
2020-01-09 03:17:31 +01:00
|
|
|
{% with messages = get_flashed_messages() %}
|
|
|
|
{% if messages %}
|
|
|
|
<ul>
|
|
|
|
{% for message in messages %}
|
|
|
|
<li>{{ message }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
|
|
|
{% block content %}{% endblock %} </body>
|
2020-01-08 05:51:10 +01:00
|
|
|
</html>
|