2012-10-13 09:29:48 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<h2>Users</h2>
|
|
|
|
<table>
|
2012-10-13 10:29:37 +00:00
|
|
|
<tr><th>Name</th><th>EMail</th><th></th></tr>
|
2012-10-13 09:29:48 +00:00
|
|
|
{% for user in users %}
|
2012-10-13 10:29:37 +00:00
|
|
|
<tr><td>{{ user.name }}</td><td>{{ user.mail }}</td><td><a href="{{ url_for('del_user', id = user.id) }}">X</a></td></tr>
|
2012-10-13 09:29:48 +00:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
<a href="{{ url_for('add_user') }}">Add</a>
|
|
|
|
|
|
|
|
<h2>Music folders</h2>
|
|
|
|
<table>
|
2012-10-13 10:29:37 +00:00
|
|
|
<tr><th>Name</th><th>Path</th><th></th></tr>
|
2012-10-13 09:29:48 +00:00
|
|
|
{% for folder in folders %}
|
2012-10-13 10:29:37 +00:00
|
|
|
<tr><td>{{ folder.name }}</td><td>{{ folder.path }}</td><td><a href="{{ url_for('del_folder', id = folder.id) }}">X</a></td></tr>
|
2012-10-13 09:29:48 +00:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
<a href="{{ url_for('add_folder') }}">Add</a>
|
|
|
|
{% endblock %}
|