-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmanage.html
More file actions
72 lines (69 loc) · 3.2 KB
/
manage.html
File metadata and controls
72 lines (69 loc) · 3.2 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LinuxDo Star - 收藏管理</title>
<link rel="stylesheet" href="manage.css">
</head>
<body>
<aside class="sidebar">
<div class="sidebar-head">
<img class="logo-img" src="icons/logo-128.png" alt="logo">
<span class="logo-text">收藏管理</span>
</div>
<nav class="nav" id="navList"></nav>
<div class="sidebar-mid">
<button class="btn-outline btn-sm btn-full" id="newColBtn">+ 新建收藏夹</button>
<button class="btn-outline btn-sm btn-full btn-sync" id="syncBtn">
<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 2v6h-6"/><path d="M3 12a9 9 0 0 1 15-6.7L21 8"/><path d="M3 22v-6h6"/><path d="M21 12a9 9 0 0 1-15 6.7L3 16"/></svg>
<span id="syncBtnText">☁️ 同步设置</span>
</button>
<div class="sidebar-total" id="totalText"></div>
</div>
<div class="sidebar-foot">
<button class="btn-outline btn-sm" id="importBtn">导入</button>
<button class="btn-outline btn-sm" id="exportBtn">导出</button>
<button class="btn-outline btn-sm btn-danger" id="clearBtn">清空</button>
</div>
</aside>
<main class="main">
<div class="toolbar">
<div class="toolbar-search">
<svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="7" fill="none" stroke="currentColor" stroke-width="2"/><path d="M16 16l5 5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>
<input id="searchInput" placeholder="搜索标题、作者、内容...">
</div>
<div class="toolbar-right">
<div class="batch-bar" id="batchBar" style="display:none;">
<span class="batch-count" id="batchCount">已选 0 项</span>
<button class="btn-outline btn-sm btn-danger" id="batchDeleteBtn">批量删除</button>
<button class="btn-outline btn-sm" id="batchCancelBtn">取消</button>
</div>
<label class="batch-toggle" title="批量选择模式">
<input type="checkbox" id="batchMode">
<span>多选</span>
</label>
<select class="select-sm" id="sortSelect">
<option value="newest">最新收藏</option>
<option value="oldest">最早收藏</option>
<option value="title">按标题</option>
</select>
</div>
</div>
<div class="content" id="content"></div>
</main>
<div class="overlay" id="overlay"></div>
<aside class="panel" id="panel">
<div class="panel-head">
<h2 class="panel-title" id="panelTitle">详情</h2>
<button class="btn-ghost-sm" id="panelClose">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>
</button>
</div>
<div class="panel-body" id="panelBody"></div>
</aside>
<input type="file" id="importFile" accept=".json" style="display:none">
<script src="storage.js"></script>
<script src="manage.js"></script>
</body>
</html>