-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog.html
More file actions
55 lines (53 loc) · 1.79 KB
/
log.html
File metadata and controls
55 lines (53 loc) · 1.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Log</title>
<style>
body { background-color: #1e1e1e; color: #e0e0e0; font-family: sans-serif; padding: 20px; }
h1, p { text-align: center; color: #ffffff; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; background-color: #2a2a2a; }
th, td { border: 1px solid #444; padding: 12px; text-align: left; }
thead, th { background-color: #3c3c3c; color: #ffffff; font-weight: bold; }
tbody tr:nth-child(even) { background-color: #333; }
tbody tr:hover { background-color: #4a4a4a; }
.status-success { color: #66bb6a; font-weight: bold; }
.status-failed { color: #ef5350; font-weight: bold; }
td pre { white-space: pre-wrap; word-wrap: break-word; margin: 0; font-family: monospace; font-size: 0.9em; }
.log-stats {
text-align: center;
margin-bottom: 25px;
padding: 15px;
background-color: #2a2a2a;
border: 1px solid #444;
border-radius: 8px;
font-size: 1.1em;
color: #ccc;
}
.log-stats span {
font-weight: bold;
font-size: 1.4em;
color: #ffffff;
}
</style>
</head>
<body>
<h1>Log</h1>
<div class="log-stats">
Total CVEs Queried (Lifetime): <span id="lifetime-counter">0</span>
</div>
<p>Displays the last 50 actions of the extension.</p>
<table>
<thead>
<tr>
<th>Timestamp</th>
<th>CVE</th>
<th>Status</th>
<th>Details</th>
</tr>
</thead>
<tbody id="log-table-body"></tbody>
</table>
<script src="log.js"></script>
</body>
</html>