44 lines
974 B
HTML
44 lines
974 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block page_content %}
|
|
<div class="row">
|
|
{% include "admin/admin_tasks.html" %}
|
|
|
|
<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>
|
|
<td>cntrl</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for usr in users %}
|
|
<tr>
|
|
<td>{{ usr.pid }}</td>
|
|
<td>{{ usr.email }}</td>
|
|
<td>{{ moment(usr.last_seen).fromNow()}}</td>
|
|
<td>{{ usr.last_ip }}</td>
|
|
<td><a href="{{ url_for('admin.charge', user_pid=usr.pid) }}">{{ usr.wallet }}</a></td>
|
|
<td><a href="{{ url_for('admin.dashboard', user_pid=usr.pid) }}">Inventory</a></td>
|
|
</td>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
</div>
|
|
|
|
{% endblock %}
|