36 lines
1021 B
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 %} ☑ {% else %} ☐ {% endif %} </td>
|
|
<td>{% if user.isbaron %} ☑ {% else %} ☐ {% endif %} </td>
|
|
<td>{% if user.isshown %} ☑ {% else %} ☐ {% endif %} </td>
|
|
<td>{% if user.autoblack %} ☑ {% else %} ☐ {% 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 %}
|