{% extends "base.html" %} {% import "_macros.html" as m with context %} {% block title %}Overview{% endblock %} {% block content %} {% if d.role == "admin" %} {% set s = d.server %} {% set mem_used = s.mem.total - s.mem.available %} {% set running = d.services|selectattr("active", "equalto", "active")|list|length %} {% set failed = d.services|selectattr("active", "equalto", "failed")|list %}
{{ s.os }}, up for {{ s.uptime|duration }}. {% if failed %}{{ failed|length }} service{{ "" if failed|length == 1 else "s" }} failed. {% else %}All {{ running }} services are running.{% endif %}
| When | Who | Action | Result |
|---|---|---|---|
| {{ a.ts|ago }} | {{ a.actor }} | {{ a.op }} | {% if a.ok %}Done{% else %}Failed{% endif %} |
Your hosting on {{ d.hostname or "this server" }}.
| {{ s.domain }} | {% if s.ssl %}{{ m.icon("lock") }}HTTPS{% else %}HTTP only{% endif %} |