proxadmin/app/templates/admin/users.html

41 lines
902 B
HTML
Raw Normal View History

2017-06-04 10:10:38 -04:00
{% extends "base.html" %}
{% block page_content %}
<div class="row">
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>
<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>
2017-06-04 10:10:38 -04:00
</div>
{% endblock %}