Wire global navbar across pages

This commit is contained in:
Smittix
2026-02-04 00:37:41 +00:00
parent d658d0b81e
commit 83dd58721f
8 changed files with 334 additions and 443 deletions

View File

@@ -5,8 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Network Monitor // INTERCEPT</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ url_for('static', filename='css/responsive.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/agents.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/responsive.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/agents.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/global-nav.css') }}">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
@@ -508,17 +509,14 @@
</style>
</head>
<body>
<header class="header">
<div class="logo">
NETWORK MONITOR
<span>// MULTI-AGENT VIEW</span>
</div>
<nav class="header-nav">
<a href="#" onclick="history.back(); return false;">Back</a>
<a href="/">Dashboard</a>
<a href="/controller/manage">Manage Agents</a>
</nav>
</header>
<header class="header">
<div class="logo">
NETWORK MONITOR
<span>// MULTI-AGENT VIEW</span>
</div>
</header>
{% include 'partials/nav.html' with context %}
<div class="status-bar">
<div class="status-item">
@@ -1102,5 +1100,6 @@
connectStream();
addLogEntry('system', 'Network Monitor initialized');
</script>
</body>
<script src="{{ url_for('static', filename='js/core/global-nav.js') }}"></script>
</body>
</html>