-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (32 loc) · 1.07 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>Webpage Classifier</title>
<link rel="stylesheet" href="/src/style.css">
<!-- module scripts are loaded async -->
<script type="module" src="/src/popup.js" defer></script>
</head>
<body>
<h3>Classify Current Page</h3>
<button id="classify">Classify</button>
<button id="classifyLocalButton">Classify using Local Model</button>
<p id="source"></p>
<div id="extracted-text"></div>
<p id="result"></p>
<!-- Button to view past classifications -->
<button id="view-responses">View Past Classifications</button>
<div id="hexagon-visualization" style="margin-top: 20px; text-align: center;">
<!-- Hexagons will be dynamically generated here -->
</div>
<!-- Table to display past classifications -->
<table id="responses-table">
<thead>
<tr>
<th>Subject</th>
<th>URL</th>
<th>Timestamp</th>
<th>Remove</th> <!-- Add header for Remove button -->
</tr>
</thead>
<tbody id="responses-list"></tbody>
</table>