46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block page_content %}
|
|
<div class="row">
|
|
{% include "admin/admin_tasks.html" %}
|
|
|
|
<div class="col-md-12">
|
|
<div class="panel panel-info" id="users">
|
|
<div class="panel-heading">List Active 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></td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for usr in users %}
|
|
<tr>
|
|
<td>{{ usr.pid }}</td>
|
|
<td>{{ usr.email }}</td>
|
|
<td>{{ moment(usr.last_seen).format('lll') }}</td>
|
|
<td><a href="https://apps.db.ripe.net/search/query.html?searchtext={{ usr.last_ip }}" data-toggle="tooltip" title="RIPE Whois Search" target="_blank">{{ usr.last_ip }}</a></td>
|
|
<td>{{ usr.wallet }}<td>
|
|
<td><a href="{{ url_for('admin.charge', user_pid=usr.pid) }}" data-toggle="tooltip" title="Add Funds"><span class="glyphicon glyphicon-plus"></span></a>
|
|
<a href="{{ url_for('admin.transaction', user_pid=usr.pid) }}" data-toggle="tooltip" title="List Transactions"><span class="glyphicon glyphicon-credit-card"></span></a>
|
|
<a href="{{ url_for('admin.dashboard', user_pid=usr.pid) }}" data-toggle="tooltip" title="Show Dashboard"><span class="glyphicon glyphicon-modal-window"></span></a>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
</div>
|
|
|
|
{% endblock %}
|