-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
stats.html
483 lines (421 loc) · 14.5 KB
/
stats.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
<!DOCTYPE html>
<!--Copyright By Project Sakura
This page is designed by members of Project Sakura and all the code belongs to them, thanks to W3schools for CSS.
Don't remove this if you intent to use this page for your website.
-->
<html lang="en">
<head>
<title>Sakura Stats</title>
<meta charset="UTF-8">
<meta name="description" content="You can see all the stats related to project sakura here :)">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" sizes="32x32" href="image/logo.png">
<link rel="icon" type="image/png" sizes="96x96" href="image/logo.png">
<link rel="icon" type="image/png" sizes="16x16" href="image/logo.png">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- New UI -->
<link rel="stylesheet" href="./css/bootstrap-ui.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-173637831-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-173637831-1');
</script>
<style>
* {
box-sizing: border-box;
}
/* theme */
body {
--accent-color: #64B1F3;
--background-color: #0F111A;
--btn-toggle-color: #56cc9d;
--container-color: #212433;
--footer-background-color: #212433;
--table-body-color: #212433;
--table-text-color: #c9d1d9;
--text-color: #f2f2f2;
--footer-link-color: #64B1F3;
--transition-delay: 0.5s;
background-color: var(--background-color);
margin: 0;
transition: var(--transition-delay);
}
p.card-text {
display: flex;
align-items: center;
justify-content: center;
}
header {
margin-top: 12px;
padding: 21px;
}
.header-card {
padding: 18px;
}
body.light {
--accent-color: #56cc9d;
--background-color: #f7f7f9;
--btn-toggle-color: #0F111A;
--container-color: #56cc9d;
--footer-background-color: #56cc9d;
--footer-link-color: #085046;
--table-body-color: #f7f7f7;
--table-text-color: #5A5A5A;
--text-color: #5A5A5A;
color: #000;
}
.btn-toggle {
background-color: var(--btn-toggle-color);
border: 0;
border-radius: 50%;
color: #FFF;
cursor: pointer;
height: 33px;
padding: 3px;
position: absolute;
right: 1.5rem;
transition: var(--transition-delay);
top: 1.5rem;
width: 33px;
z-index: 999;
outline: 0 !important;
}
.btn-toggle:hover,
.btn-toggle:focus {
transform: scale(1.1);
}
h1,
h2,
h3,
h4,
h5 {
align-items: center;
color: var(--text-color);
font-family: 'Poppins', sans-serif;
margin: auto;
}
h1 {
color: var(--accent-color);
font-weight: 300;
}
.header-card {
background-color: var(--container-color);
color: #f2f2f2;
}
/*
=======================================
============= ADDED CSS ===============
=======================================
*/
.text-center {
text-align: center;
}
/* Table Styling */
.table {
background-color: var(--table-body-color);
border: 1px solid var(--accent-color);
color: var(--table-text-color);
}
.table-heading {
font-weight: 700;
margin: 0.7em auto;
}
.table-success th {
border-color: var(--accent-color);
}
.table-success,
.thread {
background-color: var(--accent-color);
}
th,
td {
border: 1px solid var(--accent-color);
border-top: none !important;
}
.table thead th {
border-bottom: none;
vertical-align: middle;
}
/* Footer Styling */
.footer {
background-color: var(--container-color);
width: 100%;
padding: 3px 0;
margin-top: 18px;
font-family: sans-serif;
color: #ffffff;
}
footer a {
text-decoration: none;
color: var(--footer-link-color);
}
footer a:hover {
text-decoration: none;
color: var(--footer-link-color);
}
.footer-holder {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin: 27px 12%;
}
.footer-holder>svg {
width: 65px;
height: 25px;
}
.sources-info {
display: inline-block;
width: 50%;
}
.sources-info>ul {
padding: 0;
margin: 6px 0;
text-decoration: none;
list-style-type: none;
display: flex;
align-items: center;
font-size: 27px;
}
.sources-info>ul>li {
padding-right: 15px;
}
.sources-info>ul>li>a {
text-decoration: none;
color: var(--footer-link-color);
}
.info-span {
font-size: 15px;
display: block;
margin: 6px 0;
max-width: 330px;
}
.team-info img {
width: 165px;
height: auto;
}
.footer-section-2 ul {
margin-top: 6px;
}
.footer-section-2 ul,
.footer-section-2 ul>li>a {
list-style-type: none;
padding-left: 0;
}
.footer-section-2 ul>li {
padding-bottom: 5px;
}
.stats-info {
text-align: center;
border-top: 2.1px solid var(--footer-link-color);
margin: auto;
width: 93%;
padding: 9px 0;
}
@media screen and (max-width: 1130px) {
.footer-holder {
display: flex;
flex-wrap: wrap;
}
.footer-section-1 {
flex: 100%;
}
.footer-section-2 {
margin-top: 12px;
flex: 60%;
}
.footer-section-3 {
flex: 40%;
}
.footer-section-3 img {
width: 135px;
height: auto;
}
}
@media screen and (max-width: 575px) {
.header-card {
padding: 12px 9px;
width: 95%;
text-align: center;
}
.header-card h3 {
font-size: 24px;
}
.container table {
width: 95% !important;
margin: auto;
font-size: 12px;
}
.footer-holder {
margin: 5% 24px 5% 24px;
}
header>h1 {
margin-top: 24px;
}
.team-info {
margin-top: 12px;
}
.footer-holder {
margin: 25px 5%;
}
}
#myBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
border: none;
outline: none;
background-color: #0F111A;
color: white;
cursor: pointer;
padding: 15px;
border-radius: 10px;
font-size: 18px;
}
#myBtn:hover {
background-color: #0F111A;
}
.mobile_view {
display: none;
}
@media (max-width: 468px) {
.pc_view {
display: none;
}
.mobile_view {
display: block;
}
}
</style>
</head>
<body>
<button onclick="topFunction()" id="myBtn" title="Go to top"><i class="fa fa-arrow-circle-up fa-2x"
aria-hidden="true"></i></button>
<!-- Header -->
<div class="container btn-container">
<button class="btn-toggle"><i class="fa fa-adjust" style="font-size: 21px;"></i></button>
</div>
<header class="container text-center">
<h1>SAKURA STATS ©</h1>
</header>
<!-- Intro Card -->
<div class="container card header-card">
<h3 class="card-title">Project Sakura got downloaded <span class="totaldownload"></span> times.</h3>
<p class="card-text">Note: These stats are only for official downloads, unofficial numbers are unknown.</p>
<p class="card-text">Last Updated : 01-07-2024</p>
</div>
<!-- TABLE ENTRIES >> Supported Devices -->
<div class="container">
<h3 class="text-center table-heading">SUPPORTED DEVICES</h3>
<table class="table table-striped" style=" font-weight: 600;">
<thead class="table-success">
<tr>
<th>DEVICES</th>
<th>DOWNLOADS</th>
<th>Percentage</th>
</tr>
</thead>
<tbody class="table_device_2">
</tbody>
</table>
</div>
<!-- TABLE ENTRIES >> Unsupported Devices -->
<!-- TABLE ENTRIES >> Countries -->
<div class="container">
<!-- Blog entry -->
<h3 class="text-center table-heading">TOP COUNTRIES</h3>
<table class="table table-striped">
<thead class="table-success">
<tr>
<th>SERIAL NUMBER</th>
<th>COUNTRY NAME</th>
<th>DOWNLOADS</th>
</tr>
</thead>
<tbody class="countries">
</tbody>
</table>
</div>
<!-- TABLE ENTRIES >> Operating Systems -->
<div class="container">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- sakura-horizontal-display-ad -->
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-1277633863266032" data-ad-slot="8448641591" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<h3 class="text-center table-heading">OS USED TO DOWNLOAD SAKURA</h3>
<table class="table table-striped">
<thead class="table-success">
<tr>
<th>SERIAL NUMBER</th>
<th>OS NAME</th>
<th>DOWNLOADS</th>
</tr>
</thead>
<tbody class="oses">
</tbody>
</table>
</div>
<!-- FOOTER -->
<footer class="footer">
<div class="footer-holder">
<div class="footer-section-1">
<img src="image/sakura_footer.svg" alt="project sakura logo" />
<span class="info-span">
Project Sakura is a fully free and Opensource Custom ROM built around LineageOS.
</span>
<div class="sources-info">
<ul>
<li>
<a href="https://github.com/ProjectSakura"><i class="fa fa-github"></i></a>
</li>
<li>
<a href="https://telegram.me/ProjectSakuraChat"><i class="fa fa-telegram"></i></a>
</li>
<li>
<a href="https://twitter.com/ProjectSakura_"><i class="fa fa-twitter"></i></a>
</li>
</ul>
</div>
</div>
<div class="footer-section-2">
NAVIGATION
<ul>
<li><a href="https://projectsakura.me">Home</a></li>
<li><a href="https://projectsakura.me/blog">Blog</a></li>
<li><a href="https://projectsakura.me/download/">Download Now</a></li>
<li><a href="https://projectsakura.me/stats.html">Stats</a></li>
</ul>
</div>
<div class="footer-section-3">
<div class="info">
<div class="team-info">
Project Maintained by <a href="https://github.com/LordShenron">Shen</a> & <a href="https://github.com/ReveRTX">ReveRTX</a>
</div>
</div>
</div>
</div>
<div class="stats-info">
Stats are fetched from Sourceforge
</div>
</footer>
<script src="js/stat.js"></script>
<!-- TOGGLE THEME -->
<script>
document.querySelector(".btn-toggle").addEventListener('click', () => {
document.querySelector("body").classList.toggle("light");
});
</script>
</body>
</html>