-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
361 lines (303 loc) · 18.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Pro 1</title>
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<link rel="stylesheet" href="style/style.css">
<!-- CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<!-- jQuery and JS bundle w/ Popper.js -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.js" integrity="sha512-d9xgZrVZpmmQlfonhQUvTR7lMPtO7NkZMkA0ABN3PHCbKA5nqylQ/yWlFAyY6hYgdF1Qh6nYiuADWwKB4C2WSw==" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.js" integrity="sha512-d9xgZrVZpmmQlfonhQUvTR7lMPtO7NkZMkA0ABN3PHCbKA5nqylQ/yWlFAyY6hYgdF1Qh6nYiuADWwKB4C2WSw==" crossorigin="anonymous"></script>
</head>
<body>
<script>
function menuAc() {
var genislik = window.screen.width;
var yukseklik = window.screen.height;
if (genislik <= 768) {
document.getElementById("sidebar").style.width = "300px";
document.getElementById("content").style.marginLeft = "0px";
} else if (genislik >= 768) {
document.getElementById("sidebar").style.width = "300px";
document.getElementById("content").style.marginLeft = "300px";
document.getElementById("content").style.width = "calc(100% - 300px )";
}
}
function menuKapat() {
document.getElementById("sidebar").style.width = "0";
document.getElementById("content").style.marginLeft = "0";
document.getElementById("content").style.width = "calc(100%)";
}
</script>
<main>
<div class="row mx-auto">
<div id="sidebar" class="">
<button class="btn" onclick="menuKapat()"><span class="text-white"><i class="far fa-arrow-alt-circle-left"></i></span></button>
<div class="row py-5 justify-content-center mx-auto">
<h1 class="text-white">Your Logo</h1>
</div>
<ul class="nav pl-3 flex-column">
<h5>Pro Version</h5>
<li class="nav-item">
<a class="nav-link active" href="#"><i class="fas fa-unlock-alt"></i> Upgrade to PRO</a>
</li>
</ul>
<ul class="nav pl-3 flex-column">
<h5>Menu</h5>
<li class="nav-item">
<a class="nav-link active" href="#"><i class="fas fa-file"></i> Pages</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"><i class="fas fa-newspaper"></i> Articles</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"><i class="fas fa-puzzle-piece"></i> Categories</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"><i class="fas fa-users"></i> Users</a>
</li>
</ul>
<ul class="nav pl-3 pb-5 flex-column">
<h5>Ui Components</h5>
<li class="nav-item">
<a class="nav-link active" href="#"><i class="fab fa-elementor"></i> Elements</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"><i class="fas fa-compress"></i> Components</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"><i class="fas fa-table"></i> Regular Tables</a>
</li>
</ul>
</div>
<div id="content" class="">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="menuAc" onclick="menuAc()"><i class="fas fa-align-left"></i></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto pr-5">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-bell"></i> </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#"><i class="fas fa-check"></i> Action</a>
<a class="dropdown-item" href="#"><i class="fas fa-check"></i> Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#"><i class="fas fa-times"></i> Something else here</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-envelope"></i> </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#"><i class="fas fa-check"></i> Action</a>
<a class="dropdown-item" href="#"><i class="fas fa-check"></i> Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#"><i class="fas fa-times"></i> Something else here</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-cogs"></i> </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#"><i class="fas fa-check"></i> Action</a>
<a class="dropdown-item" href="#"><i class="fas fa-check"></i> Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#"><i class="fas fa-times"></i> Something else here</a>
</div>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<hr>
<div class="content-in mx-3-xl-3">
<div class="row mx-auto justify-content-center align-items-center">
<div class="table col-11 col-sm-11 col-md-5 col-lg-3 col-xl-5 py-3 mx-3 my-3">
<div class="row mx-auto justify-content-center">
<h4>Table 1</h4>
</div>
<div class="row justify-content-center mx-auto">
<div class="col-6 pl-1">
<img style="height: 50px;" class="row mx-auto" src="analytics.svg" alt="">
</div>
<div class="col-6 pr-5 py-2 text-center price"><span class="dolar">$</span><span class="money">100</span></div>
</div>
</div>
<div class="table col-11 col-sm-11 col-md-5 col-lg-3 col-xl-5 py-3 mx-3 my-3">
<div class="row mx-auto justify-content-center">
<h4>Table 2</h4>
</div>
<div class="row justify-content-center align-items-center mx-auto">
<div class="col-6 pl-1">
<img style="height: 50px;" class="row mx-auto" src="analytics.svg" alt="">
</div>
<div class="col-6 pr-5 py-2 text-center price"><span class="dolar">$</span><span class="money">100</span></div>
</div>
</div>
<div class="table col-11 col-sm-11 col-md-5 col-lg-5 col-xl-5 py-5 mx-3 my-3">
<canvas id="ilk" width="auto" height="auto"></canvas>
<script>
let miktar = [92, 152];
let markalar = ['Page 1', 'Page 2', ];
let kanvas = document.getElementById('ilk');
let grafik = new Chart(kanvas, {
type: 'pie',
data: {
labels: markalar,
datasets: [{
label: '2018Q3 Telefon Satışı',
data: miktar,
backgroundColor: [
"#6484F6",
],
borderColor: [
"#6484F6",
],
borderWidth: 1
}],
}
});
</script>
</div>
<div class=" table col-11 col-sm-11 col-md-5 col-lg-5 col-xl-5 align-items-center py-5 mx-3 my-3">
<canvas id="iki" width="auto" height="auto"></canvas>
<script>
let miktar2 = [92, 152, 76, 135, 53];
let markalar2 = ['Article 1', 'Article 2', 'Article 3', 'Article 4', 'Article 4'];
let kanvas2 = document.getElementById('iki');
let grafik2 = new Chart(kanvas2, {
type: 'bar',
data: {
labels: markalar2,
datasets: [{
label: 'Articles Views',
data: miktar2,
backgroundColor: [
"#6484F6",
"#DCDCE3",
"#6484F6",
"#DCDCE3",
"#6484F6",
],
borderColor: [
"#DCDCE3",
"#6484F6",
"#DCDCE3",
"#6484F6",
"#DCDCE3",
],
borderWidth: 1
}],
}
});
</script>
</div>
<div class="table col-11 col-sm-11 col-md-5 col-lg-5 col-xl-5 align-items-center py-5 mx-3 my-3">
<canvas id="uc" width="auto" height="auto"></canvas>
<script>
let miktar3 = [92, 152, 76, 135, 53];
let markalar3 = ['Ocak', 'Şubat', 'Mart', 'Nisan', 'MAyıs'];
let kanvas3 = document.getElementById('uc');
let grafik3 = new Chart(kanvas3, {
type: 'line',
data: {
labels: markalar3,
datasets: [{
label: 'Category Views',
data: miktar3,
backgroundColor: [
"#6484F6",
],
borderColor: [
"#fff",
],
borderWidth: 1
}],
}
});
</script>
</div>
<div class="table col-11 col-sm-11 col-md-5 col-lg-5 col-xl-5 align-items-center py-5 mx-3 my-3">
<canvas id="dort" width="auto" height="auto"></canvas>
<script>
let miktar4 = [92, 152, 76, 135, 53];
let markalar4 = ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs'];
let kanvas4 = document.getElementById('dort');
let grafik4 = new Chart(kanvas4, {
type: 'doughnut',
data: {
labels: markalar4,
datasets: [{
label: 'Number of users',
data: miktar4,
backgroundColor: [
"#6484F6",
"#DCDCE3",
"#2834EF",
"#DCDEFF",
"#AEB3FC ",
],
borderColor: [
"#DCDCE3",
"#6484F6",
"#2834EF",
"#DCDEFF",
"#AEB3FC ",
],
borderWidth: 1
}],
}
});
</script>
</div>
<div class="table col-11 col-sm-11 col-md-11 col-lg-10 col-xl-10 align-items-center py-5 mx-5 my-3">
<canvas id="bes" width="auto" height="auto"></canvas>
<script>
let miktar5 = [92, 152, 76, 135, 53];
let markalar5 = ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs'];
let kanvas5 = document.getElementById('bes');
let grafik5 = new Chart(kanvas5, {
type: 'polarArea',
data: {
labels: markalar5,
datasets: [{
label: 'Total Views',
data: miktar5,
backgroundColor: [
"#6484F6",
"#DCDCE3",
"#2834EF",
"#DCDEFF",
"#AEB3FC ",
],
borderColor: [
"#DCDCE3",
"#6484F6",
"#2834EF",
"#DCDEFF",
"#AEB3FC ",
],
borderWidth: 1
}],
}
});
</script>
</div>
</div>
</div>
</div>
</div>
</main>
</body>
</html>