names: Remove unnecessary column sizing

Signed-off-by: Manish Tripathy <manisht@thougtworks.com>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2018-06-18 19:23:14 +05:30
parent fa8e15bc99
commit 35e49521b9
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -23,40 +23,36 @@
{% block configuration %}
<div class="row">
<div class="col-lg-8">
<table class="table table-bordered table-condensed table-striped">
<thead>
<tr>
<td></td>
{% for service in status.services %}
<td>
<div class="text-center">{{ service }}</div>
</td>
{% endfor %}
</tr>
</thead>
<tbody>
{% for name_service in status.name_services %}
<tr>
<td>
<b>{{ name_service.type }}</b><br>
<i>{{ name_service.name }}</i>
</td>
{% for service in name_service.services_enabled %}
<td>
{% if service %}
<span class="label label-success">{% trans "Enabled" %}</span>
{% else %}
<span class="label label-warning">{% trans "Disabled" %}</span>
{% endif %}
</td>
{% endfor %}
</tr>
<table class="table table-bordered table-condensed table-striped">
<thead>
<tr>
<td></td>
{% for service in status.services %}
<td>
<div class="text-center">{{ service }}</div>
</td>
{% endfor %}
</tbody>
</table>
</div>
</div>
</tr>
</thead>
<tbody>
{% for name_service in status.name_services %}
<tr>
<td>
<b>{{ name_service.type }}</b><br>
<i>{{ name_service.name }}</i>
</td>
{% for service in name_service.services_enabled %}
<td>
{% if service %}
<span class="label label-success">{% trans "Enabled" %}</span>
{% else %}
<span class="label label-warning">{% trans "Disabled" %}</span>
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}