noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 09/09: Cosmetic : loading of widget


From: dwm
Subject: [Noalyss-commit] [noalyss] 09/09: Cosmetic : loading of widget
Date: Mon, 19 Aug 2024 15:03:11 -0400 (EDT)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit ffa6cb848db7e8e6df4af3d583c495df37a87c0f
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Aug 19 21:02:42 2024 +0200

    Cosmetic : loading of widget
---
 include/widget/widget.php | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/include/widget/widget.php b/include/widget/widget.php
index c70da92d4..14a6ba43d 100644
--- a/include/widget/widget.php
+++ b/include/widget/widget.php
@@ -169,16 +169,19 @@ where use_login=$1 order by uw.uw_order
     static function ajax_display(Widget $widget ){
         $box= sprintf( 
'%s_%s',$widget->get_widget_code(),$widget->get_user_widget_id());
         $widget->open_div();
+        echo h2(_("Un instant, on charge :-)"),' class="title" ');
 
+
+        print '<div style="display:flex;justify-content: flex-start">';
+        print '<div style="margin-top: 50px;margin-left: 20px;">';
         print '<div class="loading_msg"></div>';
         print '<div class="loading_msg"></div>';
         print '<div class="loading_msg"></div>';
         print '<div class="loading_msg"></div>';
         print '<div class="loading_msg"></div>';
-        print '<div class="loading_msg"></div>';
-        print '<div class="loading_msg"></div>';
-        print '<div class="loading_msg"></div>';
-        echo p(_("Un instant, on charge :-)"));
+        print '</div>';
+        print '</div>';
+
         $widget->close_div();
 
         $dossier_id=\Dossier::id();



reply via email to

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