mirror of
https://github.com/retspen/webvirtcloud
synced 2025-01-12 08:25:18 +00:00
fix computes list table layout
This commit is contained in:
parent
6a8d713ae6
commit
bb935b3713
1 changed files with 10 additions and 10 deletions
|
@ -25,26 +25,26 @@
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<table class="table table-striped table-hover">
|
<table class="table table-striped table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr class="d-flex">
|
||||||
<th span="col">{% trans "Name" %}</th>
|
<th span="col" class="col-sm-3">{% trans "Name" %}</th>
|
||||||
<th span="col">{% trans "Status" %}</th>
|
<th span="col" class="col-sm-2">{% trans "Status" %}</th>
|
||||||
<th span="col">{% trans "Details" %}</th>
|
<th span="col" class="col-sm-5">{% trans "Details" %}</th>
|
||||||
<th span="col">{% trans "Actions" %}</th>
|
<th span="col" class="col-sm-2 text-center">{% trans "Actions" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="searchable">
|
<tbody class="searchable">
|
||||||
{% for compute in computes %}
|
{% for compute in computes %}
|
||||||
<tr>
|
<tr class="d-flex">
|
||||||
<td>
|
<td class="col-sm-3">
|
||||||
{{ compute.name }}
|
{{ compute.name }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="col-sm-2">
|
||||||
{% if compute.status is True %}{% trans "Connected" %}{% else %}{% trans "Not Connected" %}{% endif %}
|
{% if compute.status is True %}{% trans "Connected" %}{% else %}{% trans "Not Connected" %}{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="col-sm-5">
|
||||||
{{ compute.details|default:"" }}
|
{{ compute.details|default:"" }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="col-sm-2">
|
||||||
<div class="float-right btn-group">
|
<div class="float-right btn-group">
|
||||||
{% if compute.status is True %}
|
{% if compute.status is True %}
|
||||||
<a class="btn btn-success" title="{%trans "Overview" %}" href="{% url 'overview' compute.id %}">{% icon 'eye' %}</a>
|
<a class="btn btn-success" title="{%trans "Overview" %}" href="{% url 'overview' compute.id %}">{% icon 'eye' %}</a>
|
||||||
|
|
Loading…
Reference in a new issue