forked from m-h-c-t/mh-helper-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
133 lines (132 loc) · 5.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Jack's MH Helper Options</title>
<meta charset="utf-8">
<base href="/">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/options.css">
</head>
<body class="text-center">
<div class="container well">
<div class="row">
<div class="panel panel-default">
<div class="panel-body text-left">
<label class="full_width">
Display success messages
<div class="switch pull-right">
<input type="checkbox" id="success_messages" class="pull-right" checked>
<span class="slider round"></span>
</div>
</label>
<label class="full_width">
Display error messages
<div class="switch pull-right">
<input type="checkbox" id="error_messages" class="pull-right" checked>
<span class="slider round"></span>
</div>
</label>
</div>
</div>
</div>
<div class="row">
<div class="panel panel-default">
<div class="panel-body text-left">
<label class="full_width">
Display icon timer
<div class="switch pull-right">
<input type="checkbox" id="icon_timer" class="pull-right" checked>
<span class="slider round"></span>
</div>
</label>
</div>
</div>
</div>
<div class="row">
<div class="panel panel-default">
<div class="panel-body text-left">
<label class="full_width">
Play sound when Horn is ready
<div class="switch pull-right">
<input type="checkbox" id="horn_sound" class="pull-right">
<span class="slider round"></span>
</div>
</label>
<label class="full_width">
Custom sound (default=none)<br/>
<button id="play_sound" class="pull-right">▶️</button>
<input type="text" id="custom_sound" placeholder="http://example.com/my.mp3">
</label>
<label class="full_width">
Sound Volume:
<div class="pull-right">
<output for="horn_volume" id="horn_volume_output" class="range_output"></output>%
</div>
<input type="range" min="0" max="100" value="100" id="horn_volume" step="1" class="pull-right input_range">
</label>
</div>
</div>
</div>
<div class="row">
<div class="panel panel-default">
<div class="panel-body text-left">
<label class="full_width">
Desktop Notification when horn is ready
<div class="switch pull-right">
<input type="checkbox" id="horn_alert" class="pull-right">
<span class="slider round"></span>
</div>
</label>
<label class="full_width">
Webpage Notification when horn is ready
<div class="switch pull-right">
<input type="checkbox" id="horn_webalert" class="pull-right">
<span class="slider round"></span>
</div>
</label>
</div>
</div>
</div>
<div class="row">
<div class="panel panel-default">
<div class="panel-body text-left">
<label class="full_width">
Track Crowns
<div class="switch pull-right">
<input type="checkbox" id="track_crowns" class="pull-right" checked>
<span class="slider round"></span>
</div>
</label>
</div>
</div>
</div>
<div class="row">
<div class="panel panel-default">
<div class="panel-body text-left">
<label class="full_width">
Show Tsitu's Loader
<div class="switch pull-right">
<input type="checkbox" id="tsitu_loader_on" class="pull-right">
<span class="slider round"></span>
</div>
</label>
<label class="full_width">
Tsitu's Loader distance from the left
<div class="pull-right">
<output for="tsitu_loader_offset" id="tsitu_loader_offset_output" class="range_output"></output>%
</div>
<input type="range" min="0" max="100" value="100" id="tsitu_loader_offset" step="1" class="input_range">
</label>
</div>
</div>
</div>
<div class="row text-center">
<div id="save_status" class="alert-success text-center">Options saved!</div>
<button class="btn btn-default" id="save">Save</button>
</div>
<script type="text/javascript" src="scripts/options.js"></script>
</div>
</body>
</html>