51 lines
1.8 KiB
HTML
51 lines
1.8 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>
|
|
<div class="no-more-tables">
|
|
{{ pagination.info }}
|
|
{{ pagination.links }}
|
|
<table class="table table-hover table-striped table-condensed cf">
|
|
<thead>
|
|
<tr>
|
|
<td>email</td>
|
|
<td>last seen</td>
|
|
<td>last ip</td>
|
|
<td>wallet</td>
|
|
<td>currency</td>
|
|
<td></td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for usr in users %}
|
|
{% set rowloop = loop %}
|
|
<tr>
|
|
<td data-title="Email"><font {% if usr.is_administrator() == True %}color="red"{% endif %}>{{ usr.email }}</td>
|
|
<td data-title="Last Seen">{{ moment(usr.last_seen).format('lll') }}</td>
|
|
<td data-title="Last IP"><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 data-title="Wallet">{{ usr.wallet }}</td>
|
|
<td data-title="Currency">{{ usr.currency }}</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>
|
|
{{ pagination.links }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
</div>
|
|
|
|
{% endblock %}
|