-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-dev.html
More file actions
55 lines (47 loc) · 1.8 KB
/
index-dev.html
File metadata and controls
55 lines (47 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="zh-CN" data-theme="light">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>DevOps Dashboard</title>
<!-- 引入样式文件 -->
<link rel="stylesheet" href="./style/style.css">
</head>
<body>
<!-- 导航栏 -->
<div class="nav">
<!-- 手机端汉堡按钮 -->
<button class="hamburger-btn" onclick="app.toggleMenu()">☰</button>
<!-- 桌面端横向链接 -->
<div class="desktop-links" id="desktop-nav-container"></div>
<!-- 右侧设置组 -->
<div class="settings-group">
<select id="langSelect" class="custom-select" onchange="app.toggleLang(this.value)">
<option value="zh">中</option><option value="en">En</option>
</select>
<select id="themeSelect" class="custom-select" onchange="app.toggleTheme(this.value)">
<option value="light">🌞</option><option value="dark">🌙</option>
</select>
</div>
</div>
<!-- 手机端下拉菜单 -->
<div id="mobile-menu" class="mobile-menu"></div>
<!-- 通知栏 -->
<div id="notify-bar">
<div class="marquee-container" onclick="app.showNotifyDetail()">
<span id="notify-text" class="marquee-text"></span>
</div>
<button class="close-notify" onclick="app.closeNotify()">✕</button>
</div>
<!-- 主内容区 -->
<main id="main-content"></main>
<!-- 页脚 -->
<footer id="page-footer">
<span id="footer-datetime"></span>
<span class="footer-sep">|</span>
<span id="footer-locale"></span>
</footer>
<!-- 引入脚本文件 -->
<script src="js/index.js"></script>
</body>
</html>