diff --git a/Plugin/usr/local/emhttp/plugins/varaverk/css/varaverk.css b/Plugin/usr/local/emhttp/plugins/varaverk/css/varaverk.css index 3425231..8138b5a 100644 --- a/Plugin/usr/local/emhttp/plugins/varaverk/css/varaverk.css +++ b/Plugin/usr/local/emhttp/plugins/varaverk/css/varaverk.css @@ -63,17 +63,17 @@ /* Two-panel layout */ #vv-sched-layout { display: flex; gap: 16px; align-items: flex-start; } -#vv-sched-left { flex: 0 0 500px; min-width: 0; } -#vv-sched-right { display: none; flex: 1; min-width: 0; position: sticky; top: 16px; } +#vv-sched-left { flex: 1 1 0; min-width: 0; } +#vv-sched-right { display: none; flex: 1 1 0; min-width: 0; position: sticky; top: 16px; } #vv-sched-right.vv-panel-visible { display: block; } -.vv-log-right-pre { min-height: 360px; max-height: calc(100vh - 200px); } +.vv-log-right-pre { min-height: calc(100vh - 220px); max-height: calc(100vh - 220px); } /* Mobile: stack vertically, right panel full-width below cards */ @media (max-width: 880px) { #vv-sched-layout { flex-direction: column; } #vv-sched-left { flex: none; width: 100%; } #vv-sched-right { position: static; width: 100%; } - .vv-log-right-pre { min-height: 200px; max-height: 340px; } + .vv-log-right-pre { min-height: 260px; max-height: 340px; } } /* Card footer */ diff --git a/Plugin/usr/local/emhttp/plugins/varaverk/pages/scheduler.php b/Plugin/usr/local/emhttp/plugins/varaverk/pages/scheduler.php index c39ef14..5c29e49 100644 --- a/Plugin/usr/local/emhttp/plugins/varaverk/pages/scheduler.php +++ b/Plugin/usr/local/emhttp/plugins/varaverk/pages/scheduler.php @@ -247,3 +247,18 @@ function vvClearRightLog() { .catch(() => {}); } + + $lastMtime) { $lastMtime = $m; $lastId = $orch['id']; } + foreach (($orch['children'] ?? []) as $child) { + $log = vv_job_log_path($child['id']); + if (file_exists($log) && ($m = filemtime($log)) > $lastMtime) { $lastMtime = $m; $lastId = $child['id']; } + } +} +if ($lastId): ?> + +