feat: reports page with formatted daily report cards

This commit is contained in:
PTah
2026-05-27 14:15:15 +10:00
parent 04301ab359
commit 61c9f9b673
10 changed files with 453 additions and 49 deletions
+99
View File
@@ -189,3 +189,102 @@ pre {
text-transform: uppercase;
letter-spacing: 0.05em;
}
.report-intro {
color: #9aa4b2;
margin-top: -0.5rem;
}
.reports-table .report-row {
cursor: pointer;
}
.reports-table .report-row:hover,
.reports-table .report-row:focus {
background: #1a2332;
outline: none;
}
.report-summary-cell {
max-width: 420px;
}
.report-card {
background: #1a2332;
border: 1px solid #2a3441;
border-radius: 8px;
padding: 1.25rem;
margin-bottom: 1rem;
}
.report-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 0.75rem;
margin-bottom: 1.25rem;
}
.report-stat {
background: #0f1419;
border: 1px solid #2a3441;
border-radius: 8px;
padding: 0.75rem;
text-align: center;
}
.report-stat-value {
font-size: 1.5rem;
font-weight: 700;
color: #fff;
}
.report-stat-label {
font-size: 0.8rem;
color: #9aa4b2;
margin-top: 0.25rem;
}
.report-body-html {
line-height: 1.55;
font-size: 0.95rem;
}
.report-body-html .agent-report {
white-space: normal;
}
.report-body-plain {
white-space: pre-wrap;
word-break: break-word;
margin: 0;
font-family: inherit;
font-size: 0.9rem;
background: #0f1419;
padding: 1rem;
border-radius: 6px;
border: 1px solid #2a3441;
}
.report-empty,
.report-fallback {
color: #9aa4b2;
}
.report-summary-line {
color: #9aa4b2;
margin-bottom: 0.75rem;
}
.report-meta {
margin-bottom: 1rem;
}
.raw-details {
margin-top: 1rem;
}
.raw-details summary {
cursor: pointer;
color: #9aa4b2;
margin-bottom: 0.5rem;
}