forked from decoded-cipher/door-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
137 lines (98 loc) · 4.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Inovus Smart Door</title>
<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=Poppins:wght@400;500;600&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container-fluid main-container">
<div class="text-center">
<h2>Smart Door Dashboard</h2>
<p>An experimental information dashboard for a custom built Smart Door at Inovus Labs</p>
</div>
<div class="row">
<div class="col-3">
<div class="shadow-sm rounded border">
<div class="p-3">
<h5>Overview</h5>
<div class="overview">
<div class="border rounded px-3 py-1">
<span class="status-label">Status</span>
<p id="door-status">Door Locked</p>
</div>
<div class="border rounded px-3 py-1">
<span class="duration-label">No: of door opens, today</span>
<p id="time-duration-week">12 times</p>
</div>
<div class="border rounded px-3 py-1">
<span class="duration-label">Time remained open, today</span>
<p id="time-duration">2 hours 32 mins</p>
</div>
</div>
</div>
</div>
</div>
<div class="col-6">
<div class="shadow-sm rounded border">
<div class="p-3">
<h5>Recent Activity</h5>
<div class="activity">
<div id="activity-items-holder" class="d-flex flex-column gap-2">
</div>
</div>
</div>
</div>
</div>
<div class="col-3">
<div class="shadow-sm rounded border">
<div class="p-3">
<h5>Project Details</h5>
<div class="details">
<div class="border rounded px-3 py-2 contributors">
<span>Contributors</span>
<div class="d-flex justify-content-between align-items-center">
<p>Nikhil T Das</p>
<span>(Hardware & IoT)</span>
</div>
<div class="d-flex justify-content-between align-items-center">
<p>Arjun Krishna</p>
<span>(Software & IoT)</span>
</div>
<div class="d-flex justify-content-between align-items-center">
<p>Badhusha Shaji</p>
<span>(Support)</span>
</div>
<div class="d-flex justify-content-between align-items-center">
<p>Abhishek V Gopal</p>
<span>(Support)</span>
</div>
</div>
<div class="border rounded px-3 py-2">
<div class="d-flex justify-content-between align-items-center">
<p><a href="">GitHub Repo</a></p>
<p><a href="">Project Story</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="justify-content-end">
<div id="chart"></div>
</div>
<div></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
<script src="https://MomentJS.com/downloads/moment.js"></script>
<script src="heatmap.js"></script>
<script src="activity.js"></script>
</body>
</html>