mirror of https://github.com/jumpserver/jumpserver
34 lines
1.1 KiB
HTML
34 lines
1.1 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>ip</th>
|
|
<th>用户名</th>
|
|
<th>端口</th>
|
|
<th>sudo</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for server in servers %}
|
|
<tr>
|
|
<td><input type="checkbox" name="selected" value="{{ server.id }}"></td>
|
|
<td>{{ server.ip }}</td>
|
|
<td>{{ server.username }}</td>
|
|
<td>{{ server.port }}</td>
|
|
<td>{{ server.sudo }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</form>
|
|
</table>
|
|
<button class="btn btn-primary">删除</button>
|
|
</form>
|
|
{% endblock %} |