Add notification center button and fix stat-card/activity board loading

This commit is contained in:
master3395
2026-01-19 17:37:47 +01:00
parent 2d6657a7c5
commit a17d856b76
3316 changed files with 723670 additions and 4579 deletions

View File

@@ -0,0 +1,15 @@
// Wait for Angular to be ready
angular.element(document).ready(function() {
// Ensure the CyberCP module exists
if (typeof angular.module('CyberCP') === 'undefined') {
console.error('CyberCP module not found!');
return;
}
// Bootstrap Angular manually if needed
var element = document.querySelector('[ng-controller="ListDockersitecontainer"]');
if (element && !angular.element(element).data('$scope')) {
console.log('Manually bootstrapping Angular for Docker container page');
angular.bootstrap(element, ['CyberCP']);
}
});