-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
58 lines (52 loc) · 2.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>myHeater</title>
<link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico">
<link rel="stylesheet" href="assets/css/stylesheet.css"/>
<script src="/assets/js/heaterfunc.js"></script>
<script src="/assets/js/statscounter.js"></script>
</head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<body style="margin: 0;">
<div class="heater-box">
<div class="who-alert"><p></p></div>
<div class="who"><p></p></div>
<img src="assets/img/heater1.png" class="heater">
</div>
<h1></h1>
<div class="temp-box">
<p><b class="temp">30</b>°C</p>
</div>
<div class="heater-box">
<button class="plus" id=".plus" onclick="increaseTemp()">+</button>
<button class="minus" id=".minus" onclick="decreaseTemp()">-</button>
<button id=".brown-noise2" value="PLAY" onclick="on()">ON</button>
<button id=".brown-noise3" value="STOP" onclick="off()" style="opacity: 20%;">OFF</button>
<audio id="audio" src="assets/sound/brown-noise.ogg" autoplay loop></audio>
</div>
<div class="heater-box" style="margin-top: 20px;">
</div>
<div class="dialogs">
<!-- Stats Dialog -->
<dialog style="font-size: 11px;">
<p>+ button pressed count : <span class="plusCount">0</span></p>
<p>- button pressed count : <span class="minusCount">0</span></p>
<button class="close-dialog1" autofocus>Close</button>
</dialog>
<span class="show-dialog1">Stats</span>
<!-- About Dialog -->
<dialog style="font-size: 11px;">
<p>- Brown noise generator to focus and relax to your activities</p>
<p>- Click On button to turn on heater, + - Button to control the temp</p>
<a href="https://github.com/siwoolol/myheater">- Source Code On GitHub</a>
<button class="close-dialog2" autofocus>Close</button>
</dialog>
<span class="show-dialog2">About</span>
</div>
</body>
</html>