28 lines
1.1 KiB
HTML
28 lines
1.1 KiB
HTML
|
{% extends "layout/default.html" %}
|
||
|
{% block title %}group {{ ou }}{% endblock %}
|
||
|
{% block content %}
|
||
|
<table class="table table-hover align-middle">
|
||
|
<thead class="table-light">
|
||
|
<tr>
|
||
|
<th scope="col">uid</th>
|
||
|
<th scope="col">cn</th>
|
||
|
<th scope="col">remove</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for member in members|sort %}
|
||
|
<tr>
|
||
|
<th scope="row">{{ member["uid"] }}</th>
|
||
|
<td>{{ member["cn"] }}</td>
|
||
|
<td>
|
||
|
<form action="{{ url_for("group_edit", ou=ou) }}" method="post">
|
||
|
<input type="hidden" name="remove" value="{{ member["uid"] }}">
|
||
|
<input type="submit" value="remove" class="btn btn-danger">
|
||
|
</form>
|
||
|
</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
{% endblock %}
|