2012-10-13 09:29:48 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<title>Supysonic</title>
|
2012-10-13 12:52:39 +00:00
|
|
|
<style>
|
|
|
|
.flash {
|
|
|
|
border: dashed 1px red;
|
|
|
|
padding: 2px;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
.flash p {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
</style>
|
2012-10-13 09:29:48 +00:00
|
|
|
<div class="page">
|
|
|
|
<h1>Supysonic</h1>
|
2012-10-13 12:52:39 +00:00
|
|
|
|
2012-11-17 01:09:20 +00:00
|
|
|
<p>{% if session.get('userid') %}<a href="{{ url_for('logout') }}">Log out</a>{% else %}<a href="{{ url_for('login') }}">Log in</a>{% endif %}</p>
|
|
|
|
|
2012-10-13 12:52:39 +00:00
|
|
|
{% if get_flashed_messages() %}
|
2012-10-13 09:29:48 +00:00
|
|
|
<div class="flash">
|
|
|
|
{% for message in get_flashed_messages() %}
|
2012-10-13 12:52:39 +00:00
|
|
|
<p>{{ message }}</p>
|
2012-10-13 09:29:48 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2012-10-13 12:52:39 +00:00
|
|
|
{% endif %}
|
2012-10-13 09:29:48 +00:00
|
|
|
{% block body %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
|