-
Notifications
You must be signed in to change notification settings - Fork 11
/
options.html
67 lines (67 loc) · 4.76 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
<!DOCTYPE html>
<html>
<head>
<title>Inbox by Gmail Options</title>
<link rel="stylesheet" href="options.css" />
</head>
<body>
<section>
<form id="optionsForm" action="#">
<h1>Inbox by Gmail Options</h1>
<div class="form-group">
<div class="option"><label>Default user:</label> <span class="inline-input"><code>/u/</code><input class="default-user-control" type="number" min="0" id="defaultUser"></span></div>
<div class="help-text">Check a different account when you're signed into multiple.</div>
</div>
<div class="form-group">
<div class="option"><label>Poll interval:</label> <span class="inline-input"><input class="default-user-control" type="number" min="0" max="3600" id="pollInterval" /> sec</span></div>
<div class="help-text">Frequency, in seconds, that your inbox is checked.</div>
</div>
<div class="form-group">
<div class="option"><label>Quiet hours:</label> <input class="default-user-control large" type="text" id="quietHours" /></div>
<div class="help-text multiline">Comma-separated list of hours to disable notifications and hide the unread count each day. Example: <a id="exampleQuietHours" href="#">Common working hours</a></div>
</div>
<div class="form-group">
<div class="option"><label>Distraction-free minutes:</label> <input class="default-user-control large" type="number" min="1" max="1440" id="distractionFreeMinutes" /></div>
<div class="help-text multiline">Number of minutes to be quiet when "Go distraction-free" is selected. (Right-click the extension's icon to find this)</div>
</div>
<div class="form-group">
<div class="option"><label><input type="checkbox" id="useSnoozeColor" /> Use distraction-free colors</label></div>
<div class="help-text">When checked, use <img src="media/inbox_quiet.png" align="center" /> for quiet and distraction-free time instead of <img src="media/inbox_logged_in.png" align="center" /></div>
</div>
<div class="form-group">
<div class="option"><label><input type="checkbox" id="useDesktopNotifications" /> Show desktop notifications</label></div>
<div class="help-text">When checked, notifications will pop up when new email arrives.</div>
</div>
<div class="form-group">
<div class="option"><label><input type="checkbox" id="showPageMenu" /> Show "share" context menu</label></div>
<div class="help-text">When checked, adds "Share page via email" to your right-click menu.</div>
</div>
<div class="form-group">
<div class="option"><label><input type="checkbox" id="focusExistingInboxTab" /> Focus Inbox tab if one exists</label></div>
<div class="help-text">When checked, focuses an existing Inbox tab instead of creating one. <div class="status error" id="focusExistingInboxTabError"></div></div>
</div>
<div class="form-group">
<div class="option"><label><input type="checkbox" id="openInEmptyTab" /> Open in current tab if empty</label></div>
<div class="help-text">When checked, navigates to your inbox using the current tab instead of a new one if the current tab is the "empty" tab.</div>
</div>
<div class="form-group">
<button class="btn" type="button" id="defaults">Defaults</button>
<button class="btn" type="submit">Save</button>
<div class="status" id="status"></div>
</div>
</form>
</section>
<section class="secondary">
<h3>Thanks for using Inbox by Gmail Checker!</h3>
<p>If you enjoy this extension, please consider <a href="https://chrome.google.com/webstore/detail/inbox-by-gmail-checker/mpjmeeikbbgccbjkbfabocnjcaejdpmj" target="_blank">rating it in the Chrome Store</a>.</p>
<p>Questions? Feedback? <a href="https://github.com/joeyespo/inbox-by-gmail-checker/issues" target="_blank">Open an issue on GitHub</a>.</p>
<p>Version <span id="version"></span>. <a href="https://github.com/joeyespo/inbox-by-gmail-checker/blob/master/CHANGES.md#inbox-by-gmail-checker-changelog" target="_blank">See what's new</a>.</p>
</section>
<footer>
<div class="pull-right">Made with <span class="symbol">♥</span> by <a href="http://joeyespo.com" target="_blank">Joe Esposito</a></div>
<div class="clearfix"></div>
</footer>
<a href="https://github.com/joeyespo/inbox-by-gmail-checker" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
<script src="options.js"></script>
</body>
</html>