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
This commit is contained in:
commit
902133edd3
4655 changed files with 1342691 additions and 0 deletions
26
app/templates/incident.html
Normal file
26
app/templates/incident.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{% 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue