noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 18/19: cosmetic


From: dwm
Subject: [Noalyss-commit] [noalyss] 18/19: cosmetic
Date: Sat, 31 Aug 2024 17:46:31 -0400 (EDT)

sparkyx pushed a commit to branch pre-stable
in repository noalyss.

commit 1308c2351d492c8354d19c10bc4048450ddc47cb
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Aug 28 21:08:49 2024 +0200

    cosmetic
---
 html/css/style-classic7.css | 2 +-
 html/js/noalyss_script.js   | 5 ++++-
 html/js/todo_list.js        | 2 +-
 include/template/module.php | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css
index 46094c139..bc315848e 100644
--- a/html/css/style-classic7.css
+++ b/html/css/style-classic7.css
@@ -3581,7 +3581,7 @@ span.widget-name {
  widget full size
   */
 div.widget-full_size {
- z-index: 5;
+ z-index: 1;
  position: fixed;
  top: 5px;
  width: 96%;
diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js
index 9f57061fb..0a4b403a6 100644
--- a/html/js/noalyss_script.js
+++ b/html/js/noalyss_script.js
@@ -2117,7 +2117,7 @@ function view_action(ag_id, dossier, modify) {
                     }
                     var code_html = getNodeText(html[0]);
                     code_html = unescape_xml(code_html);
-                    var pos = fixed_position(0, 50) + ";width:90%;left:5%;";
+                    var pos = fixed_position(0, 50) + 
";width:90%;left:5%;z-index:"+layer;
                     add_div({
                         id: id,
                         cssclass: "inner_box",
@@ -4630,6 +4630,9 @@ Widget.prototype.toggle_full_size=function (widget_domid) 
{
         $(widget_domid).removeClassName('widget-full_size');
     } else {
         $(widget_domid).addClassName('widget-full_size');
+
+        layer++;
+        $(widget_domid).style.zIndex=layer;
     }
 
 }
\ No newline at end of file
diff --git a/html/js/todo_list.js b/html/js/todo_list.js
index 0db70f25e..45c701433 100644
--- a/html/js/todo_list.js
+++ b/html/js/todo_list.js
@@ -187,7 +187,7 @@ function zoom_todo ()
     {
         var clonetodo=$('todo_list').clone();
         clonetodo.setAttribute('id','clone_todo_list')
-        
clonetodo.setStyle({'z-index':1,'position':'absolute','width':'95%','height':'95%','top':'2%','right':'2%','left':'2%'})
+        
clonetodo.setStyle({'z-index':1,'position':'fixed','width':'95%','height':'95%','top':'2%','right':'2%','left':'2%'})
         clonetodo.innerHTML=$('todo_list').innerHTML;
         $('todo_list').innerHTML="";
         clonetodo.addClassName('inner_box');
diff --git a/include/template/module.php b/include/template/module.php
index b7d65e490..0e045287a 100644
--- a/include/template/module.php
+++ b/include/template/module.php
@@ -65,12 +65,13 @@ if ( $cn->get_value("select count(*) from profile join 
profile_user using (p_id)
 
                        $direct=new IText('ac');
                        $direct->style='class="input_text"';
+            $direct->placeholder=_('Accès direct ou menu');
                        $direct->value='';
                        $direct->size=20;
                        echo $direct->input();
                        $gDossier=dossier::id();
                        ?>
-               <div id="ac_choices" class="autocomplete" 
style="width:150"></div>
+               <div id="ac_choices" class="autocomplete" 
style="width:150px"></div>
                <?php 
                        echo HtmlInput::submit('go',_('Aller'));
                        ?>



reply via email to

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