-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
484 lines (476 loc) · 21.7 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
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
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dashboard</title>
<link rel="stylesheet" href="./css/dashboard.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/cdbootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/cdbootstrap/css/cdb.min.css" />
<script src="https://cdn.jsdelivr.net/npm/cdbootstrap/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/cdbootstrap/js/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/cdbootstrap/js/cdb.min.js"></script>
<script src="https://kit.fontawesome.com/9d1d9a82d2.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="dashboard">
<div class="d-flex">
<div style="display: flex; height: 100vh">
<div class="sidebar" role="cdb-sidebar">
<div class="sidebar-container">
<div class="sidebar-header text-center">
<a class="sidebar-toggler"><i class="fa fa-bars"></i></a>
<a class="sidebar-brand">Contrast</a>
</div>
<div class="sidebar-nav">
<div class="sidenav">
<a href="./index.html" class="sidebar-item">
<i class="fa fa-columns sidebar-icon"></i>
<span>Dashboard</span>
</a>
<a href="./table.html" class="sidebar-item">
<i class="fa fa-table sidebar-icon"></i>
<span>Tables</span>
</a>
<a href="./profile.html" class="sidebar-item">
<i class="fa fa-user sidebar-icon"></i>
<span>Profile</span>
</a>
<a target="_blank" href="./hero404.html" class="sidebar-item">
<i class="fa fa-exclamation-circle sidebar-icon"></i>
<span>404 Page</span>
</a>
</div>
</div>
<div class="sidebar-footer">Sidebar Footer</div>
</div>
</div>
</div>
<div style="
flex: 1 1 auto;
display: flex;
flex-flow: column;
height: 100vh;
overflow-y: hidden;
">
<header class="db-header">
<nav class="d-flex justify-content-between align-items-center px-3 py-2">
<div class="cdb-form mb-0">
<input type="search" placeholder="Search" class="input-nav" />
</div>
<div class="ml-auto d-flex align-items-center">
<div class="d-flex align-items-center mr-3">
<i class="fas fa-bell mr-3 fa-lg"></i>
<i class="fas fa-comment-alt fa-lg"></i>
</div>
<img class="pane-sm" src="./img/pane/pane4.png" />
</div>
</nav>
</header>
<div style="height: 100%">
<div class="scroll-container" style="height: calc(100% - 64px); overflow-y: scroll">
<div class="card-section d-flex">
<div class="cards-container">
<div class="card-bg w-100 border d-flex flex-column">
<div class="p-4 d-flex flex-column h-100">
<div class="d-flex align-items-center justify-content-between">
<h4 class="m-0 h5 font-weight-bold text-dark">Sales</h4>
<div class="py-1 px-2 bg-grey rounded-circle">
<i class="fa fa-suitcase"></i>
</div>
</div>
<h4 class="my-4 text-right text-dark h2 font-weight-bold">
$30,000
</h4>
<div>
<div class="progress-text"></div>
<div class="progress" style="height: 8px">
<div class="progress-bar" role="progressbar" aria-valuenow="65" aria-valuemin="0"
aria-valuemax="100" style="width: 65%; height: 8px"></div>
</div>
</div>
<p class="mt-2 text-success small">
<i class="fa fa-angle-up p-0"></i> 27.4%<span class="ml-2 font-weight-bold text-muted"
style="font-size: 0.95em">Since last month</span>
</p>
<p class="c-p mb-0 text-dark font-weight-bold text-right mt-auto">
More Details<i class="fa fa-arrow-right ml-1"></i>
</p>
</div>
</div>
<div class="card-bg w-100 border d-flex flex-column">
<div class="p-4 d-flex flex-column h-100">
<div class="d-flex align-items-center justify-content-between">
<h4 class="m-0 h5 font-weight-bold text-dark">
Traffic by Source
</h4>
<div class="px-2 py-1 bg-grey rounded-circle">
<i class="fa fa-pie-chart"></i>
</div>
</div>
<div class="mt-3 d-flex justify-content-between">
<div class="container p-0" style="width: 250px; height: 150px; margin: 0px -4rem">
<canvas id="chart1"></canvas>
</div>
<div class="text-right w-25">
<p class="m-0">Google</p>
<p class="text-success small">10.57</p>
<div>
<div class="d-flex align-items-center justify-content-between text-success">
<span style="
font-size: 3em;
margin: -2rem 0px -1.5rem;
">•</span><span class="small">Google</span>
</div>
<div class="d-flex align-items-center justify-content-between"
style="color: rgb(155, 81, 224)">
<span style="
font-size: 3em;
margin: -2rem 0px -1.5rem;
">•</span><span class="small">Yahoo</span>
</div>
<div class="d-flex align-items-center justify-content-between text-warning">
<span style="
font-size: 3em;
margin: -2rem 0px -1.5rem;
">•</span><span class="small">Bing</span>
</div>
</div>
</div>
</div>
<p class="c-p text-dark mb-0 font-weight-bold text-right mt-auto">
More Details<i class="fa fa-arrow-right ml-1"></i>
</p>
</div>
</div>
<div class="card-bg w-100 border d-flex flex-column p-4" style="grid-row: span 2 / auto">
<div class="d-flex">
<h6 class="h5 font-weight-bold text-dark">
Team Members
</h6>
<div class="ml-auto rounded-circle bg-grey py-1 px-2">
<i class="fa fa-user"></i>
</div>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane1.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0" style="font-size: 0.75em">Online</p>
</div>
<button class="btn btn-flat btn-dark border-0 ml-auto px-2 py-1 my-2">
<span class="msg-rem">Send</span> Message
</button>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane2.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0" style="font-size: 0.75em">Online</p>
</div>
<button class="btn btn-flat btn-dark border-0 ml-auto px-2 py-1 my-2">
<span class="msg-rem">Send</span> Message
</button>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane3.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0" style="font-size: 0.75em">Online</p>
</div>
<button class="btn btn-flat btn-dark border-0 ml-auto px-2 py-1 my-2">
<span class="msg-rem">Send</span> Message
</button>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane4.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0" style="font-size: 0.75em">Online</p>
</div>
<button class="btn btn-flat btn-dark border-0 ml-auto px-2 py-1 my-2">
<span class="msg-rem">Send</span> Message
</button>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane5.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0" style="font-size: 0.75em">Online</p>
</div>
<button class="btn btn-flat btn-dark border-0 ml-auto px-2 py-1 my-2">
<span class="msg-rem">Send</span> Message
</button>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane1.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0" style="font-size: 0.75em">Online</p>
</div>
<button class="btn btn-flat btn-dark border-0 ml-auto px-2 py-1 my-2">
<span class="msg-rem">Send</span> Message
</button>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane2.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0" style="font-size: 0.75em">Online</p>
</div>
<button class="btn btn-flat btn-dark border-0 ml-auto px-2 py-1 my-2">
<span class="msg-rem">Send</span> Message
</button>
</div>
<p class="c-p text-dark mb-0 font-weight-bold text-right mt-auto">
More Details<i class="fa fa-arrow-right ml-1"></i>
</p>
</div>
<div class="card-bg w-100 d-flex flex-column border d-flex flex-column" style="grid-row: span 2 / auto">
<div class="p-4 d-flex flex-column h-100">
<div class="d-flex align-items-center justify-content-between">
<h4 class="m-0 h5 font-weight-bold text-dark">
Total Orders
</h4>
<div class="px-2 py-1 bg-grey rounded-circle">
<i class="fa fa-shopping-bag"></i>
</div>
</div>
<div class="mt-5 d-flex align-items-center justify-content-between">
<div>
<h4 class="m-0 h1 font-weight-bold text-dark">452</h4>
<p class="text-success small">
<i class="fa fa-angle-up p-0"></i> 18.52%
</p>
</div>
<div class="text-right d-flex flex-column justify-content-between">
<div class="d-flex align-items-center justify-content-between text-primary">
<span style="font-size: 3em; margin: -2rem 0px -1.5rem">•</span><span
class="small">August</span>
</div>
<div class="d-flex align-items-center justify-content-between text-warning">
<span style="font-size: 3em; margin: -2rem 0px -1.5rem">•</span><span
class="small ml-2">September</span>
</div>
</div>
</div>
<div class="p-0 mt-auto" style="height: 250px">
<canvas id="chart2"></canvas>
</div>
<p class="c-p text-dark font-weight-bold text-right mt-3 mb-0">
More Details<i class="fa fa-arrow-right ml-1"></i>
</p>
</div>
</div>
<div class="card-bg w-100 border d-flex flex-column p-4">
<div class="d-flex">
<h6 class="h5 font-weight-bold text-dark">Messages</h6>
<div class="ml-auto rounded-circle bg-grey px-2 py-1">
<i class="fa fa-comment"></i>
</div>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane3.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0 small">Hey, how are you.</p>
</div>
<p class="px-2 d-flex align-items-center text-muted" style="font-size: 0.5em">
<i class="fa fa-circle mr-1" style="font-size: 0.8em"></i><span
style="font-size: 1.4em">Online</span>
</p>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane4.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0 small">Hey, how are you.</p>
</div>
<p class="px-2 d-flex align-items-center text-muted" style="font-size: 0.5em">
<i class="fa fa-circle mr-1" style="font-size: 0.8em"></i><span
style="font-size: 1.4em">Online</span>
</p>
</div>
<div class="d-flex mt-4">
<img alt="panelImage" src="./img/pane/pane5.png" class="pane-image" />
<div>
<h6 class="mb-0" style="font-weight: 600">Mezue</h6>
<p class="m-0 small">Hey, how are you.</p>
</div>
<p class="px-2 d-flex align-items-center text-muted" style="font-size: 0.5em">
<i class="fa fa-circle mr-1" style="font-size: 0.8em"></i><span
style="font-size: 1.4em">Online</span>
</p>
</div>
<p class="c-p text-dark font-weight-bold text-right mt-auto mb-0">
More Details<i class="fa fa-arrow-right ml-1"></i>
</p>
</div>
<div class="card-bg w-100 d-flex flex-column wide border d-flex flex-column">
<div class="d-flex flex-column p-0 h-100">
<div class="mx-4 mt-3 d-flex justify-content-between align-items-center">
<h4 class="font-weight-bold text-dark h5">
Page Visits
</h4>
<div class="p-1 bg-grey rounded-circle">
<i class="fa fa-sticky-note"></i>
</div>
</div>
<div class="table-responsive">
<table class="table table-borderless table-striped">
<thead class="thead-light">
<tr>
<th>Page Name</th>
<th class="table-rem">Views</th>
<th class="table-rem">Value</th>
<th>Bounce Rate</th>
</tr>
</thead>
<tbody>
<tr>
<td>/demo/admin/index.html</td>
<td class="table-rem">3,689</td>
<td class="table-rem">$10</td>
<td class="text-success text-center">
<i class="fa fa-arrow-up"></i> 20%
</td>
</tr>
<tr>
<td>/demo/admin/index.html</td>
<td class="table-rem">3,689</td>
<td class="table-rem">$10</td>
<td class="text-success text-center">
<i class="fa fa-arrow-up"></i> 20%
</td>
</tr>
<tr>
<td>/demo/admin/index.html</td>
<td class="table-rem">3,689</td>
<td class="table-rem">$10</td>
<td class="text-success text-center">
<i class="fa fa-arrow-up"></i> 20%
</td>
</tr>
</tbody>
</table>
</div>
<p class="c-p text-dark font-weight-bold text-right mt-auto mr-3">
See More<i class="fa fa-arrow-right ml-1"></i>
</p>
</div>
</div>
</div>
</div>
<footer class="page-footer">
<div class="footer">
<a class="nav-link footer-link" href="/"><img alt="logo" src="./img/pages/logo.png" width="25px" /><span
class="ml-4 mb-0 h5 font-weight-bold">Devwares</span></a><small>© Devwares, <small
id="footerYear">2020</small>. All rights
reserved.</small>
<div class="d-flex align-items-center">
<button class="btn btn-flat btn-dark p-1 py-2 border-0">
<i class="fa fa-facebook"></i>
</button>
<button class="btn btn-flat btn-dark p-1 py-2 border-0">
<i class="fa fa-twitter"></i></button>
<button class="btn btn-flat btn-dark p-1 py-2 border-0">
<i class="fa fa-instagram"></i>
</button>
</div>
</div>
</footer>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.js"
integrity="sha512-d9xgZrVZpmmQlfonhQUvTR7lMPtO7NkZMkA0ABN3PHCbKA5nqylQ/yWlFAyY6hYgdF1Qh6nYiuADWwKB4C2WSw=="
crossorigin="anonymous"></script>
<script>
const yearElement = document.getElementById("footerYear");
const currentYear = new Date().getFullYear()
yearElement.innerText = currentYear;
const chart1 = document.getElementById("chart1").getContext("2d");
const myChart1 = new Chart(chart1, {
type: "pie",
data: {
labels: ["Eating", "Drinking", "Sleeping"],
datasets: [
{
label: "My First dataset",
backgroundColor: ["#F2C94C", "#2F80ED", "#9B51E0"],
borderWidth: 0,
data: [9, 22, 7],
},
],
},
options: {
responsive: true,
maintainAspectRatio: false,
legend: { display: false },
},
});
const myChart2 = new Chart(chart2, {
type: "bar",
data: {
labels: [
"Eating",
"Drinking",
"Sleeping",
"Designing",
"Coding",
"Cycling",
"Running",
],
datasets: [
{
label: "My First dataset",
backgroundColor: "rgba(255, 153, 51, 0.8)",
borderColor: "rgb(102, 51, 0)",
data: [65, 59, 75, 81, 56, 55, 40],
},
{
label: "My Second dataset",
backgroundColor: "#2F80ED",
borderColor: "rgb(0, 41, 102)",
data: [38, 48, 60, 79, 96, 47, 80],
},
],
},
options: {
responsive: true,
maintainAspectRatio: false,
legend: { display: false },
scales: {
xAxes: [
{
gridLines: {
display: false,
},
ticks: {
display: false,
},
},
],
yAxes: [
{
gridLines: {
display: false,
},
ticks: {
display: false,
beginAtZero: true,
},
},
],
},
},
});
</script>
<script>
const sidebar = document.querySelector(".sidebar");
new CDB.Sidebar(sidebar);
</script>
</body>
</html>