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-12-09 20:34:39 +00:00
|
|
|
<p><a href="{{ url_for('index') }}">Home</a> |
|
2013-06-27 17:41:06 +00:00
|
|
|
{% if session.userid %}<a href="{{ url_for('playlist_index') }}">Playlists</a> | <a href="{{ url_for('user_profile') }}">{{ session.username }}</a> - <a href="{{ url_for('logout') }}">Log out</a>
|
2012-12-09 20:34:39 +00:00
|
|
|
{% else %}<a href="{{ url_for('login') }}">Log in</a>
|
|
|
|
{% endif %}</p>
|
2012-11-17 01:09:20 +00:00
|
|
|
|
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>
|
|
|
|
|