mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-12 21:22:17 +00:00
03a6dfd106
- We don't drop and create the database when we reload the server - User delete method
21 lines
653 B
HTML
Executable File
21 lines
653 B
HTML
Executable File
{% extends "layout.html" %}
|
|
{% block body %}
|
|
<h2>Users</h2>
|
|
<table>
|
|
<tr><th>Name</th><th>EMail</th><th></th></tr>
|
|
{% for user in users %}
|
|
<tr><td>{{ user.name }}</td><td>{{ user.mail }}</td><td><a href="{{ url_for('del_user', id = user.id) }}">X</a></td></tr>
|
|
{% endfor %}
|
|
</table>
|
|
<a href="{{ url_for('add_user') }}">Add</a>
|
|
|
|
<h2>Music folders</h2>
|
|
<table>
|
|
<tr><th>Name</th><th>Path</th><th></th></tr>
|
|
{% for folder in folders %}
|
|
<tr><td>{{ folder.name }}</td><td>{{ folder.path }}</td><td><a href="{{ url_for('del_folder', id = folder.id) }}">X</a></td></tr>
|
|
{% endfor %}
|
|
</table>
|
|
<a href="{{ url_for('add_folder') }}">Add</a>
|
|
{% endblock %}
|