-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathoptions.html
101 lines (85 loc) · 2.31 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
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
font-family: Calibri, Helvetica, Arial, sans-serif;
font-size: 10pt;
color:darkslategrey;
}
input[type="checkbox"] {
display: inline-block;
width: 15px;
}
label, #name {
display: inline-block;
width: 200px;
}
input[type="url"] {
display: inline-block;
width: 400px;
}
input#tabActive:disabled + label {
color: #9A9A9A;
}
h2 {
font-size: 12pt;
}
button {
margin-left: 10px;
}
li {
margin-bottom: 5px;
}
li:first-child > button.up {
visibility: hidden;
}
li:last-child > button.down {
visibility: hidden;
}
#upl {
margin-top: 10px;
margin-bottom: 8px;
}
#addSearchEngine {
margin-left: 40px;
}
</style>
</head>
<body>
<form>
<h2>Which search engines would you like to appear in the context menu?</h2>
<br />
<input type=checkbox id="openNewTab">
<label for="openNewTab">Open search result in a new tab</label>
<br />
<input type=checkbox id="tabActive">
<label for="tabActive">Open new tab in foreground</label>
<br />
<br />
<input type="button" value="Clear All" id="clearAll" />
<input type="button" value="Select All" id="selectAll" />
<input type="button" value="Reset" id="reset" />
<br />
<br />
<div id="container">
</div>
<br />
<div id="addSearchEngine">
<input type="checkbox" id="show" />
<input type="text" id="name" placeholder="Search engine name" />
<input type="url" id="url" placeholder="Search engine URL" title="Should start with https://" pattern="https?://.+" />
<button type="button" id="add">Add Search Engine</button>
</div>
<br />
<input type="button" value="Save in browser" id="save" />
<input type="button" value="Save to local disk" id="download" />
<br />
<label for="upload" id="upl">Upload (list of search engines) from local disk:</label>
<br />
<input type="file" id="upload" />
</form>
<script src="options.js"></script>
</body>
</html>