forked from taicki/omnibox-timer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
options.html
96 lines (80 loc) · 2.67 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
<!DOCTYPE html>
<html>
<head>
<title>Omnibox Timer: Options</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="moment.js"></script>
<script type="text/javascript" src="ui.js"></script>
<link rel="stylesheet" type="text/css" href="options.css">
</head>
<body>
<img class='title' src="256.png"/>
<h1>Omnibox Timer Again</h1>
<span id="version">-</span>
<h2>How to Use</h2>
<p>
<ol>
<li>Focus in the address bar;</li>
<li>Type 'ta' and hit space key, then you will see it invokes extension prompt for further input;</li>
<ul>
<li>Use syntax like below example to define the reminders for timer;
<ul>
<li><b>"[Number]s|m|h [Reminder Description]'</b>(e.g. "10m Have Dinner") , or </li>
<li><b>"hh:mm [Reminder Description]" </b> (e.g. "20:20 Go Home") </li>
</ul>
</li>
<li>Or, use 'option', 'show' in address bar after 'ta' activated, can open this page as well;</li>
<li>Or, use 'clr' in address bar after 'ta' activated, can quick clean all reminder records;</li>
</ul>
<li>Reminder will pop up by defined time;</li>
<li>Options and Timers can be managed via this page.</li>
</ol>
</p>
<h2>Current timers</h2>
<p>Sorted by creation time. Please refresh this page if you created more timers. Or Click <span id='clear-button'>Clear All</span> to stop all ongoing timers and clean history.</p>
<table id="timers">
<tbody>
<tr>
<th>Description</th>
<th>Creation time</th>
<th>Notification time</th>
<th>Remove</th>
</tr>
</tbody>
</table>
<!--h2>Statistics</h2>
<ul id="stats"></ul-->
<h2>Options</h2>
<!--div>
<p class='opt-label'> Notification:</p>
<p>
<input type="radio" name="notitype" value="windownoti" id="windownoti">
<label for="windowapi">Window.Notification</label>
<input type="radio" name="notitype" value="chromenoti" id="chromenoti">
<label for="chromeapi">Chrome.Notification</label>
</p>
</div-->
<!--div>
<p class='opt-label'> Sound:</p>
<p>
<input type="radio" name="soundType" value="tts" id="tts">
<label for="tts">TTS (Text To Speech)</label>
<input type="radio" name="soundType" value="bell" id="bell">
<label for="bell">Bell</label>
<input type="radio" name="soundType" value="mute" id="mute">
<label for="mute">No sound</label>
</p>
</div-->
<div>
<p class='opt-label'>How to suggest timer texts:</p>
<p>
<input type="radio" name="historySuggestionType" value="time" id="time">
<label for="time">Suggest most recently used timer text first</label>
<input type="radio" name="historySuggestionType" value="count" id="count">
<label for="count">Suggest most frequently used timer text first</label>
</p>
</div>
<div id="flash" style="display:none"></div>
</body>
</html>