mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
Display upgrade banner on Controller dashboard while upgrade is running.
This commit is contained in:
parent
9e5a8b8057
commit
dc23278afb
1 changed files with 7 additions and 0 deletions
|
|
@ -2399,6 +2399,13 @@
|
|||
// When ?upgrade=true, poll for completion and redirect to main UI when ready.
|
||||
try {
|
||||
if (isUpgradeMode) {
|
||||
// Show the script-running banner with upgrade-specific text
|
||||
const upgradeBanner = document.getElementById('script-running-banner');
|
||||
if (upgradeBanner) {
|
||||
upgradeBanner.classList.add('show');
|
||||
document.getElementById('script-running-name').textContent = 'WROLPi Upgrade Running';
|
||||
}
|
||||
|
||||
const upgradeIsDocker = {{ 'true' if docker_mode else 'false' }};
|
||||
let upgradeHttpsBase;
|
||||
if (window.location.protocol === 'https:') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue