Files
baroness/app/templates/manage_users.html

36 lines
1021 B
HTML

{% extends "base.html"%}
{% set title = "Konsumentenverwaltung" %}
{% block content %}
<h1> Konsumentenverwaltung </h1>
<table>
<tr>
<th>ID</th>
<th>Username</th>
<th>Name</th>
<th>E-mail</th>
<th>RFID-ID</th>
<th>Geschwärzt</th>
<th>Baron</th>
<th>Angezeigt</th>
<th>Auto-Schwärzen</th>
<th></th>
</tr>
{% for user in users %}
<tr>
<td>{{user.id}}</td>
<td>{{user.name}}</td>
<td>{{user.longname}}</td>
<td>{{user.email}}</td>
<td>{{user.rfid_id}}</td>
<td>{% if user.isblack %} &#9745; {% else %} &#9744; {% endif %} </td>
<td>{% if user.isbaron %} &#9745; {% else %} &#9744; {% endif %} </td>
<td>{% if user.isshown %} &#9745; {% else %} &#9744; {% endif %} </td>
<td>{% if user.autoblack %} &#9745; {% else %} &#9744; {% endif %} </td>
<td> <a href="/manage_users/edit/{{user.name}}">bearbeiten</a></td>
</tr>
{% endfor %}
</table>
<br />
<a href=/manage_users/add><div class="item">User Hinzufügen</div></a>
{% endblock %}