2015-02-09 11:02:25 +00:00
|
|
|
<div class="tab-content">
|
|
|
|
<table class="table table-striped table-bordered table-hover ">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="text-center"> 用户名 </th>
|
2015-03-19 10:32:10 +00:00
|
|
|
<th class="text-center"> 所属部门 </th>
|
2015-02-09 11:02:25 +00:00
|
|
|
<th class="text-center"> 登录主机 </th>
|
2015-03-17 08:25:32 +00:00
|
|
|
<th class="text-center"> 来源IP </th>
|
2015-02-09 11:02:25 +00:00
|
|
|
<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>
|
2015-03-19 10:32:10 +00:00
|
|
|
<td class="text-center" id="ip"> {{ post.dept_name }} </td>
|
2015-02-09 11:02:25 +00:00
|
|
|
<td class="text-center" id="ip"> {{ post.host }} </td>
|
2015-03-17 08:25:32 +00:00
|
|
|
<td class="text-center" id="ip"> {{ post.remote_ip }} </td>
|
2015-02-09 11:02:25 +00:00
|
|
|
<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">
|
2015-03-12 03:03:53 +00:00
|
|
|
<div class="col-sm-6 "></div>
|
|
|
|
{% include 'paginator.html' %}
|
2015-02-09 11:02:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|