46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>{% block title %}Intrusion Detection{% endblock %}</title>
|
|
<link
|
|
rel="stylesheet"
|
|
href="{{ url_for('static', filename='style.css') }}"
|
|
/>
|
|
</head>
|
|
<body>
|
|
<header class="topbar">
|
|
<div class="brand">🛡 Intrusion Detection</div>
|
|
<nav>
|
|
<a href="/" class="{{ 'active' if request.path == '/' }}">Dashboard</a>
|
|
<a href="/scan" class="{{ 'active' if request.path == '/scan' }}"
|
|
>Scan</a
|
|
>
|
|
<a href="/reports" class="{{ 'active' if request.path == '/reports' }}"
|
|
>Reports</a
|
|
>
|
|
<a
|
|
href="/blocklist"
|
|
class="{{ 'active' if request.path == '/blocklist' }}"
|
|
>Blocklist</a
|
|
>
|
|
<a
|
|
href="/firewall"
|
|
class="{{ 'active' if request.path == '/firewall' }}"
|
|
>Firewall</a
|
|
>
|
|
<a
|
|
href="/whitelist"
|
|
class="{{ 'active' if request.path == '/whitelist' }}"
|
|
>Whitelist</a
|
|
>
|
|
</nav>
|
|
</header>
|
|
<main class="container">{% block content %}{% endblock %}</main>
|
|
<div id="toasts"></div>
|
|
<script src="{{ url_for('static', filename='app.js') }}"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|