noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/14: Tache 0001743: Une couleur par dossier


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/14: Tache 0001743: Une couleur par dossier , ajout title boite dialogue
Date: Mon, 22 Aug 2022 12:21:53 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit dfefdacac4879aeeeb302ab78650deb8d90c28df
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Aug 15 10:28:27 2022 +0200

    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(-)

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 <<<EOF
     <style>
@@ -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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]