On mobile, don't show the "Last Ping" column, but show the gear (Details) button. Fixes #286

This commit is contained in:
Pēteris Caune 2019-11-05 09:52:32 +02:00
parent 7db11fa7aa
commit a464154151
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

View File

@ -30,7 +30,7 @@
Period <br />
<span class="checks-subline">Grace</span>
</th>
<th class="th-last-ping">
<th class="th-last-ping hidden-xs">
{% if sort == "last_ping" %}
<a href="?sort=created" data-toggle="tooltip" class="sort-last-ping">
Last Ping<span class="icon-desc"></span>
@ -49,7 +49,7 @@
<span class="checks-subline">Last Duration</span>
{% endif %}
</th>
<th class="hidden-xs"></th>
<th></th>
</tr>
{% for check in checks %}
<tr
@ -115,12 +115,12 @@
</span>
</div>
</td>
<td>
<td class="hidden-xs">
<div id="lpd-{{ check.code }}" class="last-ping">
{% include "front/last_ping_cell.html" with check=check %}
</div>
</td>
<td class="hidden-xs">
<td>
<button class="btn btn-sm btn-default show-log" type="button">
<span class="icon-settings" aria-hidden="true"></span>
</button>