Archived
31 lines
1.5 KiB
HTML
31 lines
1.5 KiB
HTML
<!doctype html>
|
|
<html lang="{{ language }}" data-theme="dark">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<meta name="robots" content="noindex,nofollow,noarchive,nosnippet">
|
|
<script>
|
|
(()=>{try{const saved=localStorage.getItem('wgtools.theme')||'dark';const actual=saved==='system'?(matchMedia('(prefers-color-scheme: light)').matches?'light':'dark'):saved;document.documentElement.dataset.theme=actual;}catch(_){}})();
|
|
</script>
|
|
<title>{{ branding.name or 'Panel' }}</title>
|
|
<link rel="icon" type="image/png" href="{{ branding.logo or (base_path ~ '/static/img/favicon.png?v=' ~ version ~ '&r=' ~ asset_rev) }}">
|
|
<link rel="apple-touch-icon" href="{{ branding.logo or (base_path ~ '/static/img/wgtools-logo.png?v=' ~ version ~ '&r=' ~ asset_rev) }}">
|
|
<link rel="stylesheet" href="{{ base_path }}/static/css/app.css?v={{ version }}&r={{ asset_rev }}">
|
|
<style>html[data-theme] { --accent: {{ branding.color }}; }</style>
|
|
</head>
|
|
<body class="auth-body" data-base-path="{{ base_path }}">
|
|
<header class="auth-topbar">
|
|
<div class="brand">
|
|
<img class="brand-mark brand-logo" src="{{ branding.logo or (base_path ~ '/static/img/wgtools-logo.png?v=' ~ version ~ '&r=' ~ asset_rev) }}" alt="">
|
|
<div>
|
|
<div class="brand-title">{{ branding.name }}</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<main class="auth-shell">
|
|
{% block auth_content %}{% endblock %}
|
|
</main>
|
|
<script src="{{ base_path }}/static/js/auth.js?v={{ version }}&r={{ asset_rev }}"></script>
|
|
</body>
|
|
</html>
|