2026-03-01 23:03:18 -05:00
|
|
|
<!DOCTYPE html>
|
2026-04-18 21:01:20 -04:00
|
|
|
<html lang="en" data-theme="dark">
|
2026-03-01 23:03:18 -05:00
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2026-04-18 21:01:20 -04:00
|
|
|
<meta name="theme-color" content="#030508">
|
2026-03-01 23:03:18 -05:00
|
|
|
<title>{% block title %}GANDALF{% endblock %}</title>
|
2026-04-18 21:01:20 -04:00
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,600;0,700;1,400&display=swap" rel="stylesheet">
|
2026-03-14 21:40:20 -04:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='base.css') }}">
|
2026-03-01 23:03:18 -05:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2026-04-18 21:01:20 -04:00
|
|
|
|
2026-03-14 21:40:20 -04:00
|
|
|
<div id="lt-boot" class="lt-boot-overlay" data-app-name="GANDALF" style="display:none">
|
|
|
|
|
<pre id="lt-boot-text" class="lt-boot-text"></pre>
|
|
|
|
|
</div>
|
2026-04-18 21:01:20 -04:00
|
|
|
|
|
|
|
|
<header class="lt-header">
|
|
|
|
|
<div class="lt-header-left">
|
|
|
|
|
<div class="lt-brand">
|
|
|
|
|
<a href="{{ url_for('index') }}" class="lt-brand-title" style="text-decoration:none">GANDALF</a>
|
|
|
|
|
<span class="lt-brand-subtitle">Network Monitor // LotusGuild</span>
|
2026-03-02 12:43:11 -05:00
|
|
|
</div>
|
2026-04-18 21:01:20 -04:00
|
|
|
<nav class="lt-nav" aria-label="Main navigation">
|
2026-03-02 12:43:11 -05:00
|
|
|
<a href="{{ url_for('index') }}"
|
2026-04-18 21:01:20 -04:00
|
|
|
class="lt-nav-link {% if request.endpoint == 'index' %}active{% endif %}">
|
2026-03-02 12:43:11 -05:00
|
|
|
Dashboard
|
|
|
|
|
</a>
|
|
|
|
|
<a href="{{ url_for('links_page') }}"
|
2026-04-18 21:01:20 -04:00
|
|
|
class="lt-nav-link {% if request.endpoint == 'links_page' %}active{% endif %}">
|
2026-03-02 12:43:11 -05:00
|
|
|
Link Debug
|
|
|
|
|
</a>
|
2026-03-03 15:39:48 -05:00
|
|
|
<a href="{{ url_for('inspector') }}"
|
2026-04-18 21:01:20 -04:00
|
|
|
class="lt-nav-link {% if request.endpoint == 'inspector' %}active{% endif %}">
|
2026-03-03 15:39:48 -05:00
|
|
|
Inspector
|
|
|
|
|
</a>
|
2026-03-02 12:43:11 -05:00
|
|
|
<a href="{{ url_for('suppressions_page') }}"
|
2026-04-18 21:01:20 -04:00
|
|
|
class="lt-nav-link {% if request.endpoint == 'suppressions_page' %}active{% endif %}">
|
2026-03-02 12:43:11 -05:00
|
|
|
Suppressions
|
|
|
|
|
</a>
|
|
|
|
|
</nav>
|
2026-03-01 23:03:18 -05:00
|
|
|
</div>
|
2026-04-18 21:01:20 -04:00
|
|
|
<div class="lt-header-right">
|
|
|
|
|
<span class="lt-header-user">{{ user.name or user.username }}</span>
|
2026-03-01 23:03:18 -05:00
|
|
|
</div>
|
2026-03-02 12:43:11 -05:00
|
|
|
</header>
|
2026-03-01 23:03:18 -05:00
|
|
|
|
2026-04-18 21:01:20 -04:00
|
|
|
<main class="lt-main lt-container">
|
2026-03-01 23:03:18 -05:00
|
|
|
{% block content %}{% endblock %}
|
|
|
|
|
</main>
|
|
|
|
|
|
2026-03-14 14:31:57 -04:00
|
|
|
<script>
|
|
|
|
|
const GANDALF_CONFIG = {
|
|
|
|
|
ticket_web_url: "{{ config.get('ticket_api', {}).get('web_url', 'http://t.lotusguild.org/ticket/') }}"
|
|
|
|
|
};
|
|
|
|
|
</script>
|
2026-03-14 21:40:20 -04:00
|
|
|
<script src="{{ url_for('static', filename='base.js') }}"></script>
|
2026-04-18 21:01:20 -04:00
|
|
|
<script>
|
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
|
lt.init({ bootName: 'GANDALF' });
|
|
|
|
|
});
|
|
|
|
|
</script>
|
2026-03-01 23:03:18 -05:00
|
|
|
<script src="{{ url_for('static', filename='app.js') }}"></script>
|
|
|
|
|
{% block scripts %}{% endblock %}
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|