From 9dd33a6a924a9a11798c1cc4441f146339ceba46 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 15 Oct 2021 12:26:16 +0000 Subject: [PATCH] Bug 27823: List upcoming steps during installation process This patch adds text to each step of the installation process showing which steps have been completed, which step is current, and which steps come next. This helps the user know where they are in the process. To test, apply the patch and begin the process of installing Koha. In my testing environment I drop the Koha database and create it again. On each step of the installation process, confirm that the list of steps is correct, showing the right stage in the process. Signed-off-by: David Nind --- .../intranet-tmpl/prog/css/src/installer.scss | 27 ++++++ .../en/includes/installer-doc-head-close.inc | 1 + .../prog/en/modules/installer/step1.tt | 60 +++++++++++- .../prog/en/modules/installer/step2.tt | 12 +++ .../prog/en/modules/installer/step3.tt | 93 +++++++++++++++++++ .../en/modules/onboarding/onboardingstep1.tt | 15 +++ .../en/modules/onboarding/onboardingstep2.tt | 15 +++ .../en/modules/onboarding/onboardingstep3.tt | 15 +++ .../en/modules/onboarding/onboardingstep4.tt | 15 +++ .../en/modules/onboarding/onboardingstep5.tt | 23 +++++ 10 files changed, 275 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/installer.scss b/koha-tmpl/intranet-tmpl/prog/css/src/installer.scss index 19301fcec1..c9c4892abf 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/installer.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/installer.scss @@ -297,3 +297,30 @@ span.breadcrumbs { .deselectall.optional { display: none; } + +#steps { + border: 1px solid #EEE; + border-radius: 5px; + padding: 1em; + margin: 1em 0; + + ol { + font-size: 1.2rem; + list-style-type: none; + margin: 0; + } +} + + +.open { + color: #888; +} + +.current { + color: #000; + font-weight: bold; +} + +.complete { + color: green; +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/installer-doc-head-close.inc index 3c1a5f4659..556d241762 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-doc-head-close.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/installer-doc-head-close.inc @@ -4,5 +4,6 @@ [% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") | $raw %] [% Asset.css("lib/bootstrap/bootstrap.min.css") | $raw %] +[% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %] [% Asset.css("css/installer.css") | $raw %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt index 2c6d5c6a59..45c56cf38c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt @@ -26,7 +26,17 @@ [% UNLESS ( language ) %]

Web installer › Choose your language

-

You are about to install Koha.

+ +
+
    +
  1. Choose your language
  2. +
  3. Check Perl dependencies
  4. +
  5. Database settings
  6. +
  7. Set up database
  8. +
  9. Install basic configuration settings
  10. +
  11. Onboarding
  12. +
+

Please pick your language from the following list. If your language is not listed, please inform your system administrator.

@@ -57,6 +67,18 @@ [% UNLESS ( checkmodule ) %] [% IF ( missing_modules ) %]

Web installer › Perl modules missing

+ +
+
    +
  1. Choose your language
  2. +
  3. Check Perl dependencies
  4. +
  5. Database settings
  6. +
  7. Set up database
  8. +
  9. Install basic configuration settings
  10. +
  11. Onboarding
  12. +
+
+

Some Perl modules are missing. Important: Required modules must be installed before you may continue.