mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-23 09:46:15 +08:00
18 lines
464 B
HTML
18 lines
464 B
HTML
{% extends 'admin.html' %}
|
|
{% block content %}
|
|
{% if admin.user_level >= 100 %}
|
|
<a href="/admin/songs/new" class="side-button">New song</a>
|
|
{% endif %}
|
|
<h1>Songs</h1>
|
|
{% for message in get_flashed_messages() %}
|
|
<div class="message">{{ message }}</div>
|
|
{% endfor %}
|
|
{% for song in songs %}
|
|
<a href="/admin/songs/{{ song.id }}" class="song-link">
|
|
<div class="song">
|
|
<p>{{ song.title }}</p>
|
|
</div>
|
|
</a>
|
|
{% endfor %}
|
|
{% endblock %}
|