-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
279 lines (250 loc) · 12.8 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
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<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=Montserrat:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
<script src="https://kit.fontawesome.com/acd58c01cc.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="panel">
<div class="row m-0 h-100">
<div class="panel-left col-2 p-0 px-4 text-white text-center">
<section class="date-box">
<p class="mb-0 day">Środa</p>
<p class="mb-0 time">12:15</p>
<p class="mb-0 date text-muted">23/03/2022</p>
</section>
<nav class="menu">
<a href="index.html" class="active">
<div class="menu-item">
<i class="fas fa-sliders-h"></i>
<p>Strona główna</p>
</div>
</a>
<a href="posts.html">
<div class="menu-item">
<i class="far fa-comments"></i>
<p>Posty</p>
</div>
</a>
<a href="users.html">
<div class="menu-item">
<i class="fas fa-user-friends"></i>
<p>Użytkownicy</p>
</div>
</a>
</nav>
<section class="info-box mt-3">
<h3>Diamond CMS</h3>
<p class="text-muted">© Copyright 2022</p>
</section>
</div>
<div class="panel-right col-10 p-0">
<div class="row m-0 h-100">
<div class="col-9 mt-5">
<section class="main-stats py-4 px-5 text-light text-center">
<h1 class="mb-5">główne statystyki</h1>
<div class="row mb-5">
<div class="col-4">
<div class="main-stat-box p-5 border">
<h3>postów</h3>
<p>Łącznie: 4.250.120</p>
<p>w tym miesiącu: 125.703</p>
</div>
</div>
<div class="col-4">
<div class="main-stat-box p-5 border">
<h3>tematów</h3>
<p>Łącznie:1.830.120</p>
<p>w tym miesiącu: 35.703</p>
</div>
</div>
<div class="col-4">
<div class="main-stat-box p-5 border">
<h3>użytkowników</h3>
<p>Łącznie: 750.120</p>
<p>w tym miesiącu: 8.703</p>
</div>
</div>
</div>
<div id="chart" class="py-5 text-dark"></div>
</section>
<section class="main-table p-5 text-light">
<div class="d-flex justify-content-between">
<h3 class="mb-3">Ostatnie posty:</h3>
<div class="dropdown">
<button class="btn btn-outline-light dropdown-toggle" type="button"
id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
Sortuj
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
<li><a class="dropdown-item" href="#">Według dat</a></li>
<li><a class="dropdown-item" href="#">Według autora</a></li>
</ul>
</div>
</div>
<table class="table table-transparent text-light">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Temat</th>
<th scope="col">Użytkownik</th>
<th scope="col">Data</th>
</tr>
</thead>
<tbody>
<tr>
<th>1</th>
<td>Lorem, ipsum dolor.</td>
<td>Otto</td>
<td>12/12/2020</td>
</tr>
<tr>
<th>2</th>
<td>Lorem ipsum dolor sit amet, consectetur adipisicing.</td>
<td>Thornton</td>
<td>12/12/2020</td>
</tr>
<tr>
<th>3</th>
<td>Lorem, ipsum dolor.</td>
<td>Larry</td>
<td>12/12/2020</td>
</tr>
</tbody>
</table>
<nav aria-label="Page navigation example" class="d-flex justify-content-center">
<ul class="pagination">
<li class="page-item">
<a class="page-link" href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
</a>
</li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item">
<a class="page-link" href="#" aria-label="Next">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav>
</section>
</div>
<aside class="col-3 p-4 text-light text-center pe-5">
<section class="logo py-4">
<p class="logo-text">
<i class="far fa-gem"></i>Diamond
</p>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Autem, doloremque.</p>
</section>
<section class="users-online py-5">
<h3>użytkownicy on-line</h3>
<p>47</p>
</section>
<section class="users-gender py-4">
<h3>płeć użytkowników</h3>
<div class="row m-0">
<div class="col-6 box">
<i class="fas fa-male"></i>
<p>56%</p>
</div>
<div class="col-6 box">
<i class="fas fa-female"></i>
<p>44%</p>
</div>
</div>
</section>
<section class="monthly-stats py-5">
<h3>statystyki</h3>
<div class="form-group mb-4">
<select class="form-select bg-transparent text-light">
<option selected>Styczeń</option>
<option>Luty</option>
<option>Marzec</option>
<option>Kwiecień</option>
</select>
</div>
<div class="row m-0">
<div class="col-6 mb-4">
<p class="info">Posty</p>
<p class="number text-muted">125.703</p>
</div>
<div class="col-6 mb-4">
<p class="info">Rejestracje</p>
<p class="number text-muted">8.703</p>
</div>
<div class="col-6 mb-4">
<p class="info">Śr. czas - pobyt</p>
<p class="number text-muted">46min</p>
</div>
<div class="col-6 mb-4">
<p class="info">Śr. czas - aktywność</p>
<p class="number text-muted">24min.</p>
</div>
<div class="col-6 mb-4">
<p class="info">Ilość zamówień</p>
<p class="number text-muted">928</p>
</div>
<div class="col-6 mb-4">
<p class="info">Ilość reklamacji</p>
<p class="number text-muted">6</p>
</div>
</div>
</section>
</aside>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
<script>
var options = {
series: [{
name: 'Aktywni użytkownicy',
data: [31, 40, 28, 51, 42, 109, 100]
}, {
name: 'Ilość postów',
data: [11, 32, 45, 32, 34, 52, 41]
}],
chart: {
height: 350,
type: 'area',
foreColor: '#FFF'
},
dataLabels: {
enabled: false
},
stroke: {
curve: 'smooth'
},
xaxis: {
type: 'datetime',
categories: ["2018-09-19T00:00:00.000Z", "2018-09-19T01:30:00.000Z", "2018-09-19T02:30:00.000Z", "2018-09-19T03:30:00.000Z", "2018-09-19T04:30:00.000Z", "2018-09-19T05:30:00.000Z", "2018-09-19T06:30:00.000Z"]
},
tooltip: {
x: {
format: 'dd/MM/yy HH:mm'
},
},
legend: {
show: false,
},
};
var chart = new ApexCharts(document.querySelector("#chart"), options);
chart.render();
</script>
</body>
</html>