54 lines
1.3 KiB
HTML
54 lines
1.3 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">Servers</div>
|
|
<div class="panel-body">
|
|
{% include "admin/menu_deployments.html" %}
|
|
<div class="table-responsive">
|
|
<table class="table table-hover table-striped table-condensed cf">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>CPU</th>
|
|
<th>MEM</th>
|
|
<th>HDD</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.cpu }}</td>
|
|
<td>{{ server.mem }}</td>
|
|
<td>{{ server.hdd }}</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>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|