-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpopular.html
More file actions
109 lines (99 loc) · 3.23 KB
/
popular.html
File metadata and controls
109 lines (99 loc) · 3.23 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GZ2M72GJ5S"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-GZ2M72GJ5S');
</script>
<meta charset="utf-8" />
<title>Popular Beatmaps</title>
<link rel="stylesheet" href="style/picnic.min.css" />
<link rel="stylesheet" type="text/css" href="style/main.css" />
<link rel="stylesheet" type="text/css" href="style/font.css" />
<link rel="icon" href="favicon.png" />
<meta name="viewport" content="width=device-width">
<script src="scripts/config.js"></script>
<script src="scripts/launchgame.js"></script>
<script src="scripts/downloader.js"></script>
<script src="scripts/addbeatmaplist.js"></script>
<script src="scripts/settings.js"></script>
<script src="scripts/jsloader.js"></script>
</head>
<body>
<div class="game-area" id="game-area" hidden></div>
<div class="pause-menu" id="pause-menu" hidden>
<div class="paused-title">paused</div>
<div class="button-list">
<div class="pausebutton continue" id="pausebtn-continue">
<div class="inner">Continue</div>
</div>
<div class="pausebutton retry" id="pausebtn-retry">
<div class="inner">Retry</div>
</div>
<div class="pausebutton quit" id="pausebtn-quit">
<div class="inner">Quit</div>
</div>
</div>
</div>
<nav id="main-nav"></nav>
<script>
fetch("navbar.html")
.then((response) => response.text())
.then((content) => {
document.getElementById("main-nav").innerHTML = content;
});
</script>
<div class="main-page" id="main-page">
<div class="main-content">
<div class="beatmap-list" id="beatmap-list">
<!-- to be filled in script -->
</div>
<div class="button" style="width: 100%; margin-bottom: 10px" id="btnmore">
Load more
</div>
<div id="footer"></div>
<script>
fetch("footer.html")
.then(response => response.text())
.then(content => {
document.getElementById("footer").innerHTML = content;
});
</script>
</div>
<!-- <div class="side-panel">
to be activated in script
</div> -->
<div class="statuslines" id="statuslines">
<div class="progress" id="script-progress">
Scripts
<div class="lds-dual-ring"></div>
</div>
<div class="progress" id="skin-progress">
Skin
<div class="lds-dual-ring"></div>
</div>
<div class="progress" id="sound-progress">
Hitsounds
<div class="lds-dual-ring"></div>
</div>
</div>
</div>
<script>
addBeatmapList("https://api.sayobot.cn/beatmaplist?0=20&1=0&2=1&5=1");
var cur = 20;
document.getElementById("btnmore").onclick = function () {
addBeatmapList(
"https://api.sayobot.cn/beatmaplist?0=20&1=" + cur + "&2=1&5=1"
);
cur += 20;
};
</script>
</body>
</html>
<!-- attribution -->
<!-- play icon made by https://www.flaticon.com/authors/those-icons -->
<!-- search icon made by https://www.flaticon.com/authors/good-ware -->