forked from matchu/Strict-Workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
148 lines (127 loc) · 5.79 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html lang="en">
<head>
<title data-i18n="options_title"></title>
<!-- <link rel="stylesheet" href="chrome://resources/css/widgets.css"> -->
<link rel="stylesheet" href="css/pom-work.css">
<link rel="stylesheet" href="css/table.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
</head>
<body>
<h1 data-i18n="options_title"></h1>
<p id="work-block-info" data-i18n="options_work_block_info"></p>
<form id="options-form">
<div id="site-list-wrapper">
<header id="site-list-header">
<select id="blacklist-or-whitelist">
<option data-i18n="options_blacklist_verb"></option>
<option data-i18n="options_whitelist_verb"></option>
</select>
<span data-i18n="options_site_list_header"></span>
</header>
<textarea id="whitelist" class="site-list"></textarea>
<textarea id="blacklist" class="site-list"></textarea>
<p class="note" data-i18n="options_site_list_info"></p>
<p class="note" data-i18n="options_site_list_syntax"></p>
</div>
<div id="durations">
<p>
<label for="work-duration">
<span data-i18n="options_work_duration" data-i18n-caps></span>:
</label>
<input id="work-duration" type="text" size="2" />
<span class="minutes" data-i18n="minutes"></span>
</p>
<p>
<label for="break-duration">
<span data-i18n="options_break_duration" data-i18n-caps></span>:
</label>
<input id="break-duration" type="text" size="2" />
<span class="minutes" data-i18n="minutes"></span>
</p>
<p>
<input id="longbreak-enable" type="checkbox"/>
<label for="longbreak-enable" data-i18n="options_longbreak_enable" data-i18n-caps>
</p>
<span class="longbreak_section">
<p>
<label for="longbreak-duration">
<span data-i18n="options_longbreak_duration" data-i18n-caps></span>:
</label>
<input id="longbreak-duration" type="text" size="2" />
<span class="minutes" data-i18n="minutes"></span>
</p>
<p>
<div>
<label for="workcycles" data-i18n="options_workcycles" data-i18n-caps></label>
<input id="workcycles" type="text" size="2" />
</div>
</p>
</span>
<span id="time-format-error" data-i18n="options_time_format_error"></span>
</div>
<div class="timeTable">
<p>
<select id="operation_mode">
<option value="modeTimeExclusion" data-i18n="options_time_exclusion"></option>
<option value="modeTimeInclusion" data-i18n="options_time_inclusion"></option>
</select>
<label for="operation_mode" data-i18n="options_operation_mode"></label>
</p>
<table id="timeTable">
<tr>
<th data-i18n="options_start_time"></th>
<th data-i18n="options_end_time"></th>
<th data-i18n="options_sunday"></th>
<th data-i18n="options_monday"></th>
<th data-i18n="options_tuesday"></th>
<th data-i18n="options_wednesday"></th>
<th data-i18n="options_thursday"></th>
<th data-i18n="options_friday"></th>
<th data-i18n="options_saturday"></th>
<th></th>
<th></th>
<th></th>
</tr>
</table>
</div>
<div><button type="button" id="butAddTime" data-i18n="options_add_time"></button></div>
<div>
<input id="show-notifications" type="checkbox" />
<label for="show-notifications" data-i18n="options_show_notifications"></label>
</div>
<div>
<input id="should-ring" type="checkbox" />
<label for="should-ring" data-i18n="options_should_ring"></label>
<p><label for="options_ringVolume" data-i18n="options_ringVolume"></label> <span id="volumeValue"></span> %</p>
<input type="range" min="0.0" max="1.0" step="0.1" class="slider lockable" id="options_ringVolume">
</div>
<div>
<input id="autostart-work" type="checkbox" />
<label for="autostart-work" data-i18n="options_autostart_work"></label>
</div>
<div>
<input id="autostart-break" type="checkbox" />
<label for="autostart-break" data-i18n="options_autostart_break"></label>
</div>
<div>
<input id="allow_stop_pomodoro" type="checkbox" />
<label for="allow_stop_pomodoro" data-i18n="options_allow_stop_pomodoro"></label>
</div>
<div>
<input id="click-skip-break" type="checkbox" />
<label for="click-skip-break" data-i18n="options_click_skip_break"></label>
</div>
<div>
<input id="click-restarts" type="checkbox" />
<label for="click-restarts">
<span data-i18n="options_click_restarts"></span>
<p class="note" data-i18n="options_click_restarts_note"></p>
</label>
</div>
<button type="submit" id="save-button" data-i18n="options_save_changes"></button>
<span id="save-successful" data-i18n="options_save_successful"></span>
</form>
<script type="text/javascript" src="options.js"></script>
</body>
</html>