-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.html
293 lines (274 loc) · 10.9 KB
/
template.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Home Automation | </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/w3.css">
<link rel="stylesheet" href="assets/css/css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css">
</head>
<body class="w3-light-grey">
<!-- Top container -->
<div class="w3-bar w3-top w3-black w3-large" style="z-index:4">
<button class="w3-bar-item w3-button w3-hide-large w3-hover-none w3-hover-text-light-grey" onclick="w3_open();"><i
class="material-icons fa-bars" title="Menu"></i> </button>
<span class="w3-bar-item w3-right">HomeAutomation</span>
</div>
<!-- Sidebar/menu -->
<nav class="w3-sidebar w3-collapse w3-white w3-animate-left" style="z-index: 3; width: 300px; display: none;"
id="mySidebar"><br>
<div class="w3-container w3-row">
<div class="w3-col s4">
<img src="./index_files/avatar2.png" class="w3-circle w3-margin-right" style="width:46px">
</div>
<div class="w3-col s8 w3-bar">
<span>Welcome, <b id="holder/name"></b></span><br>
<span><i id="holder/location"></i></span><br>
<a href="#" class="w3-bar-item w3-button w3-right"><i class="material-icons fa-pencil"></i></a>
</div>
</div>
<hr>
<div class="w3-container">
<h5>Dashboard</h5>
</div>
<div class="w3-bar-block">
<a href="#" class="w3-bar-item w3-button w3-padding-16 w3-hide-large w3-dark-grey w3-hover-black" onclick="w3_close()" title="close menu"><i class="material-icons fa-remove fa-fw"></i> Close Menu</a>
<a href="#" class="w3-bar-item w3-button w3-padding w3-blue"><i class="material-icons fa-users fa-fw"></i> Home</a>
<a href="#" class="w3-bar-item w3-button w3-padding"><i class="material-icons fa-users fa-fw"></i> Account</a>
<a href="#" class="w3-bar-item w3-button w3-padding"><i class="material-icons fa-bullseye fa-fw"></i> Device Control</a>
<a href="#" class="w3-bar-item w3-button w3-padding"><i class="material-icons fa-diamond fa-fw"></i> Finance</a>
<a href="#" class="w3-bar-item w3-button w3-padding"><i class="material-icons fa-bell fa-fw"></i> Insights</a>
<a href="#" class="w3-bar-item w3-button w3-padding"><i class="material-icons fa-eye fa-fw"></i> Logs</a>
<a href="#" class="w3-bar-item w3-button w3-padding"><i class="material-icons fa-cog fa-fw"></i> Settings</a><br><br>
</div>
</nav>
<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="w3_close()" style="cursor: pointer; display: none;"
title="close side menu" id="myOverlay"></div>
<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left:300px;margin-top:43px;">
<!-- Header -->
<header class="w3-container" style="padding-top:22px">
<h5><b><i class="material-icons fa-dashboard"></i> My Dashboard</b></h5>
</header>
<div class="w3-row-padding w3-margin-bottom">
<div class="w3-quarter">
<div class="w3-container w3-red w3-padding-16">
<div class="w3-left"><i class="material-icons fa fa-laptop w3-xxxlarge"></i></div>
<div class="w3-right">
<h3>5</h3>
</div>
<div class="w3-clear"></div>
<h4 class="w3-right">Connected <small>Devices</small></h4>
</div>
</div>
<div class="w3-quarter">
<div class="w3-container w3-blue w3-padding-16">
<div class="w3-left"><i class="material-icons fa-wifi w3-xxxlarge"></i></div>
<div class="w3-right">
<h3>Online</h3>
</div>
<div class="w3-clear"></div>
<h5 class="w3-right">Home Unit Status</h5>
</div>
</div>
<div class="w3-quarter">
<div class="w3-container w3-teal w3-padding-16">
<div class="w3-left"><i class="material-icons fa fa-clock-o w3-xxxlarge"></i></div>
<div class="w3-right">
<h3 class="sys-uptime"></h3>
</div>
<div class="w3-clear"></div>
<h4 class="w3-right">Device UpTime</h4>
</div>
</div>
<div class="w3-quarter">
<div class="w3-container w3-orange w3-text-white w3-padding-16">
<div class="w3-left"><i class="material-icons fa-users w3-xxxlarge"></i></div>
<div class="w3-right">
<h3>0</h3>
</div>
<div class="w3-clear"></div>
<h4 class="w3-right">Expense</h4>
</div>
</div>
</div>
<div class="w3-panel">
<div class="w3-row-padding" style="margin:0 -16px">
<div class="w3-third">
<h5>Regions</h5>
<img src="./index_files/region.jpg" style="width:100%" alt="Google Regional Map">
</div>
<div class="w3-twothird">
<h5>Feeds</h5>
<table class="w3-table w3-striped w3-white">
<tbody>
<tr>
<td><i class="material-icons fa-user w3-text-blue w3-large"></i></td>
<td>New record, over 90 views.</td>
<td><i>10 mins</i></td>
</tr>
<tr>
<td><i class="material-icons fa-bell w3-text-red w3-large"></i></td>
<td>Database error.</td>
<td><i>15 mins</i></td>
</tr>
<tr>
<td><i class="material-icons fa-users w3-text-yellow w3-large"></i></td>
<td>New record, over 40 users.</td>
<td><i>17 mins</i></td>
</tr>
<tr>
<td><i class="material-icons fa-comment w3-text-red w3-large"></i></td>
<td>New comments.</td>
<td><i>25 mins</i></td>
</tr>
<tr>
<td><i class="material-icons fa-bookmark w3-text-blue w3-large"></i></td>
<td>Check transactions.</td>
<td><i>28 mins</i></td>
</tr>
<tr>
<td><i class="material-icons fa-laptop w3-text-red w3-large"></i></td>
<td>CPU overload.</td>
<td><i>35 mins</i></td>
</tr>
<tr>
<td><i class="material-icons fa-share-alt w3-text-green w3-large"></i></td>
<td>New shares.</td>
<td><i>39 mins</i></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<hr>
<div class="w3-container">
<h5>General Stats</h5>
<p>New Visitors</p>
<div class="w3-grey">
<div class="w3-container w3-center w3-padding w3-green" style="width:25%">+25%</div>
</div>
<p>New Users</p>
<div class="w3-grey">
<div class="w3-container w3-center w3-padding w3-orange" style="width:50%">50%</div>
</div>
<p>Bounce Rate</p>
<div class="w3-grey">
<div class="w3-container w3-center w3-padding w3-red" style="width:75%">75%</div>
</div>
</div>
<hr>
<div class="w3-container">
<h5>Countries</h5>
<table class="w3-table w3-striped w3-bordered w3-border w3-hoverable w3-white">
<tbody>
<tr>
<td>United States</td>
<td>65%</td>
</tr>
<tr>
<td>UK</td>
<td>15.7%</td>
</tr>
<tr>
<td>Russia</td>
<td>5.6%</td>
</tr>
<tr>
<td>Spain</td>
<td>2.1%</td>
</tr>
<tr>
<td>India</td>
<td>1.9%</td>
</tr>
<tr>
<td>France</td>
<td>1.5%</td>
</tr>
</tbody>
</table><br>
<button class="w3-button w3-dark-grey">More Countries <i class="material-icons fa-arrow-right"></i></button>
</div>
<hr>
<div class="w3-container">
<h5>Recent Users</h5>
<ul class="w3-ul w3-card-4 w3-white">
<li class="w3-padding-16">
<img src="./index_files/avatar2.png" class="w3-left w3-circle w3-margin-right" style="width:35px">
<span class="w3-xlarge">Mike</span><br>
</li>
<li class="w3-padding-16">
<img src="./index_files/avatar5.png" class="w3-left w3-circle w3-margin-right" style="width:35px">
<span class="w3-xlarge">Jill</span><br>
</li>
<li class="w3-padding-16">
<img src="./index_files/avatar6.png" class="w3-left w3-circle w3-margin-right" style="width:35px">
<span class="w3-xlarge">Jane</span><br>
</li>
</ul>
</div>
<hr>
<div class="w3-container">
<h5>Recent Comments</h5>
<div class="w3-row">
<div class="w3-col m2 text-center">
<img class="w3-circle" src="./index_files/avatar3.png" style="width:96px;height:96px">
</div>
<div class="w3-col m10 w3-container">
<h4>John <span class="w3-opacity w3-medium">Sep 29, 2014, 9:12 PM</span></h4>
<p>Keep up the GREAT work! I am cheering for you!! Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><br>
</div>
</div>
<div class="w3-row">
<div class="w3-col m2 text-center">
<img class="w3-circle" src="./index_files/avatar1.png" style="width:96px;height:96px">
</div>
<div class="w3-col m10 w3-container">
<h4>Bo <span class="w3-opacity w3-medium">Sep 28, 2014, 10:15 PM</span></h4>
<p>Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><br>
</div>
</div>
</div>
<br>
<div class="w3-container w3-dark-grey w3-padding-32">
<div class="w3-row">
<div class="w3-container w3-third">
<h5 class="w3-bottombar w3-border-green">Demographic</h5>
<p>Language</p>
<p>Country</p>
<p>City</p>
</div>
<div class="w3-container w3-third">
<h5 class="w3-bottombar w3-border-red">System</h5>
<p>Browser</p>
<p>OS</p>
<p>More</p>
</div>
<div class="w3-container w3-third">
<h5 class="w3-bottombar w3-border-orange">Target</h5>
<p>Users</p>
<p>Active</p>
<p>Geo</p>
<p>Interests</p>
</div>
</div>
</div>
<!-- Footer -->
<footer class="w3-container w3-padding-16 w3-light-grey">
<h4>FOOTER</h4>
<p>Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank">w3.css</a></p>
</footer>
<!-- End page content -->
</div>
<script src="assets/js/custom.js"></script>
<script src="assets/js/sidebar.js"></script>
</body>
</html>