Leveled up my english five minutes ago.
This commit is contained in:
parent
933957bef6
commit
bc2853f547
@ -20,13 +20,13 @@
|
|||||||
{% with delta_hours=server.last_updated|hours_since_now %}
|
{% with delta_hours=server.last_updated|hours_since_now %}
|
||||||
{% if delta_hours > 24 %}
|
{% if delta_hours > 24 %}
|
||||||
<p id="server_status" class="status_offline">
|
<p id="server_status" class="status_offline">
|
||||||
<span title="Offline: not seen since the last day." class="glyphicon glyphicon-remove-sign"></span>
|
<span title="Offline: was not seen during the last week." class="glyphicon glyphicon-remove-sign"></span>
|
||||||
{% elif delta_hours >= 1 %}
|
{% elif delta_hours >= 1 %}
|
||||||
<p id="server_status" class="status_unknown">
|
<p id="server_status" class="status_unknown">
|
||||||
<span title="Unknown: not seen since the last hour." class="glyphicon glyphicon-question-sign"></span>
|
<span title="Unknown: was not seen during the last day." class="glyphicon glyphicon-question-sign"></span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p id="server_status" class="status_online">
|
<p id="server_status" class="status_online">
|
||||||
<span title="Online" class="glyphicon glyphicon-ok-sign"></span>
|
<span title="Online: was seen during the last hour." class="glyphicon glyphicon-ok-sign"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
Last seen <span class="bold" title="{{server.last_updated|date:'r'}} GMT">
|
Last seen <span class="bold" title="{{server.last_updated|date:'r'}} GMT">
|
||||||
|
|||||||
@ -21,17 +21,17 @@
|
|||||||
{% if delta_hours > 24 %}
|
{% if delta_hours > 24 %}
|
||||||
<tr class="danger">
|
<tr class="danger">
|
||||||
<th>
|
<th>
|
||||||
<span title="Offline: not seen since the last day." class="glyphicon glyphicon-remove-sign"></span>
|
<span title="Offline: was not seen during the last week." class="glyphicon glyphicon-remove-sign"></span>
|
||||||
</th>
|
</th>
|
||||||
{% elif delta_hours >= 1 %}
|
{% elif delta_hours >= 1 %}
|
||||||
<tr class="warning">
|
<tr class="warning">
|
||||||
<th>
|
<th>
|
||||||
<span title="Unknown: not seen since the last hour." class="glyphicon glyphicon-question-sign"></span>
|
<span title="Unknown: was not seen during the last day." class="glyphicon glyphicon-question-sign"></span>
|
||||||
</th>
|
</th>
|
||||||
{% else %}
|
{% else %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<span title="Online" class="glyphicon glyphicon-ok-sign"></span>
|
<span title="Online: was seen during the last hour." class="glyphicon glyphicon-ok-sign"></span>
|
||||||
</th>
|
</th>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user