proxadmin/app/templates/admin/list_users.html

47 lines
1.5 KiB
HTML
Raw Normal View History

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">
2017-06-28 10:42:21 -04:00
<div class="panel panel-warning" id="users">
<div class="panel-heading">List Active Users</div>
2017-06-04 11:22:59 -04:00
<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-25 10:11:52 -04:00
<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>
2017-06-13 19:24:39 -04:00
<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>
2017-06-04 11:22:59 -04:00
{% 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 %}