+
\ No newline at end of file
diff --git a/front/appEventsCore.php b/front/appEventsCore.php
index 47febbbec..06ab52f79 100755
--- a/front/appEventsCore.php
+++ b/front/appEventsCore.php
@@ -1,21 +1,21 @@
+
-
-
+
+
+
-
-
diff --git a/front/deviceDetailsEvents.php b/front/deviceDetailsEvents.php
index 184e2d32a..1791d259a 100755
--- a/front/deviceDetailsEvents.php
+++ b/front/deviceDetailsEvents.php
@@ -203,7 +203,7 @@ function deviceEventsPageUpdater() {
// -----------------------------------------------------------------------------
function hideEventsTabSkeleton() {
- $('#skel-tab-events').fadeOut(250, function() { $(this).remove(); });
+ $('#skel-tab-events').fadeOut(50, function() { $(this).remove(); });
}
\ No newline at end of file
diff --git a/front/deviceDetailsPresence.php b/front/deviceDetailsPresence.php
index 70f0e1f89..e70966062 100755
--- a/front/deviceDetailsPresence.php
+++ b/front/deviceDetailsPresence.php
@@ -212,7 +212,7 @@ function devicePresencePageUpdater() {
// -----------------------------------------------------------------------------
function hidePresenceTabSkeleton() {
- $('#skel-tab-presence').fadeOut(250, function() { $(this).remove(); });
+ $('#skel-tab-presence').fadeOut(50, function() { $(this).remove(); });
}
diff --git a/front/deviceDetailsSessions.php b/front/deviceDetailsSessions.php
index 856f6e9b3..450447dbc 100755
--- a/front/deviceDetailsSessions.php
+++ b/front/deviceDetailsSessions.php
@@ -179,7 +179,7 @@ function deviceSessionsPageUpdater() {
// -----------------------------------------------------------------------------
function hideSessionsTabSkeleton() {
- $('#skel-tab-sessions').fadeOut(250, function() { $(this).remove(); });
+ $('#skel-tab-sessions').fadeOut(50, function() { $(this).remove(); });
}
\ No newline at end of file
diff --git a/front/devices.php b/front/devices.php
index 784c781f3..79f5ff58e 100755
--- a/front/devices.php
+++ b/front/devices.php
@@ -185,7 +185,7 @@
// -----------------------------------------------------------------------------
function hideDevicesSkeleton() {
- $('#devices-skeleton').fadeOut(250, function() { $(this).remove(); });
+ $('#devices-skeleton').fadeOut(50, function() { $(this).remove(); });
}
// Fallback: ensure skeleton is removed even if DataTable fails to initialize
diff --git a/front/events.php b/front/events.php
index 72eac8e2f..6a856bae7 100755
--- a/front/events.php
+++ b/front/events.php
@@ -6,7 +6,7 @@
showSpinner(); // Show initial page loading spinner
-
+
-
+
| = lang('Events_TableHead_Order'); ?> |
@@ -258,7 +258,7 @@ function getEvents(type) {
}
function hideEventsSkeleton() {
- $('#events-skeleton').fadeOut(250, function () { $(this).remove(); });
+ $('#events-skeleton').fadeOut(50, function () { $(this).remove(); });
}
window.addEventListener('load', function () {
diff --git a/front/js/common.js b/front/js/common.js
index 7c0762d3e..c0df14b32 100755
--- a/front/js/common.js
+++ b/front/js/common.js
@@ -954,6 +954,21 @@ function getGuid() {
let spinnerTimeout = null;
let animationTime = 300
+// show spinner on all clicks
+$(document).on('click', 'a', function (e) {
+ const href = this.href;
+
+ if (
+ href &&
+ this.target !== '_blank' &&
+ !this.hasAttribute('download') &&
+ this.origin === location.origin &&
+ this.pathname + this.search !== location.pathname + location.search
+ ) {
+ showSpinner();
+ }
+});
+
function showSpinner(stringKey = 'Loading') {
let text = isEmpty(stringKey) ? "Loading..." : getString(stringKey || "Loading");
diff --git a/front/maintenance.php b/front/maintenance.php
index d401ecf8c..f99ea6fb1 100755
--- a/front/maintenance.php
+++ b/front/maintenance.php
@@ -878,10 +878,10 @@ function renderLogs(customData) {
-