-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (57 loc) · 2.59 KB
/
index.html
File metadata and controls
69 lines (57 loc) · 2.59 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<!-- Styles moved to renderer.css; scripts are external for better CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self';">
<link rel="stylesheet" href="renderer.css">
<title>FolderVault</title>
</head>
<body>
<div class="window">
<div class="titlebar">
<div class="title">FolderVault</div>
<span class="titlebar-subtitle">AES-256-GCM · scrypt</span>
</div>
<div class="left panel">
<div class="button-group">
<button id="pick" class="btn">Pick Folder…</button>
<button id="openDist" class="btn ghost">Open App Folder</button>
</div>
<div class="folder-area" id="folderArea">Drop a folder here or click "Pick Folder"</div>
<div class="password-section">
<label>Password</label>
<input id="password" type="password" placeholder="Enter encryption password" />
</div>
<div class="options">
<label><input type="checkbox" id="keepOriginals" /> Keep originals (do not delete)</label>
<label><input type="checkbox" id="secureDelete" checked /> Secure-delete originals (best-effort)</label>
</div>
<div class="action-buttons">
<button id="encrypt" class="btn primary">Encrypt Folder</button>
<button id="decrypt" class="btn">Decrypt Folder</button>
<button id="cancel" class="btn">Cancel</button>
</div>
<div class="selected-folder">Selected: <span id="folder">(none)</span>
</div>
</div>
<div class="right panel">
<h3>Files & Progress</h3>
<div class="progress-row">
<div class="progress-label">Overall</div>
<div class="progress"><i id="overallBar"></i></div>
<div id="overallText" class="progress-text">0 / 0</div>
</div>
<div class="file-list-header">
<div class="file-header-name">File Name</div>
<div class="file-header-progress">Progress</div>
<div class="file-header-status">Status</div>
</div>
<ul id="fileList" class="file-list"></ul>
</div>
<div class="log" id="log"></div>
</div>
<!-- External renderer script (keeps CSP strict and avoids inline JS) -->
<script src="renderer.js"></script>
</body>
</html>