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 committed 2018-06-18 20:22:37 +05:30
1 parent fa8e15bc99
commit 35e49521b9
1 file changed
+30 -34
+30 -34
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 %}