27 lines
595 B
HTML
Raw Normal View History

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>登录时间统计</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">上次登录时间</th>
<th scope="col">上次登陆时长</th>
<th scope="col">总时长</th>
2021-02-28 08:21:57 +00:00
<td></td>
</tr>
</thead>
<tbody>
{% for contact in contacts %}
<tr>
2021-03-02 15:56:00 +00:00
<td>{{ contact['account'] }}</td>
<td>{{ contact['login'] }}</td>
<td>{{ contact['duration']}}</td>
<td>{{ contact['total']}}</td>
2021-02-28 08:21:57 +00:00
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}