1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 17:06:17 +00:00
supysonic/templates/home.html
2012-12-09 21:23:08 +01:00

22 lines
527 B
HTML
Executable File

{% extends "layout.html" %}
{% block body %}
<p><a href="{{ url_for('user_index') }}">Users</a> | <a href="{{ url_for('folder_index') }}">Folders</a></p>
<h2>Artists</h2>
<table>
<tr><th>Id</th><th>Name</th></tr>
{% for artist in artists %}
<tr><td>{{ artist.id }}</td><td>{{ artist.name }}</td></tr>
{% endfor %}
</table>
<h2>Albums</h2>
<table>
<tr><th>Artist</th><th>Album</th></tr>
{% for album in albums %}
<tr><td>{{ album.artist.name }}</td><td>{{ album.name }}</td></tr>
{% endfor %}
</table>
{% endblock %}