-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.html
90 lines (88 loc) · 2.4 KB
/
profile.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
<!DOCTYPE html>
<html>
<head>
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/assets/theme.css" />
<script src="/assets/background.js"></script>
<link rel="stylesheet" type="text/css" href="/assets/table.css" />
<link rel="stylesheet" type="text/css" href="/assets/badges.css" />
<style>
#hint {
margin: 1em;
border: 1px solid black;
padding: 1em;
background: #99ffed;
}
#hint a {
padding: 1em;
border: 1px solid black;
border-radius: 1em;
color: black;
text-decoration: none;
background: #03fccf;
}
.bar {
font-size: 0.7em;
margin-left: 1em;
display: inline-block;
font-family: sans-serif;
background: #03fccf;
border-radius: 1em;
padding: 0 0.5em;
position: relative;
overflow: hidden;
color: black;
text-decoration: none;
}
.bar::before {
content: "";
display: inline-block;
position: absolute;
top: 0;
left: 0;
background: #0005;
width: calc(var(--amount) * 100%);
height: 100%;
}
#desc {
background: #99ffed;
border-left: 0.5em solid #0cb092;
margin: 1em;
padding: 1em;
}
</style>
</head>
<body>
<div class="tabs"></div>
<div class="rm" id="stuff"></div>
<h1>Profile: <b>{{NAME}}</b></h1>
<h2 class="rm">Info</h2>
<div class="rm physics">This is profile number <span id="profilen"></span>.</div>
<div class="rm physics">Joined on <span id="joindate"></span></div>
<div class="physics" id="self"></div>
<div id="desc" class="physics"></div>
<h2 id="header">Stats</h2>
<table class="rm">
<tbody>
<tr>
<th>Leaderboard</th>
<th>Points/Time</th>
<th>Badges</th>
<th>Leaderboard ranking</th>
</tr>
</tbody>
</table>
<div class="rm" id="hint" style="display: none;">
<h2>Hey!</h2>
<p>It looks like you haven't done anything yet. To get badges, you need to submit your scores from various games. Use the link below to submit scores!</p>
<p style="padding: 1em;"><a id="submitscoresbtn">Submit your scores!</a></p>
<p>Once your submission is accepted, this message will go away. You can find this button on the home page (second-to-right button).</p>
</div>
<script src="/data.js"></script>
<script src="/special/leaderboards.js"></script>
<script src="/assets/tabs.js"></script>
<script src="/profile.js" data-profile="{{NAME}}"></script>
<script src="https://brm.io/matter-js/build/matter.js"></script>
<script src="/assets/matter2.js"></script>
</body>
</html>