{% extends "default.html" %} {% block title %}{{ app.name }} | Echo Tracker{% endblock %} {% block content %}

{{ app.name }}

{% if is_ok(all_results) %} Operational {% elif is_partial(all_results) %} Unstable {% else %} Down {% endif %} (last {{ app.stability_threshold }} minutes)

Owner: {{ app.owner_name }}

{% if session.get("username") == app.owner_name %} Manage endpoints {% endif %}
{% for endpoint in app.endpoints %}

{{ endpoint.name }}

{% if not endpoint.buggy %} Report malfunction {% elif app.owner_name == session.get("username") %} Mark as fixed {% endif %} Access
{% if endpoint.buggy %}

Malfunctioning

{% elif is_ok(slices[endpoint.id][-1][0]) %} Operational {% elif is_partial(slices[endpoint.id][-1][0]) %} Unstable {% else %} Down {% endif %}

{{ endpoint.comment }}

{% for slice in slices[endpoint.id] %} {% if not slice[0] %}
{% endfor %}
{% endfor %}
{% endblock %}