details:   https://code.tryton.org/tryton/commit/44c115277c05
branch:    default
user:      Cédric Krier <[email protected]>
date:      Fri Aug 22 00:13:56 2025 +0200
description:
        Use an alert for processing notification
diffstat:

 sao/src/common.js |  6 +++---
 sao/src/sao.less  |  3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r df3b0873bbfe -r 44c115277c05 sao/src/common.js
--- a/sao/src/common.js Wed Aug 20 14:01:18 2025 +0200
+++ b/sao/src/common.js Fri Aug 22 00:13:56 2025 +0200
@@ -3666,10 +3666,10 @@
         init: function() {
             this.el = jQuery('<div/>', {
                 'id': 'processing',
-                'class': 'text-center'
+                'class': 'alert alert-info',
+                'role': 'alert',
             });
-            var label = jQuery('<span/>', {
-                'class': 'label label-info',
+            var label = jQuery('<p/>', {
                 'text': Sao.i18n.gettext('Processing'),
             }).appendTo(this.el);
             for (var i = 0; i < 3; i ++) {
diff -r df3b0873bbfe -r 44c115277c05 sao/src/sao.less
--- a/sao/src/sao.less  Wed Aug 20 14:01:18 2025 +0200
+++ b/sao/src/sao.less  Fri Aug 22 00:13:56 2025 +0200
@@ -1624,9 +1624,10 @@
 }
 
 #processing {
+    left: 50%;
     position: fixed;
     top: 0px;
-    width: 100%;
+    transform: translate(-50%, 0);
     z-index: 2000;
 
     .dot {

Reply via email to