{# status/widget.html — compact dashboard summary + problem list #}
{{ up }}up {{ down }}down {{ pending }}pending
{% set problems = entries | rejectattr("status", "equalto", "up") | list %} {% if not entries %}

No monitors configured.

{% elif not problems %}
✓ All {{ up }} monitors are up.
{% else %}
{% for e in problems[:8] %}
{% set nm_style = "flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" %} {# Link to the monitor's own detail view for logged-in users; plain text on the public share view. #} {% if session.user_id and e.detail_url %} {{ e.name }} {% else %} {{ e.name }} {% endif %} {{ e.kind }} {{ e.status }}
{% endfor %} {% if problems|length > 8 %}
+{{ problems|length - 8 }} more…
{% endif %}
{% endif %}