This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>NFOGuard - Database Management</title>
|
<title>NFOGuard - Database Management</title>
|
||||||
<link rel="stylesheet" href="/static/css/styles.css?v=2.10.0-skipped-tracking-fix">
|
<link rel="stylesheet" href="/static/css/styles.css?v=2.10.0-skipped-tracking-fix2">
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<header class="app-header">
|
<header class="app-header">
|
||||||
<div class="header-content">
|
<div class="header-content">
|
||||||
<h1><i class="fas fa-shield-alt"></i> NFOGuard <span style="font-size: 0.5em; color: #888;">v2.10.0-skipped-tracking-fix</span></h1>
|
<h1><i class="fas fa-shield-alt"></i> NFOGuard <span style="font-size: 0.5em; color: #888;">v2.10.0-skipped-tracking-fix2</span></h1>
|
||||||
<p>Database Management & Reporting</p>
|
<p>Database Management & Reporting</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="auth-status" id="auth-status" style="display: none;">
|
<div class="auth-status" id="auth-status" style="display: none;">
|
||||||
@@ -723,6 +723,6 @@
|
|||||||
<!-- Toast Notifications -->
|
<!-- Toast Notifications -->
|
||||||
<div class="toast-container" id="toast-container"></div>
|
<div class="toast-container" id="toast-container"></div>
|
||||||
|
|
||||||
<script src="/static/js/app.js?v=2.10.0-skipped-tracking-fix">
|
<script src="/static/js/app.js?v=2.10.0-skipped-tracking-fix2"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -8,11 +8,35 @@ let dashboardData = null;
|
|||||||
|
|
||||||
// Initialize app
|
// Initialize app
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
try {
|
||||||
initializeTabs();
|
initializeTabs();
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Error initializing tabs:', error);
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
initializeEventListeners();
|
initializeEventListeners();
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Error initializing event listeners:', error);
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
checkAuthStatus(); // Check authentication status on page load
|
checkAuthStatus(); // Check authentication status on page load
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Error checking auth status:', error);
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
loadDashboard();
|
loadDashboard();
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Error loading dashboard:', error);
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
loadSeriesSources();
|
loadSeriesSources();
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Error loading series sources:', error);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Tab management
|
// Tab management
|
||||||
|
|||||||
Reference in New Issue
Block a user