2017-06-04 10:10:38 -04:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block page_content %}
|
|
|
|
<div class="row">
|
2017-06-06 09:49:32 -04:00
|
|
|
{% include "admin/admin_tasks.html" %}
|
2017-06-04 11:22:59 -04:00
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="panel panel-danger" id="users">
|
|
|
|
<div class="panel-heading">Users</div>
|
|
|
|
<div class="panel-body"><p>
|
|
|
|
<table class="table table-hover table-striped table-condensed cf">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>id</td>
|
|
|
|
<td>email</td>
|
|
|
|
<td>last seen</td>
|
|
|
|
<td>last ip</td>
|
|
|
|
<td>wallet</td>
|
2017-06-10 23:26:10 -04:00
|
|
|
<td></td>
|
2017-06-04 11:22:59 -04:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for usr in users %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ usr.pid }}</td>
|
|
|
|
<td>{{ usr.email }}</td>
|
2017-06-11 22:12:27 -04:00
|
|
|
<td>{{ moment(usr.last_seen).format('lll') }}</td>
|
2017-06-04 11:22:59 -04:00
|
|
|
<td>{{ usr.last_ip }}</td>
|
|
|
|
<td><a href="{{ url_for('admin.charge', user_pid=usr.pid) }}">{{ usr.wallet }}</a></td>
|
2017-06-10 23:26:10 -04:00
|
|
|
<td><a href="{{ url_for('admin.dashboard', user_pid=usr.pid) }}">Dashboard</a></td>
|
2017-06-04 11:22:59 -04:00
|
|
|
</td>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
2017-06-06 09:49:32 -04:00
|
|
|
</table>
|
2017-06-04 11:22:59 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-06-04 10:10:38 -04:00
|
|
|
</div>
|
|
|
|
|
2017-06-06 09:49:32 -04:00
|
|
|
<div class="row">
|
|
|
|
</div>
|
|
|
|
|
2017-06-04 10:10:38 -04:00
|
|
|
{% endblock %}
|