diff --git a/root/usr/share/smanager/themes/default/public/css/new_sme.css b/root/usr/share/smanager/themes/default/public/css/new_sme.css
index 4b9c602..a0e8291 100644
--- a/root/usr/share/smanager/themes/default/public/css/new_sme.css
+++ b/root/usr/share/smanager/themes/default/public/css/new_sme.css
@@ -280,4 +280,14 @@ background-color: #e8f3e1;
/* Or specify the desired color */
text-decoration: none;
/* Or any other style you want to reset */
+}
+
+#busy-indicator {
+ display: none;
+ margin-top: 10px;
+ font-weight: bold;
+ color: red;
+}
+.busy {
+ cursor: wait; /* Change the cursor to a 'wait' cursor */
}
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/default/public/js/sme-password.js b/root/usr/share/smanager/themes/default/public/js/sme-password.js
index cb312b2..b5c7694 100644
--- a/root/usr/share/smanager/themes/default/public/js/sme-password.js
+++ b/root/usr/share/smanager/themes/default/public/js/sme-password.js
@@ -28,4 +28,16 @@ $(document).ready(function() {
var iconSrc = inputType === 'password' ? 'images/visible.png' : 'images/visible-slash.png';
$(this).attr('src', iconSrc);
});
+});
+
+// and busy cursor
+$(document).ready(function() {
+ // Handle form submission for any form
+ $('form').on('submit', function(event) {
+ // Disable all submit buttons and update their labels
+ $(this).find('button[type="submit"]').prop('disabled', true).text('Please wait...');
+ $(this).find('input[type="submit"]').prop('disabled', true).val('Please wait...');
+ // Add busy cursor
+ $('body').addClass('busy');
+ });
});
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/default/templates/layouts/default.html.ep b/root/usr/share/smanager/themes/default/templates/layouts/default.html.ep
index 2d3df64..0b1293d 100644
--- a/root/usr/share/smanager/themes/default/templates/layouts/default.html.ep
+++ b/root/usr/share/smanager/themes/default/templates/layouts/default.html.ep
@@ -32,19 +32,7 @@
%= stylesheet '/css/sme-jquery-overrides.css'
-
-
-
+
%# panel specific css file
% my $controller = stash('controller');
% if ($controller) {
@@ -112,19 +100,6 @@
%= javascript '/js/sme-dataTable-setup.js'
-
-
%# Specific panel js code
% $controller = stash('controller');
% if ($controller) {
diff --git a/smeserver-manager.spec b/smeserver-manager.spec
index 51e2939..42d36c0 100644
--- a/smeserver-manager.spec
+++ b/smeserver-manager.spec
@@ -2,7 +2,7 @@ Summary: Sme server navigation module : manager 2
%define name smeserver-manager
Name: %{name}
%define version 11.0.0
-%define release 100
+%define release 101
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@@ -146,6 +146,9 @@ true
%defattr(-,root,root)
%changelog
+* Wed Jul 02 2025 Brian Read 11.0.0-101.sme
+- Fix busy cursor, csp intervened. [SME: 13064]
+
* Tue Jul 01 2025 Brian Read 11.0.0-100.sme
- Add code in top template default.html.ep to incorporate any panel specific js and css [SME: 13062]