-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
91 lines (90 loc) · 2.28 KB
/
options.html
File metadata and controls
91 lines (90 loc) · 2.28 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
<!DOCTYPE html>
<html>
<head>
<title>Word Watcher Settings</title>
<style>
body {
width: 500px;
padding: 20px;
font-family: Arial, sans-serif;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"], input[type="number"] {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
margin-right: 10px;
}
button:hover {
background-color: #45a049;
}
.status {
margin-top: 10px;
padding: 10px;
border-radius: 4px;
}
.success {
background-color: #dff0d8;
color: #3c763d;
}
.alert-config {
background-color: #f9f9f9;
padding: 15px;
margin-bottom: 15px;
border-radius: 4px;
border: 1px solid #ddd;
position: relative;
}
.delete-btn {
position: absolute;
top: 10px;
right: 10px;
background-color: #ff4444;
color: white;
border: none;
border-radius: 4px;
padding: 5px 10px;
cursor: pointer;
}
.delete-btn:hover {
background-color: #cc0000;
}
.add-btn {
background-color: #2196F3;
margin-top: 10px;
}
.add-btn:hover {
background-color: #1976D2;
}
.alert-list {
margin-bottom: 20px;
}
</style>
</head>
<body>
<h2>Word Watcher Settings</h2>
<div id="alertList" class="alert-list">
<!-- Alert configurations will be added here -->
</div>
<button id="addAlert" class="add-btn">Add New Alert</button>
<div id="status" class="status" style="display: none;"></div>
<script src="options.js"></script>
</body>
</html>