|
|
@ -8,7 +8,7 @@ |
|
|
|
<table class="table table-hover"> |
|
|
|
<tr> |
|
|
|
<th></th> |
|
|
|
<th>Name</th> |
|
|
|
<th class="th-name">Name</th> |
|
|
|
<th>Code</th> |
|
|
|
<th>Frequency</th> |
|
|
|
<th>Last Ping</th> |
|
|
@ -16,26 +16,13 @@ |
|
|
|
</tr> |
|
|
|
{% for check in checks %} |
|
|
|
<tr class="checks-row"> |
|
|
|
<td> |
|
|
|
{% if check.status == "up" %} |
|
|
|
<span |
|
|
|
data-toggle="tooltip" |
|
|
|
title="This check is UP" |
|
|
|
class="label label-success"> </span> |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if check.status == "down" %} |
|
|
|
<span |
|
|
|
data-toggle="tooltip" |
|
|
|
title="This check is DOWN" |
|
|
|
class="label label-danger"> </span> |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
<td class="indicator-cell"> |
|
|
|
{% if check.status == "new" %} |
|
|
|
<span |
|
|
|
data-toggle="tooltip" |
|
|
|
title="This check has not yet been triggered" |
|
|
|
class="label label-warning"> </span> |
|
|
|
<span class="glyphicon glyphicon-question-sign new"></span> |
|
|
|
{% elif now < check.alert_after %} |
|
|
|
<span class="glyphicon glyphicon-ok-sign up"></span> |
|
|
|
{% else %} |
|
|
|
<span class="glyphicon glyphicon-exclamation-sign down"></span> |
|
|
|
{% endif %} |
|
|
|
</td> |
|
|
|
<td> |
|
|
@ -94,4 +81,6 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% endblock %} |