-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
383 lines (363 loc) · 16.4 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Dashboard for IoT</title>
<!-- plugins:css -->
<link rel="stylesheet" href="vendors/feather/feather.css">
<link rel="stylesheet" href="vendors/mdi/css/materialdesignicons.min.css">
<link rel="stylesheet" href="vendors/ti-icons/css/themify-icons.css">
<link rel="stylesheet" href="vendors/typicons/typicons.css">
<link rel="stylesheet" href="vendors/simple-line-icons/css/simple-line-icons.css">
<link rel="stylesheet" href="vendors/css/vendor.bundle.base.css">
<!-- endinject -->
<!-- Plugin css for this page -->
<link rel="stylesheet" href="vendors/datatables.net-bs4/dataTables.bootstrap4.css">
<link rel="stylesheet" href="js/select.dataTables.min.css">
<!-- End plugin css for this page -->
<!-- inject:css -->
<link rel="stylesheet" href="css/vertical-layout-light/style.css">
<!-- endinject -->
<link rel="shortcut icon" href="images/favicon.png" />
<style>
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}
/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}
/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 20px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
input:checked+.slider {
background-color: #2196F3;
}
input:focus+.slider {
box-shadow: 0 0 1px #2196F3;
}
input:checked+.slider:before {
-webkit-transform: translateX(20px);
-ms-transform: translateX(20px);
transform: translateX(20px);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}
</style>
</head>
<body>
<!-- partial:partials/_navbar.html -->
<nav class="navbar default-layout col-lg-12 col-12 p-0 fixed-top d-flex align-items-top flex-row">
<div class="text-center navbar-brand-wrapper d-flex align-items-center justify-content-start">
<div class="me-3">
<button class="navbar-toggler navbar-toggler align-self-center" type="button" data-bs-toggle="minimize">
<span class="icon-menu"></span>
</button>
</div>
<div>
<a class="navbar-brand brand-logo" href="index.html">
<img src="images/logo.svg" alt="logo" />
</a>
<a class="navbar-brand brand-logo-mini" href="index.html">
<img src="images/logo-mini.svg" alt="logo" />
</a>
</div>
</div>
<div class="navbar-menu-wrapper d-flex align-items-top">
<ul class="navbar-nav">
<li class="nav-item font-weight-semibold d-none d-lg-block ms-0">
<h1 class="welcome-text">Good Morning, <span class="text-black fw-bold">Hong Quang</span></h1>
<h3 class="welcome-sub-text">Your performance summary this week </h3>
</li>
</ul>
<ul class="navbar-nav ms-auto">
<li class="nav-item d-none d-lg-block">
<div id="datepicker-popup" class="input-group date datepicker navbar-date-picker">
<span class="input-group-addon input-group-prepend border-right">
<span class="icon-calendar input-group-text calendar-icon"></span>
</span>
<input type="text" class="form-control">
</div>
</li>
<li class="nav-item">
<form class="search-form" action="#">
<i class="icon-search"></i>
<input type="search" class="form-control" placeholder="Search Here" title="Search here">
</form>
</li>
<li class="nav-item dropdown">
<a class="nav-link count-indicator" id="notificationDropdown" href="#" data-bs-toggle="dropdown">
<i class="icon-mail icon-lg"></i>
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link count-indicator" id="countDropdown" href="#" data-bs-toggle="dropdown"
aria-expanded="false">
<i class="icon-bell"></i>
<span class="count"></span>
</a>
</li>
<li class="nav-item dropdown d-none d-lg-block user-dropdown">
<a class="nav-link" id="UserDropdown" href="#" data-bs-toggle="dropdown" aria-expanded="false">
<img class="img-xs rounded-circle" src="images/dashboard/darkBG.png" alt="Profile image">
</a>
</li>
</ul>
<button class="navbar-toggler navbar-toggler-right d-lg-none align-self-center" type="button"
data-bs-toggle="offcanvas">
<span class="mdi mdi-menu"></span>
</button>
</div>
</nav>
<!-- partial -->
<div class="container-fluid page-body-wrapper">
<!-- partial:partials/_settings-panel.html -->
<div class="theme-setting-wrapper">
<div id="settings-trigger"><i class="ti-settings"></i></div>
<div id="theme-settings" class="settings-panel">
<i class="settings-close ti-close"></i>
<p class="settings-heading">SIDEBAR SKINS</p>
<div class="sidebar-bg-options selected" id="sidebar-light-theme">
<div class="img-ss rounded-circle bg-light border me-3"></div>Light
</div>
<div class="sidebar-bg-options" id="sidebar-dark-theme">
<div class="img-ss rounded-circle bg-dark border me-3"></div>Dark
</div>
<p class="settings-heading mt-2">HEADER SKINS</p>
<div class="color-tiles mx-0 px-4">
<div class="tiles success"></div>
<div class="tiles warning"></div>
<div class="tiles danger"></div>
<div class="tiles info"></div>
<div class="tiles dark"></div>
<div class="tiles default"></div>
</div>
</div>
</div>
<!-- partial -->
<!-- partial:partials/_sidebar.html -->
<nav class="sidebar sidebar-offcanvas" id="sidebar">
<ul class="nav">
<li class="nav-item">
<a class="nav-link" href="index.html">
<i class="mdi mdi-grid-large menu-icon"></i>
<span class="menu-title">Dashboard</span>
</a>
</li>
</ul>
</nav>
<!-- partial -->
<div class="main-panel">
<div class="content-wrapper">
<div class="row">
<div class="col-sm-12">
<div class="home-tab">
<div class="d-sm-flex align-items-center justify-content-between border-bottom">
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a class="nav-link active ps-0" id="home-tab" data-bs-toggle="tab" href="#overview" role="tab"
aria-controls="overview" aria-selected="true">Overview</a>
</li>
<li class="nav-item">
<a class="nav-link border-0" id="more-tab" data-bs-toggle="tab" href="#more" role="tab"
aria-selected="false">More</a>
</li>
</ul>
<div>
<div class="btn-wrapper">
<a href="#" class="btn btn-otline-dark align-items-center"><i class="icon-share"></i> Share</a>
<a href="#" class="btn btn-otline-dark"><i class="icon-printer"></i> Print</a>
<a href="#" class="btn btn-primary text-white me-0"><i class="icon-download"></i> Export</a>
<a href="#" class="btn btn-primary text-white me-0"><i class="icon-download"></i> Add</a>
</div>
</div>
</div>
<div class="tab-content tab-content-basic">
<div class="tab-pane fade show active" id="overview" role="tabpanel" aria-labelledby="overview">
<div class="row">
<div class="col-sm-12">
<div class="statistics-details d-flex align-items-center justify-content-between">
<div>
<p class="statistics-title">Bounce Rate</p>
<h3 class="rate-percentage">32.53%</h3>
<p class="text-danger d-flex"><i class="mdi mdi-menu-down"></i><span>-0.5%</span></p>
</div>
<div>
<p class="statistics-title">Page Views</p>
<h3 class="rate-percentage">7,682</h3>
<p class="text-success d-flex"><i class="mdi mdi-menu-up"></i><span>+0.1%</span></p>
</div>
<div>
<p class="statistics-title">New Sessions</p>
<h3 class="rate-percentage">68.8</h3>
<p class="text-danger d-flex"><i class="mdi mdi-menu-down"></i><span>68.8</span></p>
</div>
<div class="d-none d-md-block">
<p class="statistics-title">Avg. Time on Site</p>
<h3 class="rate-percentage">2m:35s</h3>
<p class="text-success d-flex"><i class="mdi mdi-menu-down"></i><span>+0.8%</span></p>
</div>
<div class="d-none d-md-block">
<p class="statistics-title">New Sessions</p>
<h3 class="rate-percentage">68.8</h3>
<p class="text-danger d-flex"><i class="mdi mdi-menu-down"></i><span>68.8</span></p>
</div>
<div class="d-none d-md-block">
<p class="statistics-title">Avg. Time on Site</p>
<h3 class="rate-percentage">2m:35s</h3>
<p class="text-success d-flex"><i class="mdi mdi-menu-down"></i><span>+0.8%</span></p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="row">
<div class="col-4 d-flex align-items-start justify-content-around flex-column">
<div class="card card-rounded mb-2">
<div class="card-body">
<div class="d-flex align-item-center justify-content-around">
<label class="switch" style="transform: translateY(16px)">
<input type="checkbox" id="checkCurtains">
<span class="slider round"></span>
</label>
<div style="margin-left: 26px">
<h5 class="card-title card-title-dash">Button Curtains</h5>
<span class="text-small">You can change mode of curtains by click toggle button</span>
</div>
</div>
</div>
</div>
<div class="card card-rounded mb-2">
<div class="card-body">
<div class="d-flex align-items-center justify-content-around">
<label class="switch">
<input type="checkbox" id="checkDoor">
<span class="slider round"></span>
</label>
<div style="margin-left: 26px">
<h5 class="card-title card-title-dash">Button Door</h5>
<span class="text-small">You can change mode of door by click toggle button</span>
</div>
</div>
</div>
</div>
<div class="card card-rounded mb-2">
<div class="card-body">
<div class="d-flex align-items-center justify-content-around">
<label class="switch">
<input type="checkbox" id="checkLight">
<span class="slider round"></span>
</label>
<div style="margin-left: 26px">
<h5 class="card-title card-title-dash">Button Light</h5>
<span class="text-small">You can change mode of light by click toggle button</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-8">
<div id="0" class="card card-rounded mb-2 ">
<h4 class="card-title card-title-dash" style="transform: translate(26px, 10px)">
Performance Line Chart</h4>
<canvas id="myChart0"></canvas>
</div>
<div id="1" class="card card-rounded mb-2 d-none">
<h4 class="card-title card-title-dash" style="transform: translate(26px, 10px)">
Performance Line Chart</h4>
<canvas id="myChart1"></canvas>
</div>
<div id="2" class="card card-rounded mb-2 d-none">
<h4 class="card-title card-title-dash" style="transform: translate(26px, 10px)">
Performance Line Chart</h4>
<canvas id="myChart2"></canvas>
</div>
<div id="3" class="card card-rounded mb-2 d-none">
<h4 class="card-title card-title-dash" style="transform: translate(26px, 10px)">
Performance Line Chart</h4>
<canvas id="myChart3"></canvas>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- content-wrapper ends -->
<!-- partial:partials/_footer.html -->
<footer class="footer">
<div class="d-sm-flex justify-content-center justify-content-sm-between">
<span class="text-muted text-center text-sm-left d-block d-sm-inline-block">Go to github: <a
href="https://github.com/HongQuang231/" target="_blank">https://github.com/HongQuang231</a></span>
<span class="float-none float-sm-right d-block mt-1 mt-sm-0 text-center">Copyright © 2022. All rights
reserved.</span>
</div>
</footer>
<!-- partial -->
</div>
<!-- main-panel ends -->
</div>
<!-- page-body-wrapper ends -->
</div>
<!-- container-scroller -->
<!-- plugins:js -->
<script src="vendors/js/vendor.bundle.base.js"></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<script src="vendors/chart.js/Chart.min.js"></script>
<script src="vendors/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="vendors/progressbar.js/progressbar.min.js"></script>
<!-- End plugin js for this page -->
<!-- inject:js -->
<!-- endinject -->
<!-- Custom js for this page-->
<script src="js/addChart.js"></script>
<script src="js/dashboard.js"></script>
<!-- <script src="path/to/chartjs/dist/chart.min.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.8.0/chart.min.js"></script>
<!-- <script src="path/to/luxon/dist/luxon.min.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/luxon/2.4.0/luxon.min.js"></script>
<!-- <script src="path/to/chartjs-adapter-luxon/dist/chartjs-adapter-luxon.min.js"></script> -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/chartjs-adapter-luxon/1.0.0-beta.1/chartjs-adapter-luxon.min.js"></script>
<!-- <script src="path/to/chartjs-plugin-streaming/dist/chartjs-plugin-streaming.min.js"></script> -->
<script
src="https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming@2.0.0/dist/chartjs-plugin-streaming.min.js"></script>
<!-- End custom js for this page-->
</body>
</html>