0.2.2: actions as plain POST forms (no fetch/JSON), job page auto-refresh
This commit is contained in:
1 parent
364ab42ffe
commit
18859ac3cc
7 files changed
+58
-12
No files matched your search
@@ -10,6 +10,10 @@ $id = (string)($_GET['id'] ?? '');
|
||||
$job = $id !== '' ? vmm_job_get($id) : null;
|
||||
$jobs = vmm_job_list(50);
|
||||
|
||||
if ($job !== null && in_array($job['state'], ['queued', 'running'], true)) {
|
||||
header('Refresh: 2');
|
||||
}
|
||||
|
||||
include 'fbegin.inc';
|
||||
vmm_css();
|
||||
?>
|
||||
|
||||
Reference in new issue
Block a user