-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
85 lines (73 loc) · 3.2 KB
/
index.html
File metadata and controls
85 lines (73 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
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SecureStream - Local File Encryption</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>SecureStream</h1>
<p class="subtitle">Secure, local-first file encryption for large files.</p>
<div class="tabs">
<button id="encryptTab" class="tab-btn active">Encrypt</button>
<button id="decryptTab" class="tab-btn">Decrypt</button>
</div>
<div id="encryptPanel" class="panel">
<div id="dropZone" class="drop-zone">
<p>Drag & drop a file here or <span class="browse">browse</span></p>
<input type="file" id="fileInput" hidden>
<div id="fileInfo" class="file-info hidden">
<span id="fileName"></span>
<span id="fileSize"></span>
</div>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" placeholder="Enter strong password">
</div>
<div class="input-group">
<label for="confirmPassword">Confirm Password</label>
<input type="password" id="confirmPassword" placeholder="Confirm password">
</div>
<button id="encryptBtn" class="primary-btn">Encrypt & Save</button>
</div>
<div id="decryptPanel" class="panel hidden">
<div id="dropZoneDecrypt" class="drop-zone">
<p>Drag & drop .enc file here or <span class="browse">browse</span></p>
<input type="file" id="fileInputDecrypt" accept=".enc" hidden>
<div id="fileInfoDecrypt" class="file-info hidden">
<span id="fileNameDecrypt"></span>
<span id="fileSizeDecrypt"></span>
</div>
</div>
<div class="input-group">
<label for="passwordDecrypt">Password</label>
<input type="password" id="passwordDecrypt" placeholder="Enter password">
</div>
<button id="decryptBtn" class="primary-btn">Decrypt & Save</button>
</div>
<div id="progressContainer" class="progress-container hidden">
<div class="progress-header">
<span id="statusText">Processing...</span>
<span id="percentText">0%</span>
</div>
<div class="progress-bar">
<div id="progressBarFill" class="progress-fill"></div>
</div>
<div class="progress-footer">
<span id="speedText">0 MB/s</span>
<span id="etaText">ETA: --:--</span>
</div>
<button id="cancelBtn" class="secondary-btn">Cancel</button>
</div>
<div id="testContainer">
<button id="runTestBtn" class="secondary-btn">Run Self-Test (20MB)</button>
<div id="testResult"></div>
</div>
<div id="errorLog" class="error-log hidden"></div>
</div>
<script src="app.js"></script>
</body>
</html>