-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoptions.html
More file actions
51 lines (48 loc) · 2.14 KB
/
options.html
File metadata and controls
51 lines (48 loc) · 2.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web Text Extractor — Options</title>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; margin: 16px; color: #333; }
.container { max-width: 640px; }
label { display: block; font-weight: 600; margin-top: 16px; }
input[type="text"], input[type="password"] { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 6px; }
.row { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.btn { padding: 8px 12px; border: none; border-radius: 6px; cursor: pointer; }
.btn-primary { background: #4285f4; color: white; }
small { color: #666; }
.notice { background: #f8f9fa; border: 1px solid #e9ecef; padding: 12px; border-radius: 8px; margin-top: 12px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card { border: 1px solid #e9ecef; border-radius: 8px; padding: 12px; }
</style>
<script defer src="options.js"></script>
</head>
<body>
<div class="container">
<h1>Web Text Extractor — Options</h1>
<div class="card grid">
<div class="row">
<label for="fullPageSettings" style="margin:0">Full-Page Extraction Settings</label>
</div>
<div class="row">
<input id="optFullPage" type="checkbox" />
<label for="optFullPage" style="font-weight:500;">Full-Page Structured Extract</label>
</div>
<div class="row">
<input id="optExcludeBoiler" type="checkbox" />
<label for="optExcludeBoiler" style="font-weight:500;">Exclude Boilerplate (headers/nav/footers/ads)</label>
</div>
<div class="row">
<input id="optIncludeMetadata" type="checkbox" checked />
<label for="optIncludeMetadata" style="font-weight:500;">Include Metadata (description & Open Graph)</label>
</div>
</div>
<div class="row">
<button id="saveBtn" class="btn btn-primary">Save</button>
</div>
<p id="status" role="status" aria-live="polite" style="margin-top:12px;color:#2d8f42;"></p>
</div>
</body>
</html>