-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
65 lines (61 loc) · 1.35 KB
/
options.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
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
<!DOCTYPE html>
<html>
<head>
<title>Archive Redirector Settings</title>
<style>
body {
padding: 20px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.container {
max-width: 600px;
margin: 0 auto;
}
.pattern-list {
margin: 20px 0;
}
.pattern-item {
display: flex;
margin: 10px 0;
gap: 10px;
}
input[type="text"] {
flex-grow: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
padding: 8px 16px;
background: #0366d6;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button.remove {
background: #dc3545;
}
.status {
margin-top: 20px;
padding: 10px;
border-radius: 4px;
}
.success {
background: #d4edda;
color: #155724;
}
</style>
</head>
<body>
<div class="container">
<h1>URL Patterns Configuration</h1>
<p>Add URL patterns to redirect to archive.is (e.g., "https://example.com/*")</p>
<div class="pattern-list" id="patternList"></div>
<button id="addPattern">Add New Pattern</button>
<button id="save">Save Changes</button>
<div id="status" class="status" style="display: none;"></div>
</div>
<script src="options.js"></script>
</body>
</html>