-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpopup.html
More file actions
44 lines (40 loc) · 1.98 KB
/
popup.html
File metadata and controls
44 lines (40 loc) · 1.98 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
<!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="popup.css">
</head>
<body>
<header class="header">
<div class="header-left">
<img class="header-logo" src="icons/logo-128.png" alt="logo">
<h1 class="header-title">收藏夹</h1>
<span class="header-stats" id="stats"></span>
</div>
<div style="display:flex;align-items:center;gap:4px;">
<span class="sync-indicator" id="syncIndicator" title="同步状态"></span>
<button class="btn-ghost" id="openManage" title="管理页面">
<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/></svg>
</button>
</div>
</header>
<div class="search-wrap">
<div class="search-box">
<svg viewBox="0 0 24 24" width="13" height="13"><circle cx="11" cy="11" r="7" fill="none" stroke="currentColor" stroke-width="2"/><path d="M16 16l4 4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>
<input class="search-input" id="search" placeholder="搜索..." aria-label="搜索">
</div>
</div>
<main class="list" id="list"></main>
<footer class="footer">
<button class="btn-text" id="exportBtn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
导出
</button>
<button class="btn-text btn-manage" id="openManage2">管理全部 →</button>
</footer>
<script src="storage.js"></script>
<script src="popup.js"></script>
</body>
</html>