-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (40 loc) · 1.64 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="public/css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"
integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
<title>Thermostat</title>
</head>
<body>
<header>
<h1>THERMOSTAT</h1>
<progress id="status-bar"></progress>
</header>
<section>
<div class="status">
<h1 id="temperature"></h1>
</div>
<div class="options">
<div class="plus-minus">
<button id="temperature-down"><i class="fas fa-minus"></i></button>
<button id="temperature-up"><i class="fas fa-plus"></i></button>
</div>
<div class="reset">
<button id="temperature-reset"><i class="fas fa-history"></i><br><span class="button-name">RESET</span></button>
</div>
<div class="power-options">
<h2>Power saving mode: <br> <span id="power-saving-status">ON</span></h2>
<div class="power-buttons">
<button id="power-saving-on"><i class="fas fa-toggle-on"></i><br><span class="button-name">ON</span></button>
<button id="power-saving-off"><i class="fas fa-toggle-off"></i><br><span class="button-name">OFF</span></button>
</div>
</div>
</div>
</section>
<script type="text/javascript" src="src/Thermostat.js"></script>
<script language="JavaScript" type="text/javascript" src="src/interface.js"></script>
</body>
</html>