Mixonomer/spotify/templates/index.html

35 lines
759 B
HTML
Raw Normal View History

2019-07-26 11:05:27 +01:00
{% extends 'base.html' %}
{% block title %}spotify{% endblock %}
{% block content %}
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="row card pad-12">
<p class="center-text" style="color: red">{{ message }}</p>
</div>
{% endfor %}
{% endif %}
{% endwith %}
2019-07-26 11:05:27 +01:00
<div class="row">
2019-08-03 21:35:08 +01:00
<div class="{% if logged_in %}pad-12{% else %}pad-9{% endif %} card">
2019-07-26 11:05:27 +01:00
<h1>Spotify Playlist Manager</h1>
<p class="center-text">create "super-playlists" of smaller modular playlists</p>
2019-08-03 21:35:08 +01:00
{% if logged_in %}
<a class="button full-width" href="/app">launch</a>
{% endif %}
</div>
2019-08-03 21:35:08 +01:00
{% if not logged_in %}
2019-08-03 21:35:08 +01:00
{% block form %}{% endblock %}
{% endif %}
2019-07-26 11:05:27 +01:00
</div>
{% endblock %}