|
|
@ -4,11 +4,17 @@ |
|
|
|
<th></th> |
|
|
|
<th class="th-name"> |
|
|
|
{% if sort == "name" %} |
|
|
|
<a href="?sort=-name">Name<span class="icon-asc"></span></a> |
|
|
|
<a href="?sort=-name" data-toggle="tooltip" class="sort-name"> |
|
|
|
Name<span class="icon-asc"></span> |
|
|
|
</a> |
|
|
|
{% elif sort == "-name" %} |
|
|
|
<a href="?sort=created">Name<span class="icon-desc"></span></a> |
|
|
|
<a href="?sort=created" data-toggle="tooltip" class="sort-name"> |
|
|
|
Name<span class="icon-desc"></span> |
|
|
|
</a> |
|
|
|
{% else %} |
|
|
|
<a href="?sort=name" class="default">Name</span></a> |
|
|
|
<a href="?sort=name" data-toggle="tooltip" class="default sort-name"> |
|
|
|
Name |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
</th> |
|
|
|
<th>Ping URL</th> |
|
|
@ -18,16 +24,22 @@ |
|
|
|
</th> |
|
|
|
<th class="th-last-ping"> |
|
|
|
{% if sort == "last_ping" %} |
|
|
|
<a href="?sort=created">Last Ping<span class="icon-desc"></span></a> |
|
|
|
<a href="?sort=created" data-toggle="tooltip" class="sort-last-ping"> |
|
|
|
Last Ping<span class="icon-desc"></span> |
|
|
|
</a> |
|
|
|
{% elif sort == "-last_ping" %} |
|
|
|
<a href="?sort=last_ping">Last Ping<span class="icon-asc"></span></a> |
|
|
|
<a href="?sort=last_ping" data-toggle="tooltip" class="sort-last-ping"> |
|
|
|
Last Ping<span class="icon-asc"></span> |
|
|
|
</a> |
|
|
|
{% else %} |
|
|
|
<a href="?sort=-last_ping" class="default">Last Ping</span></a> |
|
|
|
<a href="?sort=-last_ping" data-toggle="tooltip" class="default sort-last-ping"> |
|
|
|
Last Ping</span> |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
</th> |
|
|
|
<th></th> |
|
|
|
</tr> |
|
|
|
{% for check in checks|sortchecks:sort %} |
|
|
|
{% for check in checks %} |
|
|
|
<tr class="checks-row"> |
|
|
|
<td class="indicator-cell"> |
|
|
|
{% if check.in_grace_period %} |
|
|
|