Initial commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<!doctype html>
|
||||
<html class="light" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ request.app.title }}</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=JetBrains+Mono:wght@450&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">
|
||||
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
||||
<script src="https://unpkg.com/htmx.org@1.9.12"></script>
|
||||
<script>
|
||||
window.adminPostHeaders = { "X-Requested-With": "XMLHttpRequest" };
|
||||
</script>
|
||||
<link rel="stylesheet" href="/static/app.css?v=9">
|
||||
</head>
|
||||
<body>
|
||||
<header class="dw-topbar">
|
||||
<div class="dw-topbar-inner">
|
||||
<div class="dw-brand-row">
|
||||
<a class="dw-brand" href="/">DMARC Sentinel</a>
|
||||
{% set path = request.url.path %}
|
||||
<nav class="dw-nav">
|
||||
<a class="dw-nav-link {{ 'is-active' if path == '/' else '' }}" href="/">Overview</a>
|
||||
<a class="dw-nav-link {{ 'is-active' if path.startswith('/alerts') else '' }}" href="/alerts">Alerts</a>
|
||||
<a class="dw-nav-link {{ 'is-active' if path.startswith('/inboxes') else '' }}" href="/inboxes">Inboxes</a>
|
||||
<a class="dw-nav-link {{ 'is-active' if path.startswith('/settings') else '' }}" href="/settings">Settings</a>
|
||||
</nav>
|
||||
</div>
|
||||
<nav class="dw-top-actions dw-mobile-actions">
|
||||
<a class="dw-icon-button" href="/settings" aria-label="Settings">
|
||||
<span class="material-symbols-outlined">settings</span>
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<main class="dw-main">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
<footer class="dw-footer">
|
||||
<div class="dw-footer-inner">
|
||||
<div class="dw-system-status">
|
||||
<span class="dw-status-dot"></span>
|
||||
<span>System Operational</span>
|
||||
</div>
|
||||
<div class="dw-footer-code">DMARC Sentinel</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user