-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (42 loc) · 2.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Lato&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
<title>Smart Heating</title>
</head>
<body id="body" class="body">
<h1 style="font-size: 3rem; text-align: center;">Smart Heating System</h1>
<div class="firstbox">
<h2 style="font-size: 2rem;" id="temperature"></h2>
<h2 id="humidity" style="font-size: 2rem;"></h2>
<label style="margin-top: 20px; font-size: 1.2rem;">Valve position</label>
<div class="boxItems">
<button id="dec" class="controlBtn radiatorBtn">-</button>
<div class="radiatorControl">
<input type="number" id="setting" min = "0" max = "6" readonly class="inputField" hidden>
<div class="triangle"></div>
<img class="radiatorImg" id="radiatorImg" src="./images/Radiator.png" alt="Radiator valve">
</div>
<button id="inc" class="controlBtn radiatorBtn">+</button>
</div>
</div>
<div class="secondbox">
<h3 style="font-size: 2rem;">Auto Mode</h3> <h3 id="modeText" hidden></h3>
<input type="checkbox" id="switch" class="checkbox">
<label for="switch" class="switch-label"></label>
<label style="margin-top: 10px; font-size: 1.2rem;">Wanted temperature</label>
<div class="boxItems">
<button id="decTemp" class="controlBtn">-</button>
<input type="number" id="wantedTemp" min = "18" max = "32" readonly class="inputField" hidden>
<p id="temperatureValue" class="temperatureValue"></p>
<button id="incTemp" class="controlBtn">+</button>
</div>
</div>
<script src="./index.js" type="module"></script>
</body>
</html>