-
Notifications
You must be signed in to change notification settings - Fork 1
/
options.html
82 lines (78 loc) · 4.04 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
<!DOCTYPE html>
<?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>
</head>
<body>
<!--panel url - start-->
<div class="note warning hidden">
<label data-l10n-id="needOtherAddon">**You need install and enable another add-on 'Popup Window' before you start using this add-on:</label>
</div>
<div class="note hidden">
<a href='https://addons.mozilla.org/firefox/addon/popup-window/' data-l10n-id="installPopupWindow">https://addons.mozilla.org/firefox/addon/popup-window/</a>
</div>
<div class="content" id="panel-category-url">
<div class="groupTitle" data-l10n-id="tabsUrl">Match patterns</div>
<div>
<ul type="listBox" class="listBox inline" id="urlFilterList">
<li class="tableHeader tableRow">
<div class="cellEnabled"></div>
<div class="cellUrl" data-l10n-id="labelUrlFilterUrl">Match pattern</div>
<div class="cellPosition" data-l10n-id="labelUrlFilterPosition">Match pattern</div>
<div class="cellSize" data-l10n-id="labelUrlFilterSize">Match pattern</div>
<div id="btnAddUrlFilter" class="cellAdd"></div>
<div id="btnMoveUp" class="cellMoveUp"></div>
<div id="btnMoveDown" class="cellMoveDown"></div>
</li>
<li class="tableFooter tableRow"><div class="cellUrl"></div></li>
</ul>
</div>
</div>
<!--panel url - end-->
<!--editor - start-->
<div id="screenMask" class="screenMask" >
</div>
<div id="urlFilterEditor" class="urlFilterEditor">
<div id="addNewUrlFilter" class="addNewUrlFilter">
<div class="section">
<label class="labelText" data-l10n-id="labelMatchPattern">Match pattern:</label>
<input type="text" id="newFilterUrl" size="40">
<label class="labelText" data-l10n-id="urlFilterMessage">You can use wildcard (*) in match pattern.</label>
<label class="labelText" data-l10n-id="urlFilterExample">For example: https://github.com/*</label>
</div>
<div class="section">
<div class="row">
<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="custom">Custom</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>
<div class="section">
<div class="row">
<label data-l10n-id="defaultSize">Default pop-up window size</label>
<label class="windowSize" data-l10n-id="windowWidth">Window width</label>
<input class="windowSize" type="number" id="windowWidth" min="30">
<label class="windowSize" data-l10n-id="windowHeight">Window height</label>
<input class="windowSize" type="number" id="windowHeight" min="30">
</div>
</div>
</div>
<button id="btnAcceptFilter" dlgName="urlFilterEditor" class="dialogButton btnAccept" data-l10n-id="btnOK">OK</button>
<button dlgName="urlFilterEditor" class="dialogButton btnCancel" data-l10n-id="btnCancel">Cancel</button>
</div>
<!--editor - end-->
</body>
</html>