{% extends "base.html" %} {% load compress humanize static hc_extras %} {% block title %}Ping Log - {{ site_name }}{% endblock %} {% block content %}
{% if events %}
{% for event in events %} {% if event.n %} {% endif %} {% if event.check_status %} {% endif %} {% endfor %}
#{{ event.n }} {% if event.kind == "fail" %} Failure {% elif event.kind == "start" %} Started {% elif event.kind == "ign" %} Ignored {% else %} OK {% endif %} {% if event.delta %}
{{ event.delta|hms }}
{% endif %} {% if event.scheme == "email" %} {{ event.ua }} {% if event.body %} - {{ event.body|truncatechars:150 }} {% endif %} {% else %} {{ event.scheme|upper }} {{ event.method }} {% if event.remote_addr %} from {{ event.remote_addr }} {% endif %} {% if event.ua %} - {{ event.ua }} {% endif %} {% if event.body %} - {{ event.body|truncatechars:150 }} {% endif %} {% endif %}
{% include "front/event_summary.html" %}
{% if show_limit_notice and limit < 1000 %}

Showing last {{ limit }} pings. Want to see more? Upgrade your account!

{% endif %}
{% else %}
Log is empty. This check has not received any pings yet.
{% endif %}
{% endblock %} {% block scripts %} {% compress js %} {% endcompress %} {% endblock %}