Commit db81f6b
Overview: freshness badge — orange past a week, red past two (#24)
The front page now carries a last-updated badge under the header. The
generated date is baked into the page, but the AGE is computed in the
viewer's browser at view time — a baked-in color would itself go stale.
Within 7 days it reads green ("up to date — last updated N days ago");
past 7 days it turns orange ("the weekly rebuild is overdue"); past 14,
red ("the scheduled rebuild has stopped"). With the weekly cron in
place, orange/red are an ops signal that CI has quietly failed, which
is exactly the dashboard's failure mode to guard against. Icon + words
on every state, never color alone.
Part of #20.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent e19a410 commit db81f6b
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
210 | 217 | | |
211 | 218 | | |
212 | 219 | | |
| |||
460 | 467 | | |
461 | 468 | | |
462 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
463 | 491 | | |
464 | 492 | | |
465 | 493 | | |
| |||
0 commit comments