mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
diagnostics: Remove unnecessary content 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:
parent
e43df173ca
commit
1cf80f83ba
@ -19,33 +19,29 @@
|
|||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<div class="row">
|
<table class="table table-bordered table-striped diagnostics-results">
|
||||||
<div class="col-lg-12">
|
<thead>
|
||||||
<table class="table table-bordered table-striped diagnostics-results">
|
<tr>
|
||||||
<thead>
|
<th class="diagnostic-test">{% trans "Test" %}</th>
|
||||||
<tr>
|
<th class="diagnostics-result">{% trans "Result" %}</th>
|
||||||
<th class="diagnostic-test">{% trans "Test" %}</th>
|
</tr>
|
||||||
<th class="diagnostics-result">{% trans "Result" %}</th>
|
</thead>
|
||||||
</tr>
|
<tbody>
|
||||||
</thead>
|
{% for test, result in results %}
|
||||||
<tbody>
|
<tr>
|
||||||
{% for test, result in results %}
|
<td>{{ test }}</td>
|
||||||
<tr>
|
<td>
|
||||||
<td>{{ test }}</td>
|
{% if result == 'passed' %}
|
||||||
<td>
|
<span class="label label-success">{{ result }}</span>
|
||||||
{% if result == 'passed' %}
|
{% elif result == 'failed' %}
|
||||||
<span class="label label-success">{{ result }}</span>
|
<span class="label label-danger">{{ result }}</span>
|
||||||
{% elif result == 'failed' %}
|
{% elif result == 'error' %}
|
||||||
<span class="label label-danger">{{ result }}</span>
|
<span class="label label-warning">{{ result }}</span>
|
||||||
{% elif result == 'error' %}
|
{% else %}
|
||||||
<span class="label label-warning">{{ result }}</span>
|
{{ result }}
|
||||||
{% else %}
|
{% endif %}
|
||||||
{{ result }}
|
</td>
|
||||||
{% endif %}
|
</tr>
|
||||||
</td>
|
{% endfor %}
|
||||||
</tr>
|
</tbody>
|
||||||
{% endfor %}
|
</table>
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user