-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (79 loc) · 3.32 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JellyBuzz</title>
<link rel="stylesheet" type="text/css" href="css.css">
<link rel="shortcut icon" type="image/webp" href="favicon.webp"/>
<link rel="manifest" href="manifest.json">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Feel the Buzz! With customizable vibrations">
</head>
<body onload="on_load()">
<div id="begin">
<h2>Begin as:</h2>
<p>💢 Vibration Time:</p>
<p class="vibrate_on">
<label class="min">Min: <input onchange="save_settings()" type="number" placeholder="0" min="0" value="0"></label>
<label class="max">Max: <input onchange="save_settings()" type="number" placeholder="1" min="0" value="1"></label>
</p>
<p>💤 Off Time:</p>
<p class="vibrate_off">
<label class="min">Min: <input onchange="save_settings()" type="number" placeholder="0" min="0" value="0"></label>
<label class="max">Max: <input onchange="save_settings()" type="number" placeholder="1000" min="0" value="1000"></label>
</p>
<span class="info">Values in miliseconds (1000 = 1 second)</span>
</div>
<div id="end">
<h2>End as:</h2>
<p>💢 Vibration Time:</p>
<p class="vibrate_on">
<label class="min">Min: <input onchange="save_settings()" type="number" placeholder="100" min="0" value="100"></label>
<label class="max">Max: <input onchange="save_settings()" type="number" placeholder="1000" min="0" value="1000"></label>
</p>
<p>💤 Off Time:</p>
<p class="vibrate_off">
<label class="min">Min: <input onchange="save_settings()" type="number" placeholder="100" min="0" value="100"></label>
<label class="max">Max: <input onchange="save_settings()" type="number" placeholder="500" min="0" value="500"></label>
</p>
<span class="info">Values in miliseconds (1000 = 1 second)</span>
</div>
<div id="session">
<h2>Session time:</h2>
<p>⏱️ From Start to Finish in:</p>
<p>
<label><input onchange="save_settings()" id="minutes" type="number" placeholder="0" min="0" value="0"> minutes</label>
<label><input onchange="save_settings()" id="seconds" type="number" placeholder="30" min="0" value="30"> seconds</label>
</p>
</div>
<div id="loop">
<h2>At the session end:</h2>
<label for="loop_restart">
🔁 Restart from Beginning<br>
<input onchange="save_settings()" type="radio" id="loop_restart" name="loop_type" value="restart" checked>
<ul><li></li><li></li><li></li></ul>
<ul><li></li><li></li><li></li></ul>
<ul><li></li><li></li><li></li></ul>
</label>
<label for="loop_continue">
▶️ Continue Uninterrupted<br>
<input onchange="save_settings()" type="radio" id="loop_continue" name="loop_type" value="continue">
<ul><li></li><li></li><li></li></ul>
<ul><li></li><li></li><li></li></ul>
<ul><li></li><li></li><li></li></ul>
</label>
<label for="loop_reverse">
◀️ Play in reverse to Start<br>
<input onchange="save_settings()" type="radio" id="loop_reverse" name="loop_type" value="reverse">
<ul><li></li><li></li><li></li></ul>
<ul><li></li><li></li><li></li></ul>
<ul><li></li><li></li><li></li></ul>
</label>
</div>
<div>
<button id="start" onclick="start()"><span id="restart">Re</span>Start</button>
<button id="stop" onclick="stop()">Stop</button>
</div>
<script src="javascript.js"></script>
</body>
</html>