-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
91 lines (76 loc) · 1.43 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
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>ChromeStrap Options</title>
<style>
body {
font-family: Arial;
margin: 0;
}
.title {
padding: 20px;
background-color: #cccccc;
}
.options {
margin: 20px;
}
.options>div {
margin: 20px;
}
.options-enable {
padding-bottom: 20px;
border-bottom: 1px solid #cccccc;
}
#showtype {
width: 100%;
}
#sitelist {
width: 100%;
}
#newsite {
width: 50%;
}
.right {
text-align: right;
margin-top: 10px;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div class="title">
<h1>ChromeStrap Options</h1>
</div>
<div class="options">
<div class="options-enable">
<input id="enabled" type="checkbox">
<label for="enabled">Enable ChromeStrap</label>
</div>
<div>
<input id="popupenabled" type="checkbox">
<label for="popupenabled">Enable Popup</label>
</div>
<div>
<select id="showtype">
<option value="0">Only show on the sites below</option>
<option value="1">Do not show on the sites below</option>
</select>
</div>
<div>
<div class="right">
<button id="removesite" disabled>Remove Selected Site</button>
</div>
<select id="sitelist" size="10">
</select>
<div class="right">
<input type="text" id="newsite">
<button id="addnewsite" disabled>Add Site</button>
</div>
</div>
<div>
<div id="status"></div>
</div>
</div>
<script src="options.js"></script>
</body>
</html>