progress after install
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-08-04 14:57:17 +00:00
parent a1aa1c0d14
commit f925665d23
3 changed files with 5 additions and 6 deletions

View File

@@ -11,12 +11,11 @@ function updateProgress(percentage) {
function setProgress(percentage) {
clearInterval(progressInterval);
updateProgress(percentage);
startProgress();
startProgress(60000);
}
function startProgress() {
function startProgress(duration) {
clearInterval(progressInterval);
const duration = 60000; // 60 seconds
const startTime = Date.now() - (currentProgress / 100) * duration;
progressInterval = setInterval(() => {
@@ -65,7 +64,7 @@ function redirectToInstall() {
function redirectToManage() {
setProgress(100);
// window.location.href = 'manage.html';
window.location.href = 'manage.html';
}
function start_system() {