-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
106 lines (92 loc) · 2.48 KB
/
popup.html
File metadata and controls
106 lines (92 loc) · 2.48 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>VirusTotal</title>
<link rel="stylesheet" href="theme.css">
<style>
body {
width: 460px;
padding: 24px;
}
.logo-container {
margin-bottom: 20px;
}
.logo-icon {
width: 40px;
height: 40px;
background: var(--bg-elevated);
border: 1px solid var(--border-strong);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
color: var(--accent-primary);
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.status {
margin-top: 12px;
padding: 10px;
border-radius: var(--radius-sm);
font-size: 13px;
display: none;
}
.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);
}
.status.info {
background: rgba(45, 225, 252, 0.1);
color: var(--accent-primary);
border: 1px solid rgba(45, 225, 252, 0.2);
}
.footer-link {
margin-top: 16px;
text-align: center;
font-size: 12px;
}
.footer-link a {
color: var(--text-secondary);
text-decoration: none;
transition: color 0.2s;
}
.footer-link a:hover {
color: var(--accent-primary);
}
</style>
</head>
<body>
<div class="animate-fade-in">
<div class="header flex-between logo-container">
<div class="flex-center gap-md">
<div class="logo-icon">HT</div>
<div>
<h2 class="text-gradient">HashTrace</h2>
<p style="margin: 0; font-size: 12px; opacity: 0.7;">Threat Intelligence</p>
</div>
</div>
</div>
<div class="input-group">
<textarea id="hashInput" placeholder="Enter MD5, SHA-1, or SHA-256 hashes (one per line)" style="height: 180px; resize: none;"></textarea>
</div>
<div class="flex-between gap-md">
<button id="clearBtn" class="btn btn-secondary" style="flex: 1;">Clear</button>
<button id="fetchBtn" class="btn btn-primary" style="flex: 2;">
Analyze Hashes
</button>
</div>
<div id="status" class="status"></div>
<div class="footer-link">
<a href="#" id="settingsLink">Configure API Key</a>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>