mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.5 KiB
33 lines
1.5 KiB
10 years ago
|
<div class="tab-content">
|
||
|
<table class="table table-striped table-bordered table-hover ">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th class="text-center"> 用户名 </th>
|
||
|
<th class="text-center"> 所属部门 </th>
|
||
|
<th class="text-center"> 登录主机 </th>
|
||
|
<th class="text-center"> 来源IP </th>
|
||
|
<th class="text-center"> 命令统计 </th>
|
||
|
<th class="text-center"> 登录时间 </th>
|
||
|
<th class="text-center"> 结束时间 </th>
|
||
|
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for post in contacts.object_list %}
|
||
|
<tr class="gradeX">
|
||
|
<td class="text-center" id="username"> {{ post.user }} </td>
|
||
|
<td class="text-center" id="dept_name"> {{ post.dept_name }} </td>
|
||
|
<td class="text-center" id="host"> {{ post.host }} </td>
|
||
|
<td class="text-center" id="remote_ip"> {{ post.remote_ip }} </td>
|
||
|
<td class="text-center"><a href="/jlog/history/?id={{ post.id }}" class="log_command"> 命令统计 </td>
|
||
|
<td class="text-center" id="start_time"> {{ post.start_time|date:"Y-m-d H:i:s"}} </td>
|
||
|
<td class="text-center" id="end_time"> {{ post.end_time|date:"Y-m-d H:i:s" }} </td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<div class="row">
|
||
|
<div class="col-sm-6 "></div>
|
||
|
{% include 'paginator.html' %}
|
||
|
</div>
|
||
|
</div>
|