indie-status-page/app/templates/incident.html
IndieStatusBot 902133edd3 feat: indie status page MVP -- FastAPI + SQLite
- 8 DB models (services, incidents, monitors, subscribers, etc.)
- Full CRUD API for services, incidents, monitors
- Public status page with live data
- Incident detail page with timeline
- API key authentication
- Uptime monitoring scheduler
- 13 tests passing
- TECHNICAL_DESIGN.md with full spec
2026-04-25 05:00:00 +00:00

26 lines
No EOL
973 B
HTML

{% extends "base.html" %}
{% block title %}Incident: {{ incident.title }}{% endblock %}
{% block content %}
<div class="incident-detail">
<a href="/">← Back to Status Page</a>
<h1>{{ incident.title }}</h1>
<div class="incident-meta">
<span class="severity severity-{{ incident.severity }}">{{ incident.severity | title }}</span>
<span class="incident-status">{{ incident.status | title }}</span>
<p>Started: {{ incident.started_at }}</p>
{% if incident.resolved_at %}
<p>Resolved: {{ incident.resolved_at }}</p>
{% endif %}
</div>
<div class="timeline">
{% for update in updates %}
<div class="timeline-entry">
<div class="timeline-status">{{ update.status | title }}</div>
<div class="timeline-body">{{ update.body }}</div>
<div class="timeline-time">{{ update.created_at }}</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}