jumpserver/webroot/AutoSa/templates/showUser.html

36 lines
1.2 KiB
HTML

{% extends 'base.html' %}
{% block content %}
<form method="post" action="">
{% if info %}
<p class="alert alert-success">
{{ info }}
</p>
{% endif %}
<table class="table table-striped table-hover table-condensed">
<thead>
<tr>
<th><input onclick="selectAll()" type="checkbox" name="select_all" style="select_all" id="select_all"/></th>
<th>ID</th>
<th>用户名</th>
<th>姓名</th>
<th>Email</th>
<th>Key</th>
</tr>
</thead>
<tbody>
{% for user in users %}
<tr>
<td><input type="checkbox" name="selected" value="{{ user.id }}"></td>
<td>{{ user.id }}</td>
<td>{{ user.username }}</td>
<td>{{ user.name }}</td>
<td>{{ user.email }}</td>
<td><a href="/downKey/">下载</a></td>
</tr>
{% endfor %}
</tbody>
</form>
</table>
<button class="btn btn-primary">删除</button>
</form>
{% endblock %}