mirror of https://github.com/jumpserver/jumpserver
39 lines
1.5 KiB
HTML
39 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
{% if not admin %}
|
|
<h1 style="color: green">说明:</h1>
|
|
<p>1. 登陆密码:可以修改登陆本系统的密码</p>
|
|
<p>2. 密钥密码:可以修改登陆服务器时密钥的密码</p>
|
|
|
|
<p><b>我的密钥:</b> <a href="/downKey/">下载</a></p>
|
|
<fieldset>
|
|
<legend>我可登陆的服务器:</legend>
|
|
<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>IP</th>
|
|
<th>Port</th>
|
|
<th>备注</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for asset in assets %}
|
|
<tr>
|
|
<td style="width: 13px"><input type="checkbox" name="selected" value="{{ asset.id }}"></td>
|
|
<td style="width: 5px">{{ asset.id }}</td>
|
|
<td style="width: 90px">{{ asset.ip }}</td>
|
|
<td style="width: 90px">{{ asset.port }}</td>
|
|
<td style="width: 90px">{{ asset.comment }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
{% else %}
|
|
<p>跳板机系统管理系统,负责添加用户,添加主机和用户权限,不要笑它简陋哦。</p>
|
|
<p><a href="#" class="btn btn-primary btn-large">试试吧。 »</a></p>
|
|
{% endif %}
|
|
{% endblock %}
|