more progress fixes

This commit is contained in:
Andy Miller
2025-10-16 19:56:59 -06:00
parent 06461be5dd
commit 099e6cddc6
4 changed files with 99 additions and 2 deletions

View File

@@ -256,7 +256,7 @@ class SafeUpgradeManager
$this->log(sprintf('Queued safe upgrade job %s', $jobId));
$this->setProgress('queued', 'Waiting for upgrade worker...', 0, ['job_id' => $jobId]);
$this->setProgress('queued', 'Waiting for upgrade worker...', 0, ['job_id' => $jobId, 'status' => 'queued']);
if (!function_exists('proc_open')) {
$message = 'proc_open() is disabled on this server; unable to run safe upgrade worker.';

View File

@@ -7145,5 +7145,48 @@ body .changelog ul li:before {
.remodal .safe-upgrade-body .safe-upgrade-actions {
margin-top: 1.5rem;
}
.remodal .safe-upgrade-body .safe-upgrade-loading {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.05rem;
padding: 1.5rem 0;
}
.remodal .safe-upgrade-body .safe-upgrade-progress {
text-align: center;
}
.remodal .safe-upgrade-body .safe-upgrade-progress h3 {
margin-bottom: 0.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
padding-bottom: 0.5rem;
}
.remodal .safe-upgrade-body .safe-upgrade-progress .safe-upgrade-progress-bar {
width: 100%;
background: rgba(0, 0, 0, 0.1);
border-radius: 4px;
height: 10px;
overflow: hidden;
margin-top: 0.75rem;
}
.remodal .safe-upgrade-body .safe-upgrade-progress .safe-upgrade-progress-bar span {
display: block;
height: 100%;
background: #4dbc8b;
transition: width 0.3s ease;
}
.remodal .safe-upgrade-body .safe-upgrade-progress .safe-upgrade-status {
margin-top: 0.5rem;
font-size: 0.95rem;
}
.remodal .safe-upgrade-body .safe-upgrade-progress .safe-upgrade-status strong {
font-weight: 600;
}
.remodal .safe-upgrade-body .safe-upgrade-progress .progress-value {
font-weight: 600;
margin-top: 0.5rem;
}
.remodal .safe-upgrade-body .safe-upgrade-result h3 {
margin-bottom: 0.5rem;
}
/*# sourceMappingURL=template.css.map */

File diff suppressed because one or more lines are too long

View File

@@ -20,6 +20,60 @@
.safe-upgrade-actions {
margin-top: 1.5rem;
}
.safe-upgrade-loading {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.05rem;
padding: 1.5rem 0;
}
.safe-upgrade-progress {
text-align: center;
h3 {
margin-bottom: 0.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
padding-bottom: 0.5rem;
}
.safe-upgrade-progress-bar {
width: 100%;
background: rgba(0, 0, 0, 0.1);
border-radius: 4px;
height: 10px;
overflow: hidden;
margin-top: 0.75rem;
span {
display: block;
height: 100%;
background: #4dbc8b;
transition: width 0.3s ease;
}
}
.safe-upgrade-status {
margin-top: 0.5rem;
font-size: 0.95rem;
strong {
font-weight: 600;
}
}
.progress-value {
font-weight: 600;
margin-top: 0.5rem;
}
}
.safe-upgrade-result {
h3 {
margin-bottom: 0.5rem;
}
}
}
}