-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
76 lines (66 loc) · 2.29 KB
/
options.html
File metadata and controls
76 lines (66 loc) · 2.29 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HashTrace – Settings</title>
<link rel="stylesheet" href="theme.css">
<style>
body {
padding: 60px 20px;
display: flex;
justify-content: center;
}
.container {
width: 100%;
max-width: 600px;
}
.status {
margin-top: 16px;
padding: 12px;
border-radius: var(--radius-sm);
font-size: 14px;
display: none;
text-align: center;
}
.status.error {
background: rgba(255, 23, 68, 0.1);
color: var(--error);
border: 1px solid rgba(255, 23, 68, 0.2);
}
.status.success {
background: rgba(0, 230, 118, 0.1);
color: var(--success);
border: 1px solid rgba(0, 230, 118, 0.2);
}
</style>
</head>
<body>
<div class="container animate-fade-in">
<div class="card">
<div class="flex-center gap-md" style="margin-bottom: 32px;">
<div style="width: 48px; height: 48px; background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent-primary); font-weight: 800; font-size: 18px;">
HT
</div>
<h1 class="text-gradient">HashTrace Settings</h1>
</div>
<div class="input-group">
<label for="apiKey" style="display: block; margin-bottom: 10px; color: var(--text-secondary); font-size: 14px;">VirusTotal API Key</label>
<input type="text" id="apiKey" placeholder="Enter your 64-character API key" spellcheck="false">
<p style="font-size: 12px; color: var(--text-muted); margin-top: 8px;">
Your key is stored locally in your browser securely.
</p>
</div>
<button id="saveBtn" class="btn btn-primary" style="width: 100%; margin-top: 16px;">
Save Configuration
</button>
<div id="status" class="status"></div>
</div>
<div style="text-align: center; margin-top: 32px;">
<a href="https://www.virustotal.com/gui/user/apikey" target="_blank" style="color: var(--accent-primary); text-decoration: none; font-size: 13px; opacity: 0.8; transition: opacity 0.2s;">
Get your API Key from VirusTotal →
</a>
</div>
</div>
<script src="options.js"></script>
</body>
</html>