From 5aeb90852bcdd9e12fe95516df87ef703e0788e9 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Thu, 28 Sep 2017 13:04:22 -0400 Subject: [PATCH] Add progress bar for installer...still need to write the actual migrations --- install/index.php | 8 +++++++- install/js/install-script.js | 11 ++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/install/index.php b/install/index.php index c527f8e1..7e80de85 100644 --- a/install/index.php +++ b/install/index.php @@ -122,7 +122,13 @@ if (hesk_dbNumRows($tableSql) > 0) {
-

Here we'd actually be doing some things

+
+
+ 100% Complete + 100% +
+
diff --git a/install/js/install-script.js b/install/js/install-script.js index 293fff3c..13688100 100644 --- a/install/js/install-script.js +++ b/install/js/install-script.js @@ -7,7 +7,12 @@ var steps = [ { name: 'db-confirm', text: 'Confirm the information below', - callback: confirmDatabaseInformation + callback: undefined + }, + { + name: 'install-or-update', + text: 'Updating to the latest version...', + callback: undefined } ]; @@ -42,8 +47,4 @@ function goToStep(step) { } $('#header-text').text(steps[step].text); -} - -function confirmDatabaseInformation() { - } \ No newline at end of file