1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-10 04:02:17 +00:00
supysonic/templates/layout.html

29 lines
603 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.get('userid') %}<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>