From dfefdacac4879aeeeb302ab78650deb8d90c28df Mon Sep 17 00:00:00 2001 From: sparkyx Date: Mon, 15 Aug 2022 10:28:27 +0200 Subject: [PATCH] Tache 0001743: Une couleur par dossier , ajout title boite dialogue --- include/class/noalyss_appearance.class.php | 8 +++++++- include/constant.php | 2 +- include/sql/patch/upgrade175.sql | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 include/sql/patch/upgrade175.sql diff --git a/include/class/noalyss_appearance.class.php b/include/class/noalyss_appearance.class.php index 959d20975..82d7a0e0a 100644 --- a/include/class/noalyss_appearance.class.php +++ b/include/class/noalyss_appearance.class.php @@ -39,6 +39,7 @@ class Noalyss_Appearance 'TR-ODD'=>'#DCE7F5', 'TR-EVEN'=>'#e4e7ed', 'INNER-BOX'=>'#DCE1EF', + 'INNER-BOX-TITLE'=>'#023575', 'FONT-MENU1' => '#ffffff', 'FONT-MENU2' => '#ffffff', 'FONT-TABLE' => '#222bd0', @@ -59,6 +60,7 @@ class Noalyss_Appearance 'TR-ODD'=>_("Ligne impaire"), 'TR-EVEN'=>_("Ligne paire"), 'INNER-BOX'=>_("Fond BoƮte dialogue"), + 'INNER-BOX-TITLE'=>_("Fond titre dialogue"), 'FOLDER' => _("Couleur dossier"), 'FONT-MENU1' => _("Couleur police menu principale"), 'FONT-MENU2' => _("Couleur police menu second"), @@ -119,6 +121,7 @@ class Noalyss_Appearance $tr_odd=$this->aColor['TR-ODD']; $tr_even=$this->aColor['TR-EVEN']; $inner_box=$this->aColor['INNER-BOX']; + $inner_box_title=$this->aColor['INNER-BOX-TITLE']; echo << @@ -131,7 +134,10 @@ class Noalyss_Appearance color:{$font_default} !important; } h2 , hr { - background-color: {$h2} !important; + background-color: {$h2} ; + } + h2.title { + background-color: {$inner_box_title} ; } .nav-fill .nav-item { background: {$menu1}; diff --git a/include/constant.php b/include/constant.php index 962fe2675..c84ad6a07 100644 --- a/include/constant.php +++ b/include/constant.php @@ -115,7 +115,7 @@ if (!defined("NOALYSS_PACKAGE_REPOSITORY")) { if (!defined("SYSINFO_DISPLAY")) { define("SYSINFO_DISPLAY", TRUE); } -define("DBVERSION", 174); +define("DBVERSION", 176); define("MONO_DATABASE", 25); define("DBVERSIONREPO", 20); define('NOTFOUND', '--not found--'); diff --git a/include/sql/patch/upgrade175.sql b/include/sql/patch/upgrade175.sql new file mode 100644 index 000000000..df0fc20a6 --- /dev/null +++ b/include/sql/patch/upgrade175.sql @@ -0,0 +1,4 @@ +begin; +insert into parm_appearance values ('INNER-BOX-TITLE' , '#023575'); +insert into version (val,v_description) values (176,'Folder Appearance : dialog box'); +commit;