-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathoptions.html
63 lines (61 loc) · 2.42 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Options | No More Domains</title>
<link rel="stylesheet" href="assets/styles/options.css">
<link rel="icon" type="image/x-icon" href="./assets/icon16.png">
</head>
<body>
<div class="modal-container">
<div id="reset-modal">
<div class="confirmation-msg">
<p>
Are you sure you want to remove all the
rules and revert back to default rules.
</p>
</div>
<div class="reset-buttons">
<button id="cancel-btn" class="btn-1">Cancel</button>
<button id="confirm-btn" class="btn-2">Confirm</button>
</div>
</div>
</div>
<main class="container">
<header id="title-bar">
<h1 class="title">NoMoreDomains</h1>
<div class="option-bar">
<button id="reset-btn" class="btn-2">reset</button>
</div>
</header>
<div class="options-grid">
<div class="whitelist-container">
<div>
<h2>Whitelist Domains</h2>
<p>Whitelisted domains are not redirected by NoMoreDomains. Don’t worry, you can remove them later.</p>
</div>
<div id="optionsPageDiv" class="external-container">
<div class="whitelist-form">
<input type="text" id="whiteListDomain" placeholder="Add domain to whitelist">
<button id="WhiteList_Submit_Button">Whitelist</button>
</div>
<div class="divider"></div>
<h2 class="whitelisted-title">Whitelisted Domains</h2>
<table id="whiteList_domains_table">
<col style="width:80%">
<col style="width:20%">
<!-- <tr>
<th class="whitelisted-title">Whitelisted Domains</th>
</tr> -->
<!-- Display all whitelisted domains here -->
<tbody id="whiteList_domains">
</tbody>
</table>
<button id="WhiteList_Erase_Button" class="btn-2">Remove all domains</button>
</div>
</div>
</div>
</main>
<script src="./options.js"></script>
</body>
</html>