-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
199 lines (182 loc) · 7.17 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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, shrink-to-fit=no"
/>
<!-- Page description -->
<meta
name="description"
content="Switch to smart house company offers at an affordable price the opportunity to buy software and installation services. They allow, at the stage of building a house, to create a friendly and functional place that can be controlled from anywhere in the world."
/>
<!-- Bootstrap CSS -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<!-- Fontawesome icons -->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="./styles/style.css" />
<link rel="stylesheet" href="./styles/index.css" />
<title>Switch</title>
</head>
<body>
<!-- HAMBURGER MENU -->
<div class="hamburger">
<div class="button_active_menu">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<div hidden class="login-menu">
<a href="./login.html">Login</a>
</div>
<div class="wrapper d-flex align-items-center justify-content-end">
<div class="container d-flex flex-column position-relative">
<!-- Logo -->
<a class="d-flex" href="index.html">
<img
class="logo ml-auto"
src="./assets/images/logo.png"
alt="Company logo"
/>
</a>
<!-- Navigation bar -->
<nav class="row">
<ul
class="navigation d-flex align-items-center justify-content-between text-center text-uppercase list-unstyled"
>
<a class="arrow-left"><i class="fas fa-chevron-left"></i></a>
<li class="rounded-pill col"><a>Room 1</a></li>
<li class="rounded-pill col"><a>Kitchen</a></li>
<li class="rounded-pill col"><a>Basement</a></li>
<li class="rounded-pill col"><a>Garage</a></li>
<li id="add-room" class="rounded-circle add-room">
<a><i class="fas fa-plus"></i></a>
</li>
<a class="arrow-right"><i class="fas fa-chevron-right"></i></a>
</ul>
</nav>
<!-- Dashboard -->
<div class="dashboard row">
<!-- 1st box - room status -->
<div class="col-4">
<div id="box-1" class="box position-relative">
<div
class="box-content d-flex flex-column align-items-center justify-content-around"
>
<div
class="temperature measurements-box d-flex align-items-center justify-content-between"
>
<div class="thermometer" aria-hidden="true"></div>
<div class="data">
<span id="temperature" class="d-block">22 °C</span>
<p>current temp.</p>
</div>
</div>
<div
class="humidity measurements-box d-flex align-items-center justify-content-between"
>
<div class="river" aria-hidden="true"></div>
<div class="data">
<span id="humidity" class="d-block">15 %</span>
<p>air humidity</p>
</div>
</div>
</div>
</div>
</div>
<!-- 2nd box - sufit -->
<div class="col-4">
<div id="box-2" class="box position-relative">
<!-- ON / OFF button -->
<a
class="on button rounded-pill d-flex align-items-center justify-content-between position-absolute"
>
<div class="rounded-circle on-off-control"></div>
<p>ON</p>
</a>
<div class="box-content d-flex flex-column align-items-center">
<img
class="lightbulb"
src="assets/images/lightbulb.png"
alt="lightbulb"
aria-hidden="true"
/>
<p class="text-uppercase box-title">Halogeny</p>
<div class="lights d-flex align-items-center">
<a class="arrow-left"><i class="fas fa-chevron-left"></i></a>
<span style="background: #71da80;"></span>
<span style="background: #71dad4;"></span>
<span style="background: #7187da;"></span>
<span style="background: #a071da;"></span>
<span style="background: #da71d1;"></span>
<span style="background: #da7176;"></span>
<span style="background: #d64949;"></span>
<a class="arrow-right">
<i class="fas fa-chevron-right"></i>
</a>
</div>
<div class="lights d-flex align-items-center">
<span style="background: #fff;"></span>
<span style="background: #e3e3e3;"></span>
<span style="background: #c6c6c6;"></span>
<span style="background: #aaaaaa;"></span>
<span style="background: #8d8d8d;"></span>
</div>
</div>
</div>
</div>
<!-- 3rd box - halogeny -->
<div class="col-4">
<div id="box-3" class="box position-relative halogeny">
<!-- ON / OFF button -->
<a
class="off button rounded-pill d-flex align-items-center justify-content-between position-absolute"
>
<div class="rounded-circle on-off-control"></div>
<p>OFF</p>
</a>
<div class="box-content d-flex flex-column align-items-center">
<img
class="lightbulb"
src="assets/images/lightbulb.png"
alt="lightbulb"
aria-hidden="true"
/>
<p class="text-uppercase box-title">Sufit</p>
<div class="lights">
<span style="background: #fff;"></span>
<span style="background: #e3e3e3;"></span>
<span style="background: #c6c6c6;"></span>
<span style="background: #aaaaaa;"></span>
<span style="background: #8d8d8d;"></span>
</div>
</div>
</div>
</div>
<!-- 4th box - add device -->
<div class="col-4">
<div id="box-4" class="box position-relative add-device">
<div
class="box-content d-flex flex-column align-items-center justify-content-center"
>
<a><img src="./assets/images/plus.png" /></a>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="./index.js"></script>
</body>
</html>