34 lines
1.4 KiB
HTML
34 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>服务罗盘</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='logo.png') }}">
|
|
</head>
|
|
<body>
|
|
{% block header %}
|
|
<header>
|
|
<div class="logo">
|
|
<img src="{{ url_for('static', filename='logo.png') }}" alt="" style="height: 45px; margin-right: 15px;">
|
|
服务罗盘
|
|
</div>
|
|
<div class="header-actions">
|
|
<div class="theme-toggle-dots">
|
|
<button class="theme-dot active" onclick="setTheme('dark')" data-value="dark" title="暗色">🌙</button>
|
|
<button class="theme-dot" onclick="setTheme('light')" data-value="light" title="亮色">☀️</button>
|
|
<button class="theme-dot" onclick="setTheme('system')" data-value="system" title="跟随系统">💻</button>
|
|
</div>
|
|
<button class="user-avatar" onclick="window.location.href='{{ url_for('profile') }}'" title="账户设置">👨💻</button>
|
|
</div>
|
|
</header>
|
|
{% endblock %}
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
<script src="{{ url_for('static', filename='theme.js') }}"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|