2021-02-28 08:21:57 +00:00
|
|
|
|
{% extends 'layouts/master.html' %}
|
|
|
|
|
{% block title %}View{% endblock %}
|
|
|
|
|
{% block body %}
|
2021-03-02 15:56:00 +00:00
|
|
|
|
<h1>IP登陆地统计</h1>
|
2021-02-28 08:21:57 +00:00
|
|
|
|
<table class="table table-hover">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
2021-03-02 15:56:00 +00:00
|
|
|
|
<th scope="col">账号</th>
|
|
|
|
|
<th scope="col">上次登录IP</th>
|
|
|
|
|
<th scope="col">上次登陆地</th>
|
|
|
|
|
<th scope="col">运营商</th>
|
|
|
|
|
<th scope="col">登录IP地址统计(省)</th>
|
|
|
|
|
<th scope="col">登陆地统计(省)</th>
|
2021-02-28 08:21:57 +00:00
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{% for contact in contacts %}
|
|
|
|
|
<tr>
|
2021-03-02 15:56:00 +00:00
|
|
|
|
<td>{{ contact['account'] }}</td>
|
|
|
|
|
<td>{{ contact['ip'] }}</td>
|
|
|
|
|
<td>{{ contact['location'] }}</td>
|
|
|
|
|
<td>{{ contact['isp'] }}</td>
|
|
|
|
|
<td>{{ contact['cnt1'] }}</td>
|
|
|
|
|
<td>{{ contact['cnt2'] }}</td>
|
2021-02-28 08:21:57 +00:00
|
|
|
|
</tr>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
{% endblock %}
|