noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 66/86: Cosmetic , missing bcscale and code cl


From: dwm
Subject: [Noalyss-commit] [noalyss] 66/86: Cosmetic , missing bcscale and code cleaning
Date: Thu, 19 Sep 2024 02:42:01 -0400 (EDT)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit c6d161cec9869e74f2e78a06677816d53884bc53
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Sep 14 12:34:52 2024 +0200

    Cosmetic , missing bcscale and code cleaning
---
 html/css/style-classic7.css               | 16 +++++++++-------
 include/class/extension.class.php         | 14 +++++++++++++-
 include/template/ledger_detail_bottom.php |  1 +
 3 files changed, 23 insertions(+), 8 deletions(-)

diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css
index f3b19a089..ed70dd176 100644
--- a/html/css/style-classic7.css
+++ b/html/css/style-classic7.css
@@ -1306,9 +1306,10 @@ div#wait_box
     left:30%;
     top:30%;
     border:1px solid #00008B;
-    width: 260px;
+    width:18%;
     opacity: 0.8;
     border-radius: 20px;
+    min-width:281px;
 }
 #wait_box h2
 {
@@ -3502,6 +3503,7 @@ li.li-active {
      padding: 0.5rem;
      color:navy !important;
      text-decoration: underline;
+     border-radius: 7px;
  }
 
  .hoverclass-drag {
@@ -3513,14 +3515,14 @@ li.li-active {
   * User's widget list
   *
   
*********************************************************************************************************************/
+
  #widget_box_id {
-     #widget_box_id {
-         width: 100%;
-         margin-left: 0px;
-         margin-right: 0px;
-     }
+     width: 100%;
+     margin-left: 0px;
+     margin-right: 0px;
  }
 
+
  #contain_widget  li {
      padding : 0.75rem;
      margin:2px;
@@ -3636,4 +3638,4 @@ div.widget-full_size {
      60% {transform:rotateY(-90deg);}
  }
 
- div.row.odd.hover:hover,div.row.even.hover:hover   {      background-color: 
var(--hover) !important;    }
\ No newline at end of file
+ div.row.odd.hover:hover,div.row.even.hover:hover   {      background-color: 
var(--hover) !important;    }
diff --git a/include/class/extension.class.php 
b/include/class/extension.class.php
index 9ce8ef532..24f28425c 100644
--- a/include/class/extension.class.php
+++ b/include/class/extension.class.php
@@ -52,7 +52,15 @@ class Extension extends Menu_Ref_sql
                 'MODOP','RAPAV','SAV',
                 'TOOLPCMN','TOOLS','TRANSFORM',
                 'TVA');
-    
+
+    /**************************************************************************
+     * Variables from plugin.xml
+     *************************************************************************/
+    var $version; //<! version of the plugin in the XML
+    var $noalyss_version; //!< minimum version of NOALYSS for this plugin
+    var $order ; //!< $order in the menu (can be override by config menu)
+    var $depend; //!< default depending menu (can be override by config menu)
+
     public function verify()
     {
         // Verify that the elt we want to add is correct
@@ -436,6 +444,10 @@ class Extension extends Menu_Ref_sql
         $r .= "  me_javascript" . $this->me_javascript.PHP_EOL;
         $r .= "  me_type" . $this->me_type.PHP_EOL;
         $r .= "  me_descrition_etendue" . 
$this->me_description_etendue.PHP_EOL;
+        $r .= "  noalyss_version " . $this->noalyss_version.PHP_EOL;
+        $r .= "  version " . $this->version.PHP_EOL;
+        $r .= "  order " . $this->order.PHP_EOL;
+        $r .= "  depend " . $this->depend.PHP_EOL;
         return "Extension $r";
     }
 
diff --git a/include/template/ledger_detail_bottom.php 
b/include/template/ledger_detail_bottom.php
index fcb7671a7..939c3c3de 100644
--- a/include/template/ledger_detail_bottom.php
+++ b/include/template/ledger_detail_bottom.php
@@ -11,6 +11,7 @@
  * Variables : $div = popup or box (det[0-9]
  * 
  */
+bcscale(2);
 \Noalyss\Dbg::echo_file(__FILE__);
 $select_box=new \Select_Box("sb_".$jr_id, _("Autre action"));
 $select_box->set_position("normal");



reply via email to

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