From 3d1b29bfecf046f4e657288352bd50fb5ca06bc8 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Mon, 2 Jun 2025 22:00:48 +0500 Subject: [PATCH] ssh logs --- .../static/baseTemplate/custom-js/system-status.js | 5 +++++ baseTemplate/templates/baseTemplate/homePage.html | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/baseTemplate/static/baseTemplate/custom-js/system-status.js b/baseTemplate/static/baseTemplate/custom-js/system-status.js index 39d352c33..739be30ac 100644 --- a/baseTemplate/static/baseTemplate/custom-js/system-status.js +++ b/baseTemplate/static/baseTemplate/custom-js/system-status.js @@ -869,6 +869,10 @@ app.controller('OnboardingCP', function ($scope, $http, $timeout, $window) { }); app.controller('dashboardStatsController', function ($scope, $http, $timeout) { + // Defensive: force modal hidden on load + $scope.showSessionModal = false; + $timeout(function() { $scope.showSessionModal = false; }, 200); + // Card values $scope.totalSites = 0; $scope.totalWPSites = 0; @@ -1245,5 +1249,6 @@ app.controller('dashboardStatsController', function ($scope, $http, $timeout) { $scope.sessionProcesses = ''; $scope.sessionLoading = false; $scope.sessionError = ''; + $timeout(function() { $scope.showSessionModal = false; }, 200); }; }); \ No newline at end of file diff --git a/baseTemplate/templates/baseTemplate/homePage.html b/baseTemplate/templates/baseTemplate/homePage.html index 76c3c4a09..a2bc6e214 100755 --- a/baseTemplate/templates/baseTemplate/homePage.html +++ b/baseTemplate/templates/baseTemplate/homePage.html @@ -1054,6 +1054,15 @@ pointer-events: auto; z-index: 9999; } + + [ng-cloak] { display: none !important; } + .modal.fade[ng-show] { + display: block !important; + opacity: 1; + pointer-events: auto; + z-index: 9999; + transition: opacity 0.2s; + } @@ -1112,7 +1121,7 @@ -