1
0
forked from moepman/bk-dss
bk-dss/templates/list.html
Markus Hauschild 46e560cef9 Rename function list to list_users.
The function list shadowed the built-in type list leading to weird
TypeError exceptions in the user creation.

While at it list the users cn before the dn to improve readability.
2016-04-16 21:06:19 +02:00

23 lines
515 B
HTML

{% extends "_base.html" %}
{% block content %}
<div class="page-header">
<h1>List users</h1>
</div>
<table class="table table-bordered table-striped">
<thead>
<tr>
<td>CN</td>
<td>DN</td>
</tr>
</thead>
<tbody>
{% for dn, attr in users %}
<tr>
<td>{{ attr['cn'][0] }}</td>
<td>{{ dn }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}