-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathove_11.html
435 lines (415 loc) · 19.2 KB
/
ove_11.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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Dashboard - OVE 11</title>
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Alata&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Alatsi&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Allerta&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Andika+New+Basic&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Atkinson+Hyperlegible&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Barlow&display=swap">
<link rel="stylesheet" href="assets/fonts/fontawesome-all.min.css">
<link rel="stylesheet" href="assets/css/untitled.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<link rel="stylesheet" href="css/lib/form-wizard/jquery.steps.css">
<link href="css/plugins/c3/c3.min.css" rel="stylesheet">
<script src="https://rawgit.com/kimmobrunfeldt/progressbar.js/1.0.0/dist/progressbar.js"></script>
<link href="https://fonts.googleapis.com/css?family=Raleway:400,300,600,800,900" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="assets/css/loading-bar.css"/>
<script type="text/javascript" src="assets/js/loading-bar.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('.counter-count-sensor').each(function () {
$(this).prop('Counter',0).animate({
Counter: $(this).text()
}, {
duration: 750,
easing: 'swing',
step: function (now) {
$(this).text(now.toFixed(1));
}
});
});
$('.counter-count').each(function () {
$(this).prop('Counter',0).animate({
Counter: $(this).text()
}, {
duration: 650,
easing: 'swing',
step: function (now) {
$(this).text(Math.ceil(now));
}
});
});
setInterval(function() {
var th = $('.dots');
if(th.text().length < 3){
th.text(th.text()+"╹");
}else{
th.text("");
}
}, 700);
var stepsize = 30;
var bar1 = new ProgressBar.Circle(temp_bar1, {
strokeWidth: 9,
color: '#1cc88a',
trailColor: '#97a4b7',
trailWidth: 0.3,
easing: 'easeInOut',
duration: 1200,
text: {
autoStyleContainer: false
},
svgStyle: null,
// Set default step function for all animate calls
step: (state, bar) => {
var tempbar1 = document.getElementById("temp_bar1");
var value = Math.round(bar.value() * stepsize + 135);
if (value > 155) {
bar.path.setAttribute("stroke", "#FF0D0D");
tempbar1.style.setProperty("-webkit-filter", "drop-shadow(0px 0px 5px #FF0D0D)");
bar.setText('<img src="steam.gif" style="width:100px;height:55px;opacity: 0.4;"><br>'+ value + "°C</br>");
} else if (value >= 153) {
bar.path.setAttribute("stroke", "#FF4E11");
tempbar1.style.setProperty("-webkit-filter", "drop-shadow(0px 0px 5px #FF4E11)");
bar.setText(value + "°C");
} else if (value >= 150) {
bar.path.setAttribute("stroke", "#FF8E15");
tempbar1.style.setProperty("-webkit-filter", "drop-shadow(0px 0px 5px #FF8E15)");
bar.setText(value + "°C");
} else if (value >= 147) {
bar.path.setAttribute("stroke", "#FAB733");
tempbar1.style.setProperty("-webkit-filter", "drop-shadow(0px 0px 5px #FAB733)");
bar.setText(value + "°C");
} else if (value >= 145) {
bar.path.setAttribute("stroke", "#ACB334");
tempbar1.style.setProperty("-webkit-filter", "drop-shadow(0px 0px 5px #ACB334)");
bar.setText(value + "°C");
} else {
bar.path.setAttribute("stroke", "#69B34C");
tempbar1.style.setProperty("-webkit-filter", "drop-shadow(0px 0px 5px #69B34C)");
bar.setText('<img src="snow.gif" style="width:120px;height:120px;opacity: 1.0;border-radius: 50%;"><div style="position: absolute;top: 30%;width: 100%;text-align: center;">'+ value + "°C</div>");
}
tempbar1.style.setProperty("width", "270px");
}
});
bar1.text.style.fontSize = '30px';
bar1.text.style.color = '#FFFFFF';
bar1.animate(((143)-135.0)/30.0);
Chart.Legend.prototype.afterFit = function() {
this.height = this.height + 20;
};
var ctxL = document.getElementById("lineChart").getContext('2d');
var myLineChart = new Chart(ctxL, {
type: 'line',
data: {
labels: ["10:13:09", "10:13:12", "10:13:15", "10:13:18", "10:13:21", "10:13:24", "10:13:27"],
datasets: [{
label: "P1",
data: [65, 59, 80, 81, 56, 55, 40],
borderColor: [
'rgba(44,217,255, 1)',
],
borderWidth: 2.5,
pointBorderColor: 'rgba(44,217,255, 1)'
}
]
},
options: {
responsive: true,
legend: {
labels: {
fontColor: "rgba(255,255,255,0.8)",
usePointStyle: true,
boxWidth: 8,
padding: 30
}
},
scales: {
yAxes: [{
ticks: {
fontColor: "rgba(255,255,255,0.8)",
stepSize: 50
},
gridLines: {
color: "#555670",
borderDash: [5, 5],
zeroLineColor: 'transparent'
}
}],
xAxes: [{
ticks: {
fontColor: "rgba(255,255,255,0.8)"
},
gridLines: {
display: false,
zeroLineColor: 'transparent'
}
}]
},
tooltips: {
enabled: true,
mode: 'single',
callbacks: {
label: function(tooltipItems, data) {
return tooltipItems.yLabel + ' °C';
}
}
}
}
});
$('#ovennum').hover(function(){
$(this).removeClass("border-online").addClass("border-super-online");
}, function(){
$(this).removeClass("border-super-online").addClass("border-online");
});
$('#ovennum').click(function() {
$('#oven_list').addClass("show");
});
$(document).on('click', function(event) {
if (!$(event.target).closest('#ovennum').length) {
$('#oven_list').removeClass("show");
}
});
$('#gohome').click(function(){
window.location.href='index.html';
})
});
</script>
</head>
<body id="page-top">
<div id="wrapper">
<div class="d-flex flex-column" id="content-wrapper" style="background-image: url('wallpaper.png'); background-repeat: no-repeat; background-attachment: fixed; background-size: 100% 100%;">
<div id="content">
<div class="container-fluid">
<div class="d-sm-flex justify-content-between align-items-center mb-4 mt-4">
<h1 style="color: rgb(255,255,255);font-size: 15px;font-family: Alata, sans-serif;font-weight: bold;"><span style="cursor: pointer;" id="gohome"><i class="fas fa-home" style="color:rgba(255,255,255,1); font-size: 15px;"></i> Dashboard </span>/ OVE 11</h1>
</div>
<div class="row">
<div class="col-md-6 col-xl-3 mb-2">
<div class="card py-2 border-online mb-4" id="ovennum" style="cursor: pointer;">
<div class="card-body">
<div class="row align-items-center no-gutters">
<div class="col me-1" style="margin-left: 13px;">
<div class="text-primary fw-bold text-xs mb-1"><span style="color: rgb(28,200,138);font-size: 15px;">Currently displaying</span></div>
<div class="text-dark fw-bold h4 mb-0"><span style="color: rgb(255,255,255);">OVE 11</span></div>
</div>
<div class="col-auto" style="margin-right: 6px;">
<span class="fa-stack fa-2x">
<i class="fas fa-square fa-stack-1x" style="color:rgba(28,200,138,0.2); font-size: 55px;"></i>
<span class="dots" style="color: rgba(28,200,138,1); font-size: 17px;font-weight: bold; padding-left: 27px;"></span>
</span>
</div>
</div>
</div>
</div>
<div class="dropdown-menu animated--grow-in" id="oven_list" style="overflow: auto;max-height: 210px;">
<a class="dropdown-item disabled">Please select one ...</a>
<a class="dropdown-item" href="ove_06.html">OVE 06</a>
<a class="dropdown-item" href="ove_11.html">OVE 11</a>
<a class="dropdown-item" href="#">OVE 08</a>
<a class="dropdown-item" href="#">OVE 09</a>
<a class="dropdown-item" href="#">OVE 12</a>
<a class="dropdown-item" href="#">OVE 13</a>
<a class="dropdown-item" href="#">OVE 14</a>
<a class="dropdown-item" href="#">OVE 69</a>
</div>
</div>
<div class="col-md-6 col-xl-3 mb-2">
<div class="card py-2 no-border mb-4">
<div class="card-body">
<div class="row align-items-center no-gutters">
<div class="col me-1" style="margin-left: 13px;">
<div class="text-primary fw-bold text-xs mb-1"><span style="color: rgb(248,3,137);font-size: 15px;">Location</span></div>
<div class="text-dark fw-bold h4 mb-0"><span style="color: rgb(255,255,255);">P13L2</span></div>
</div>
<div class="col-auto" style="margin-right: 6px;">
<span class="fa-stack fa-2x">
<i class="fas fa-square fa-stack-1x" style="color:rgba(248,3,137,0.2); font-size: 55px;"></i>
<i class="fas fa-map-marker-alt fa-stack-1x" style="color:rgba(248,3,137,1); font-size: 21px;"></i>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-xl-3 mb-2">
<div class="card py-2 no-border mb-4">
<div class="card-body">
<div class="row align-items-center no-gutters">
<div class="col me-1" style="margin-left: 13px;">
<div class="text-primary fw-bold text-xs mb-1"><span style="color: rgb(248,3,137);font-size: 15px;">Active Mode</span></div>
<div class="text-dark fw-bold h4 mb-0"><span style="color: rgb(255,255,255);">RPI05</span></div>
</div>
<div class="col-auto" style="margin-right: 6px;">
<span class="fa-stack fa-2x">
<i class="fas fa-square fa-stack-1x" style="color:rgba(248,3,137,0.2); font-size: 55px;"></i>
<i class="fas fa-microchip fa-stack-1x" style="color:rgba(248,3,137,1); font-size: 21px;"></i>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-xl-3 mb-2">
<div class="card py-2 no-border mb-4">
<div class="card-body">
<div class="row align-items-center no-gutters">
<div class="col me-1" style="margin-left: 13px;">
<div class="text-primary fw-bold text-xs mb-1"><span style="color: rgb(248,3,137);font-size: 15px;">Business Unit</span></div>
<div class="text-dark fw-bold h4 mb-0"><span style="color: rgb(255,255,255);">TEST</span></div>
</div>
<div class="col-auto" style="margin-right: 6px;">
<span class="fa-stack fa-2x">
<i class="fas fa-square fa-stack-1x" style="color:rgba(248,3,137,0.2); font-size: 55px;"></i>
<i class="fas fa-sitemap fa-stack-1x" style="color:rgba(248,3,137,1); font-size: 21px;"></i>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-3 col-xl-3">
<div class="card mb-4 no-border" style="border: none;">
<div class="card-body">
<div class="row" style="margin-left: 7px; margin-top: 7px;">
<h1 style="color: rgb(255,255,255);font-size: 20px;font-family: Alata, sans-serif;font-weight: bold;">Current Temperature</h1>
</div>
<div class="row mb-4" style="margin-left: 7px; margin-top: 0px;">
<h1 style="color: rgb(151,164,183);font-size: 15px;font-family: Abel, sans-serif;">in degree Celcius (°C)</h1>
</div>
<div class="row" style="margin-left: 7px; margin-right: 7px;">
<div class="col p-2">
<div class="row text-center mb-4">
<div id="temp_bar1" style="margin: auto;"></div>
</div>
<div class="row">
<div class="col mr-0 pr-0" style="margin-top: 19px;">
<h1 align="right" class="pointheader" style="font-size: 20px;font-family: Abel, sans-serif; color: #FFFFFF;">POINT</h1>
</div>
<div class="col p-0 ml-0" align="left">
<span class="fa-stack fa-2x">
<i class="far fa-circle fa-stack-1x" style="color:#01ffff; font-size: 35px;"></i>
<h1 class="fa-stack-1x" style="font-size: 16px;font-family: Abel, sans-serif; color: #FFFFFF;">1</h1>
</span>
</div>
</div>
</div>
</div>
<div class="row mb-2" style="margin-left: 7px; margin-top: 15px;">
<h1 style="color: rgb(151,164,183);font-size: 13px;font-family: Abel, sans-serif; font-style: italic; letter-spacing: 1px;">MIN Temperature - 0°C</h1>
<h1 style="color: rgb(151,164,183);font-size: 13px;font-family: Abel, sans-serif; font-style: italic; letter-spacing: 1px;">MAX Temperature - 200°C</h1>
<h1 style="color: rgb(151,164,183);font-size: 13px;font-family: Abel, sans-serif; font-style: italic; letter-spacing: 1px;">Safe Operating Temperature - 155°C</h1>
</div>
</div>
</div>
</div>
<div class="col-md-5 col-xl-5">
<div class="card no-border mb-4" style="border: none;">
<div class="card-body">
<div class="row" style="margin-left: 7px; margin-top: 7px;">
<h1 style="color: rgb(255,255,255);font-size: 20px;font-family: Alata, sans-serif;font-weight: bold;">Live Temperature</h1>
</div>
<div class="row mb-0" style="margin-left: 7px; margin-top: 0px;">
<h1 style="color: rgb(151,164,183);font-size: 15px;font-family: Abel, sans-serif;">in degree Celcius (°C)</h1>
</div>
<div class="row text-center mb-3" style="margin-left: 7px; margin-right: 7px;">
<div>
<canvas id="lineChart" height="227px"></canvas>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-xl-4">
<div class="card no-border mb-0" style="border: none;">
<div class="card-body">
<div class="row" style="margin-left: 7px; margin-top: 7px;">
<h1 style="color: rgb(255,255,255);font-size: 20px;font-family: Alata, sans-serif;font-weight: bold;">Temperature History</h1>
</div>
<div class="row mb-3" style="margin-left: 7px; margin-top: 0px;">
<h1 style="color: rgb(151,164,183);font-size: 15px;font-family: Abel, sans-serif;">in tabular format</h1>
</div>
<div class="row mb-1" style="margin-left: 15px; margin-right: 15px;">
<table class="table table-hover table-responsive" id="temp_hist">
<thead>
<tr style="font-size: 11px; font-weight: bold;">
<th>TIMESTAMP</th>
<th>TEMPERATURE (°C)</th>
<th>POINT</th>
</tr>
</thead>
<tbody>
<tr class="data">
<td>2022-06-30 13:46:15</td>
<td>149.00</td>
<td>TC1</td>
</tr>
<tr class="data">
<td>2022-06-30 13:46:12</td>
<td>151.00</td>
<td>TC1</td>
</tr>
<tr class="data">
<td>2022-06-30 13:46:09</td>
<td>151.00</td>
<td>TC1</td>
</tr>
<tr class="data">
<td>2022-06-30 13:46:06</td>
<td>152.00</td>
<td>TC1</td>
</tr>
<tr class="data">
<td>2022-06-30 13:46:03</td>
<td>150.00</td>
<td>TC1</td>
</tr>
</tbody>
</table>
</div>
<div class="row" style="margin-left: auto; margin-right: auto;">
<nav aria-label="Page navigation example" style="font-size: 14px; font-weight: bold;">
<ul class="pagination justify-content-end">
<li class="page-item">
<a class="page-link" href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
<span class="sr-only">Previous</span>
</a>
</li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item">
<a class="page-link" href="#" aria-label="Next">
<span aria-hidden="true">»</span>
<span class="sr-only">Next</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><a class="border rounded d-inline scroll-to-top" href="#page-top"><i class="fas fa-angle-up"></i></a>
</div>
<script src="js/jquery-3.3.1.js"></script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/chart.min.js"></script>
<script src="assets/js/chartjs-plugin-annotation.min.js"></script>
<script src="assets/js/bs-init.js"></script>
<script src="assets/js/theme.js"></script>
</body>
</html>