-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtabreaper.html
99 lines (72 loc) · 4.17 KB
/
tabreaper.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="chrome://global/skin/in-content/common.css"/>
<link rel="stylesheet" href="tabreaper.css"/>
</head>
<body>
<div class="popup-body">
<div class="popup-fixed-panel popup-header">
<div class="text-header">Tab Reaper</div>
</div>
<div class="popup-tab-panel">
<div class="popup-tabs-button selected" show="suggestions-panel" id="url-form-tab" i18n-key="main-tab-url">URL</div>
<div class="popup-tabs-separator"></div>
<div class="popup-tabs-button" show="title-form" id="title-form-tab" i18n-key="main-tab-title">Title</div>
<div class="popup-tabs-separator"></div>
<div class="popup-tabs-button" hide="matching-panel gather-to-end-button regex-panel" id="duplicates-form-tab" i18n-key="main-tab-duplicates">Duplicates</div>
</div>
<div class="popup-fixed-panel popup-query">
<div id="matching-panel" class="popup-query-panel">
<label for="matching-url" i18n-key="search-query-prompt">Match:</label>
<input type="text" placeholder="Close tabs matching" id="matching-url" autofocus/>
</div>
</div>
<div class="popup-fixed-panel" id="no-duplicates">
<label for="no-duplicates-found" i18n-key="no-duplicates-found">No duplicates found</label>
</div>
<div class="popup-fixed-panel" id="suggestions-panel">
<label for="autofill-suggestions" i18n-key="search-query-suggestion-label">Suggested queries:</label> <span id="autofill-suggestions"/>
</div>
<div class="popup-fixed-panel popup-options">
<div id="title-form" class="popup-options-item">
<input type="checkbox" id="case-sensitive"></input><label for="case-sensitive" i18n-key="case-sensitive-title-match-label">Case sensitive title match</label>
</div>
<div id="regex-panel" class="popup-options-item">
<input type="checkbox" id="use-regex"></input><label for="use-regex" i18n-key="use-regex-title-match-label">Use regular expressions (regex)</label>
</div>
<div id="all-windows-panel" class="popup-options-item">
<input type="checkbox" id="all-windows"></input><label for="all-windows" i18n-key="all-windows-match-label">Look through all windows</label>
</div>
<div id="current-panel" class="popup-options-item">
<input type="checkbox" id="not-current" checked></input><label for="not-current" i18n-key="dont-close-current-tab">Don't close current tab</label>
</div>
<div id="pinned-panel" class="popup-options-item">
<input type="checkbox" id="not-pinned" checked></input><label for="not-pinned" i18n-key="dont-close-pinned-tabs">Don't close pinned tabs</label>
</div>
</div>
<div class="popup-fixed-panel popup-buttons popup-end-panel" id="close-panel">
<!-- TODO - remove this??? -->
<hbox align="center" flex="1">
<button id="close-button" i18n-key="close-button">Close them!</button>
<button id="gather-to-end-button" i18n-key="gather-to-end-button">Gather them!</button>
</hbox>
</div>
<div id="unicode-warning" class="popup-fixed-panel popup-end-panel">
<p> <span i18n-key="unicode-failure-warning-prefix">I'm trying to match unicode searches and suggestions. If its not working for you please</span> <a href="http://github.com/whitty/tabreaper/issues" i18n-key="unicode-failure-warning-link-text">submit a bug</a> <span i18n-key="unicode-failure-warning-suffix">with examples</span></p>
</div>
<div class="popup-fixed-panel" id="summary-label">
<label for="match-count" id="summary-label"><span i18n-key="matched-summary-prefix">Matched</span><span id="match-count">0</span><span i18n-key="matched-summary-suffix">tabs:</span><span id="pinned-policy-warning"/></label>
</div>
<div class="popup-panel popup-summary" id="summary">
<div id="summary-table">
<div id="summary-body"></div>
</div>
</div>
</div>
<script src="util.js"></script>
<script src="punycode.js"></script>
<script src="tabreaper.js"></script>
</body>
</html>