From fcb62c09deeaac1b3097383e9b097a0d03675bf2 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 18 Jan 2025 19:37:18 +0100 Subject: [PATCH] Cosmetic : highlight message after upgrade --- html/css/style-classic7.css | 20 ++++++++++++++++++++ include/ajax/ajax_admin.php | 3 ++- include/upgrade-core.php | 10 ++++++---- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css index f58efc19b..db672413e 100644 --- a/html/css/style-classic7.css +++ b/html/css/style-classic7.css @@ -3895,3 +3895,23 @@ h2.h-section { .nav-level3 .nav-link.active::after { background-color:yellow; } + + /** + * Info after UpgradeCore + */ + #info_admin { + font-size:140%; + text-align: center; + background-color: red; + display:block; + position:fixed; + top:15rem; + left:15%; + width: 70%; + padding:2.5em; + border-radius:0.5em; + scale:1.1; + color: ghostwhite; + opacity: 0.9; + + } \ No newline at end of file diff --git a/include/ajax/ajax_admin.php b/include/ajax/ajax_admin.php index da1165fdf..d4bf4396d 100644 --- a/include/ajax/ajax_admin.php +++ b/include/ajax/ajax_admin.php @@ -388,9 +388,10 @@ if ($op=='upgradeCore') $progress->set_value(100); $url=sprintf(' install.php', NOALYSS_URL."/install.php"); - printf(_("Afin de terminer l'installation aller sur %s , à la fin de la procédure , demandez à effacer le fichier install.php"), + printf(_("Afin de terminer l'installation, aller sur %s. A la fin de la procédure de mise à jour, demander à effacer le fichier install.php"), $url); } catch (Exception $ex ) { + record_log($ex); echo '

'; echo $ex->getMessage(); echo '

'; diff --git a/include/upgrade-core.php b/include/upgrade-core.php index b9f4cab79..c08579d95 100644 --- a/include/upgrade-core.php +++ b/include/upgrade-core.php @@ -59,16 +59,18 @@ $js="onclick='UpgradeCore()'"; echo HtmlInput::button("upgrade",_("Mise à jour de votre système"),$js); ?> -
- -
+