-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
242 lines (232 loc) · 10.1 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
<!DOCTYPE html>
<html>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="/src/css/styles.css" rel="stylesheet" />
<link rel="icon" type="image/png" href="/src/img/favicon.png" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="/src/css/styles.css"/>
<title>Dashboard</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.4.1/dist/chart.min.js"></script>
<script type="module" src="/src/js/app.js"></script>
</head>
<body>
<!-- Navigation -->
<nav class="side__nav">
<ul class="side__nav--list">
<li class="side__nav--item active" data-link="#dashboard">
<a href="#">
<svg
xmlns="http://www.w3.org/2000/svg"
width="30"
height="30"
fill="currentColor"
class="bi bi-clipboard-data"
viewBox="0 0 16 16"
>
<path
d="M4 11a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1zm6-4a1 1 0 1 1 2 0v5a1 1 0 1 1-2 0V7zM7 9a1 1 0 0 1 2 0v3a1 1 0 1 1-2 0V9z"
/>
<path
d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"
/>
<path
d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"
/>
</svg>
</a>
<span>Dashboard</span>
</li>
<li class="side__nav--item" data-link="#users">
<a href="#">
<svg
xmlns="http://www.w3.org/2000/svg"
width="30"
height="30"
fill="currentColor"
class="bi bi-person"
viewBox="0 0 16 16"
>
<path
d="M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z"
/>
</svg>
</a>
<span>Users</span>
</li>
<li class="side__nav--item" data-link="#products">
<a href="#">
<svg
xmlns="http://www.w3.org/2000/svg"
width="30"
height="30"
fill="currentColor"
class="bi bi-box"
viewBox="0 0 16 16"
>
<path
d="M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5 8 5.961 14.154 3.5 8.186 1.113zM15 4.239l-6.5 2.6v7.922l6.5-2.6V4.24zM7.5 14.762V6.838L1 4.239v7.923l6.5 2.6zM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464L7.443.184z"
/>
</svg>
</a>
<span>Products</span>
</li>
<li class="side__nav--item" data-link="#orders">
<a>
<svg
xmlns="http://www.w3.org/2000/svg"
width="30"
height="30"
fill="currentColor"
class="bi bi-list-check"
viewBox="0 0 16 16"
>
<path
fill-rule="evenodd"
d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3.854 2.146a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708L2 3.293l1.146-1.147a.5.5 0 0 1 .708 0zm0 4a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708L2 7.293l1.146-1.147a.5.5 0 0 1 .708 0zm0 4a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0z"
/>
</svg>
</a>
<span>Orders</span>
</li>
</ul>
</nav>
<!-- Toggle Button -->
<div class="button__container">
<div type="button" class="btn__mode" data-status="off">
<button type="button" class="btn__toggle"></button>
</div>
</div>
<!-- Dashboard Module -->
<div class="module__dashboard section__container" id="dashboard">
<h1 class="section__heading">Dashboard</h1>
<main class="section__data">
<div class="info__container">
<div class="tables__wrapper">
<!-- Users -->
<div class="users__top">
<h3 class="module__heading">Latest Users</h3>
<div class="users__wrapper">
<div class="user__headings">
<ul class="user__headings--list">
<li>ID</li>
<li>First Name</li>
<li>Last Name</li>
<li>Initials</li>
<li>Email</li>
<li>Date Created</li>
</ul>
</div>
</div>
</div>
<div class="container__products--orders">
<!-- products -->
<div class="products__top">
<h3 class="module__heading">Latest Products</h3>
<div class="products__wrapper">
<div class="products__headings">
<ul class="products__headings--list">
<li>ID</li>
<li>Name</li>
<li>Price</li>
<li>Date Created</li>
</ul>
</div>
</div>
</div>
<!-- orders -->
<div class="orders__top">
<h3 class="module__heading">Latest Orders</h3>
<div class="orders__wrapper">
<div class="orders__headings">
<ul class="orders__headings--list">
<li>ID</li>
<li>User ID</li>
<li>Date Created</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Charts -->
<div class="charts__data">
<div class="top__sales--container">
<canvas id="topSales"></canvas>
</div>
<div class="monthly__data--container">
<canvas id="chartNew" height="230"></canvas>
</div>
</div>
</main>
</div>
<!-- Users Module -->
<div class="module__users hidden section__container" id="users">
<h1 class="section__heading">Users</h1>
<div class="module__users--container">
<div class="module__users--wrapper">
<div class="users__heading--container">
<ul class="users__heading--items">
<li>ID</li>
<li>First Name</li>
<li>Last Name</li>
<li>Initials</li>
<li>Email</li>
<li>Date Created</li>
</ul>
</div>
<div class="user__list--container">
</div>
</div>
<div class="pagination__users">
</div>
</div>
</div>
<!-- Products Module -->
<div class="module__products hidden section__container" id="products">
<h1 class="section__heading">Products</h1>
<div class="module__products--container">
<div class="module__products--wrapper">
<div class="products__heading--container">
<ul class="products__heading--items">
<li>ID</li>
<li>Name</li>
<li>Price</li>
<li>Date Created</li>
</ul>
</div>
<div class="products__list--container">
</div>
</div>
<div class="pagination__products">
</div>
</div>
</div>
<!-- Orders Modules -->
<div class="module__orders hidden section__container" id="orders">
<h1 class="section__heading">Orders</h1>
<div class="module__orders--container">
<div class="module__orders--wrapper">
<div class="orders__heading--container">
<ul class="orders__heading--items">
<li>ID</li>
<li>First Name</li>
<li>Last Name</li>
<li>Products</li>
<li>Email</li>
<li>Total</li>
</ul>
</div>
<div class="orders__list--container">
</div>
</div>
<div class="pagination__orders">
</div>
</div>
</div>
</body>
</html>