proxadmin/app/templates/admin/list_servers.html

54 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2018-01-09 06:05:45 -05:00
{% extends "base.html" %}
{% block page_content %}
<div class="row">
{% include "admin/admin_tasks.html" %}
<div class="col-md-12">
<div class="panel panel-info">
2018-02-21 18:12:44 -05:00
<div class="panel-heading">Servers</div>
<div class="panel-body">
{% include "admin/menu_deployments.html" %}
2018-02-21 18:12:44 -05:00
<div class="table-responsive">
2018-01-09 06:05:45 -05:00
<table class="table table-hover table-striped table-condensed cf">
<thead>
<tr>
<th>Name</th>
2018-01-11 08:19:59 -05:00
<th>CPU</th>
<th>MEM</th>
<th>HDD</th>
2018-01-09 06:05:45 -05:00
<th>Address</th>
<th>Region</th>
<th>Seller</th>
</tr>
</thead>
<tbody>
{% for server in servers %}
<tr class="default">
<td>{{ server.name }}</td>
2018-01-11 08:19:59 -05:00
<td>{{ server.cpu }}</td>
<td>{{ server.mem }}</td>
<td>{{ server.hdd }}</td>
2018-01-09 06:05:45 -05:00
<td>{{ server.address }}</td>
<td>{{ server.region.name }}</td>
<td><a href="{{ url_for('panel.dashboard', user_pid=server.owner.pid) }}">{{ server.owner.email }}</a></td>
2018-01-09 06:05:45 -05:00
</tr>
</tbody>
{% endfor %}
</table>
</div>
</div>
</div>
2018-02-21 18:12:44 -05:00
</div>
</div>
2018-01-09 06:05:45 -05:00
</div>
{% endblock %}