From 3078d0c3920f41f05a1e0511b9b09542d263aba3 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 1 Mar 2021 15:43:31 +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. --- koha-tmpl/intranet-tmpl/prog/css/installer.css | 25 ++++++ .../prog/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 ++++++++++++++++++++++ .../prog/en/modules/onboarding/onboardingstep1.tt | 15 ++++ .../prog/en/modules/onboarding/onboardingstep2.tt | 15 ++++ .../prog/en/modules/onboarding/onboardingstep3.tt | 15 ++++ .../prog/en/modules/onboarding/onboardingstep4.tt | 15 ++++ .../prog/en/modules/onboarding/onboardingstep5.tt | 23 ++++++ 10 files changed, 273 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/installer.css b/koha-tmpl/intranet-tmpl/prog/css/installer.css index 7d5d3d9fb7..1d51f278dc 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/installer.css +++ b/koha-tmpl/intranet-tmpl/prog/css/installer.css @@ -241,3 +241,28 @@ span.breadcrumbs { .deselectall.optional { display: none; } + #steps { + border: 1px solid #EEE; + border-radius: 5px; + padding: 1em; + margin: 1em 0; + } + + #steps 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 d314036b99..a75f5a03ac 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.