1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 17:06:17 +00:00
supysonic/templates/layout.html
spl0k ed526f1cd7 Basic playlist management from the web interface
Mainly to allow to set the public flag, because most clients don't handle it
2013-06-27 19:41:06 +02:00

32 lines
728 B
HTML
Executable File

<!DOCTYPE html>
<title>Supysonic</title>
<style>
.flash {
border: dashed 1px red;
padding: 2px;
margin: 10px;
}
.flash p {
margin: 0;
padding: 0;
}
</style>
<div class="page">
<h1>Supysonic</h1>
<p><a href="{{ url_for('index') }}">Home</a> |
{% 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>
{% else %}<a href="{{ url_for('login') }}">Log in</a>
{% endif %}</p>
{% if get_flashed_messages() %}
<div class="flash">
{% for message in get_flashed_messages() %}
<p>{{ message }}</p>
{% endfor %}
</div>
{% endif %}
{% block body %}{% endblock %}
</div>