mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-18 08:33:41 +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 %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<table class="table table-bordered table-striped diagnostics-results">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="diagnostic-test">{% trans "Test" %}</th>
|
||||
<th class="diagnostics-result">{% trans "Result" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for test, result in results %}
|
||||
<tr>
|
||||
<td>{{ test }}</td>
|
||||
<td>
|
||||
{% if result == 'passed' %}
|
||||
<span class="label label-success">{{ result }}</span>
|
||||
{% elif result == 'failed' %}
|
||||
<span class="label label-danger">{{ result }}</span>
|
||||
{% elif result == 'error' %}
|
||||
<span class="label label-warning">{{ result }}</span>
|
||||
{% else %}
|
||||
{{ result }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<table class="table table-bordered table-striped diagnostics-results">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="diagnostic-test">{% trans "Test" %}</th>
|
||||
<th class="diagnostics-result">{% trans "Result" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for test, result in results %}
|
||||
<tr>
|
||||
<td>{{ test }}</td>
|
||||
<td>
|
||||
{% if result == 'passed' %}
|
||||
<span class="label label-success">{{ result }}</span>
|
||||
{% elif result == 'failed' %}
|
||||
<span class="label label-danger">{{ result }}</span>
|
||||
{% elif result == 'error' %}
|
||||
<span class="label label-warning">{{ result }}</span>
|
||||
{% else %}
|
||||
{{ result }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user