-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilter-editor.html
More file actions
34 lines (29 loc) · 1.52 KB
/
filter-editor.html
File metadata and controls
34 lines (29 loc) · 1.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Filter Editor</title>
<link rel="stylesheet" type="text/css" href="output.css" />
</head>
<body class="bg-white dark:bg-gray-800 min-w-[300px] min-h-[200px]">
<div class="p-4 w-full">
<label for="message" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Text to filter. Separate by new lines. Case insensitive
</label>
<textarea id="message"
class="block w-full h-32 p-2.5 text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
placeholder="Text to filter. Separate by new lines. Case insensitive"></textarea>
<div class="flex items-center space-x-6 mt-4">
<button id="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800">
Save
</button>
<div id="blocked-label" class="text-sm font-medium text-gray-900 dark:text-white">
Blocked: <span class="font-bold">0</span>
</div>
</div>
</div>
<script src="filter-editor.js"></script>
</body>
</html>