Status Page Not Found
The requested status page does not exist or is not enabled.
<% else %>
<%!-- Header --%>
<%= if @config.logo_url do %>
<% end %>
{@config.company_name || "System Status"}
<%!-- Overall Status Banner --%>
{overall_text(@overall_status)}
Last updated: {Calendar.strftime(DateTime.utc_now(), "%B %d, %Y at %H:%M UTC")}
<%!-- Active Incidents --%>
<%= if @active_incidents != [] do %>
Active Incidents
<%= for incident <- @active_incidents do %>
{incident.title}
<%= if incident.body do %>
{incident.body}
<% end %>
{incident_status_label(incident.status)}
Started: {Calendar.strftime(incident.started_at, "%b %d, %H:%M UTC")}
<% end %>
<% end %>
<%!-- Components --%>
Components
<%= if @components == [] do %>
No components configured
<% else %>
<%= for component <- @components do %>
{component.name}
<%= if component.description do %>
{component.description}
<% end %>
{component_label(component.status)}
<% end %>
<% end %>
<%!-- Recent Incidents --%>
Recent Incidents
<%= if @recent_incidents == [] do %>
No recent incidents — looking good!
<% else %>
<%= for incident <- @recent_incidents do %>
{incident.title}
if(incident.status == "resolved", do: "bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300", else: "bg-yellow-100 text-yellow-700 dark:bg-yellow-900/50 dark:text-yellow-300")}>
{incident_status_label(incident.status)}
{Calendar.strftime(incident.started_at, "%b %d, %Y")}
<%= if incident.resolved_at do %>
— Resolved {Calendar.strftime(incident.resolved_at, "%b %d, %H:%M UTC")}
<% end %>
<% end %>
<% end %>
<%!-- Footer --%>
<% end %>