forked from ettoolong/PopupWindow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
72 lines (66 loc) · 3.03 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
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="options.css"/>
<script type="text/javascript" src="options.js"></script>
<title></title>
</head>
<body>
<div>
<div style="display:inline-block;">
<div class="itemDiv">
<div class="col">
<label data-l10n-id="contextMenuItems">Context menu items:</label>
</div>
<div class="col">
<div>
<input type="checkbox" id="openThisLink">
<label for="openThisLink" data-l10n-id="openThisLink">Open this link in pop-up window</label>
</div>
<div>
<input type="checkbox" id="moveThisPage">
<label for="moveThisPage" data-l10n-id="moveThisPage">pop-up/merge current page</label>
</div>
</div>
</div>
<div class="itemDiv">
<input type="checkbox" id="moveThisTab">
<label for="moveThisTab" data-l10n-id="tabMenu">Tab menu item</label>
</div>
<div class="itemDiv">
<label data-l10n-id="defaultPosition">Default pop-up window position</label>
<select id="defaultPosition" type="option">
<option value="0" data-l10n-id="center">Center</option>
<option value="1" data-l10n-id="topLeft">Top left corner</option>
<option value="2" data-l10n-id="bottomLeft">Bottom left corner</option>
<option value="3" data-l10n-id="topRight">Top right corner</option>
<option value="4" data-l10n-id="bottomRight">Bottom right corner</option>
<option value="5" data-l10n-id="customPosition">Custom position</option>
</select>
<label class="windowPosition" data-l10n-id="windowPositionLeft">Left</label>
<input class="windowPosition" type="number" id="windowPositionLeft" min="0">
<label class="windowPosition" data-l10n-id="windowPositionTop">Top</label>
<input class="windowPosition" type="number" id="windowPositionTop" min="0">
</div>
<div class="itemDiv">
<label data-l10n-id="windowWidth">Default pop-up window width</label>
<input type="number" id="windowWidth" min="30">
</div>
<div class="itemDiv">
<label data-l10n-id="windowHeight">Default pop-up window height</label>
<input type="number" id="windowHeight" min="30">
</div>
<div class="itemDiv">
<div id="iconColor" type="radioGroup">
<label data-l10n-id="iconColor">Toolbar button icon color</label>
<input type="radio" id="iconColorBlack" name="iconColor" value="0">
<label for="iconColorBlack" data-l10n-id="iconColorBlack">Black</label>
<input type="radio" id="iconColorWhite" name="iconColor" value="1">
<label for="iconColorWhite" data-l10n-id="iconColorWhite">White</label>
</div>
</div>
</div>
</div>
</body>
</html>