1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00

fix(vmbackups): a schedule's run keeps how its job ended

The run history showed a run as "Started" once the job history (Job
Retention Days, which may be under 14) dropped its job. A run now takes
its job's end, and the reason it failed, when the job is deleted.

- A job cancelled without an error gives "The job was cancelled" as the
  run's reason on the schedule page.
- The Schedules list's 14-day strip is a link to the schedule, so touch
  and keyboard users reach the details its tooltips hold.
- The marks keep their colours in forced-colors (high contrast) mode.
This commit is contained in:
catborise 2026-11-25 09:26:01 +03:00
parent f2b6be5fa8
commit c5a04e040d
15 changed files with 108 additions and 50 deletions

View file

@ -378,5 +378,7 @@ td .tag-more {
.run-failed::after { content: "\00d7"; color: #fff; font-size: .75rem; font-weight: 700; line-height: 1; }
.run-days .run-failed::after { font-size: .625rem; }
.run-skipped { border-color: var(--bs-secondary-color); }
.run-running, .run-started { border-color: var(--bs-info); background: linear-gradient(90deg, var(--bs-info) 50%, transparent 50%); }
.run-running { border-color: var(--bs-info); background: linear-gradient(90deg, var(--bs-info) 50%, transparent 50%); }
.run-none { background: var(--bs-secondary-bg); }
/* high contrast themes would drop the marks' colours, which carry their meaning */
@media (forced-colors: active) { .run-mark { forced-color-adjust: none; } }