ui+server: schedule next-run / last-run on dashboard + schedules tab

P2R-14. New store.LatestJobBySchedule query (per-schedule fired job).
Schedules-tab handler computes next-fire from cron + last-fire from
the jobs table per row. Schedules table grows two columns; dashboard
host row prepends 'next 12h ago/from now' to the existing last-backup
line when a single covering schedule is the run-now candidate.

Embeds store.Schedule into scheduleRow so existing template field
references keep working without bulk renames.
This commit is contained in:
2026-05-04 10:44:31 +01:00
parent 6589f23313
commit 93ab0ae84f
7 changed files with 201 additions and 4 deletions
+2 -2
View File
@@ -209,8 +209,8 @@
/* ---------- schedule rows (Schedules tab) ---------- */
.schd-row {
display: grid; align-items: center;
grid-template-columns: 90px 1fr 2fr auto;
column-gap: 18px;
grid-template-columns: 78px 1fr 1.6fr 100px 110px auto;
column-gap: 14px;
padding: 12px 18px; font-size: 13px;
}
.schd-row.head {