-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
146 lines (110 loc) · 4.69 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
<!DOCTYPE html>
<html lang="en">
<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">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"
integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
<script src="js/script.js"></script>
<link rel="stylesheet" href="css/odometer-theme-default.css" />
<link rel="stylesheet" href="css/main.css" />
<script type="text/javascript" src="js/odometer.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<title>Rank Viewer for Scoresaber</title>
</head>
<body>
<img>
<div class="card2">
<div id="nameCon">
<b><a id="profileLink">
<p id="name"></p>
</a></b>
</div>
<img id="profilePicture" src="images/placeholder.png">
<div id="globalRankCon">
<b>
<p id="globalRank" class="odometer"></p>
</b>
<p id="globalRankText">Global Rank:</p>
</div>
<div id="countryRankCon">
<p id="countryRankText">Country Rank:</p>
<b>
<p id="countryRank" class="odometer"></p>
</b>
</div>
<div id="playerPPCon">
<b>
<p id="playerPP" class="odometer"></p>
</b>
<p id="playerPPText">PP:</p>
</div>
<div id="playerTotalScoreCon">
<b>
<p id="playerTotalRankedScore" class="odometer"></p>
</b>
<p id="playerTotalScoreText">Ranked Score:</p>
</div>
<div class="badgeContainer">
<div class="badge1">
<img id="image1" src="images/placeholder.png">
</div>
<div class="badge2">
<img id="image2" src="images/placeholder.png">
</div>
<div class="badge3">
<img id="image3" src="images/placeholder.png">
</div>
<div class="badge4">
<img id="image4" src="images/placeholder.png">
</div>
</div>
<input class="form-control" id="scoreSaberID" type="text" name="ScoreSaber ID" placeholder="Enter ScoreSaber ID"
required>
<button class="btn btn-primary" id="submit" type="submit" onclick="scoreSaber()">
<i class="bi bi-search"></i>
</button>
</div>
<div id="alertError" class="alert alert-danger" role="alert" style="visibility: hidden;">
You need to enter a ScoreSaber ID: https://scoresaber/u/{id}
</div>
<div class="footer">
<b>
<p id="playerCount"></p>
</b>
<p id="footerNote">beta v1.1.2 | <a href="https://www.xfutuxe.xyz">xfutuxe.xyz</a> | <a href="changelog.txt">Changelog</a></p>
</div>
<div class="modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">What is this?</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p>When inputting an ID it shows user information for the leaderboard site ScoreSaber. This site doesn't serve any proper function since its faster to use <a href="https://www.scoresaber.com">ScoreSaber</a> but it was something to do in my free time & develop my skills in javascript. I am constantly updating this and adding new features.
<br>
<br>
xFutuxe</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Thanks</button>
</div>
</div>
</div>
</div>
</body>
<script>
window.onload = function () {
OpenBootstrapPopup();
};
function OpenBootstrapPopup() {
$(".modal").modal('show');
}
</script>
</html>