mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-07 06:05:34 +00:00
Reduce the generated HTML size of the checks table
... by removing class="indicator-cell" and using :first-child in CSS to target it instead.
This commit is contained in:
parent
2c4719ecc3
commit
534d6973c4
2 changed files with 2 additions and 3 deletions
|
@ -11,9 +11,8 @@
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
#checks-table .indicator-cell {
|
#checks-table tr.checks-row td:first-child {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#checks-table th {
|
#checks-table th {
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
{% for check in checks %}
|
{% for check in checks %}
|
||||||
<tr id="{{ check.code }}" class="checks-row" {% if check in hidden_checks %}style="display: none"{% endif %}>
|
<tr id="{{ check.code }}" class="checks-row" {% if check in hidden_checks %}style="display: none"{% endif %}>
|
||||||
<td class="indicator-cell">
|
<td>
|
||||||
<span class="status ic-{{ check.cached_status }}" data-toggle="tooltip"></span>
|
<span class="status ic-{{ check.cached_status }}" data-toggle="tooltip"></span>
|
||||||
<div class="spinner {% if check.last_start %}started{% endif %}"></div>
|
<div class="spinner {% if check.last_start %}started{% endif %}"></div>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue