proxadmin/app/templates/admin/list_servers.html
2018-01-09 13:05:45 +02:00

46 lines
1.1 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">
<div class="panel-heading">Transactions</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-hover table-striped table-condensed cf">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Address</th>
<th>Region</th>
<th>Seller</th>
</tr>
</thead>
<tbody>
{% for server in servers %}
<tr class="default">
<td>{{ server.name }}</td>
<td>{{ server.description }}</td>
<td>{{ server.address }}</td>
<td>{{ server.region.name }}</td>
<td><a href="{{ url_for('admin.dashboard', user_pid=server.owner.pid) }}">{{ server.owner.email }}</a></td>
</tr>
</tbody>
{% endfor %}
</table>
</div>
</div>
</div>
</div>
{% endblock %}