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