This repository has been archived by the owner on Sep 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.en.html
84 lines (78 loc) · 3.9 KB
/
index.en.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, maximum-scale=1, minimum-scale=1" />
<link rel="shortcut icon" type="image/jpg" href="./favicon.png" />
<link rel="stylesheet" href="./style.css">
<title>Kartrider SeasonPass Calculator</title>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
<script>
const lang = 'en';
</script>
<script src="./util.js"></script>
<script src="./common.js"></script>
</head>
<body>
<h1>Kartrider Pass Calculator</h1>
<h2>Season <span id="seasonNumber"></span></h2>
<b>Pass Period: <span id="passPeriod"></span></b><br>
<b>Remaining Dates: <span id="remainDate"></span>Days</b>(<span class="underline">Except today</span>)<br>
<div class="inputDesc"><span>Server Time: </span>
<select id="time-zone" onchange="javascript:refreshRemainingDates(this.value)">
<option value="7">West (UTC-8)</option>
<option value="-8">SEA (UTC+8)</option>
<option value="-8">East Asia (UTC+8)</option>
<option value="-9">KR (UTC+9)</option>
</select>
</div>
<div class="inputDesc"><span>Bought PremiumPass?</span><input type="checkbox" id="royalPass"
onchange="toggleWeeklyQuest(this)"></div>
<div class="inputDesc" id="weeklyQuest"><span>Cleared Challenge Week:</span> <input type="number"
id="clearedWeeklyQuest" maxlength="1" min="0" max="9" oninput="maxLengthCheck(this)">Weeks (0-9)</div>
<div class="inputDesc"><span>Your Pass Level:</span> <input type="number" id="nowLevel" maxlength="3" min="1"
max="999" oninput="maxLengthCheck(this)" value="1">Level</div>
<div class="inputDesc"><span>Points before next level:</span> <input type="number" id="remainPoint" maxlength="3"
min="0" max="100" oninput="maxLengthCheck(this)">Points</div>
<div class="inputDesc"><span>Target Level:</span> <input type="number" id="targetLevel" maxlength="3" min="1"
max="200" oninput="maxLengthCheck(this)">Level</div>
<div class="button large" id="calcButton" onclick="calculate()">Calculate</div>
<h4>Calculations below do not include today.</h4>
<div>Needed Points: <span id="needPoint">0</span>Points</div>
<div>Days with Daily Maximum Rewards: <span id="needDay">0</span>Days</div>
<div>Needed Points Per Day: <span id="needPointPerDay">0</span>Points</div>
<div class="display-none royal">Clear All Challenges + Days with Daily Maximum Rewards: <span
id="needDay-clearWeekly">0</span>Days</div>
<div class="display-none royal">Clear All Challenges + Needed Points Per Day: <span
id="needPointPerDay-clearWeekly">0</span>Points
</div>
<div class="bold red" id="possibleOrNot">Possible to achieve your goal.</div>
<div>Theoretically Maximum Level: <span id="possibleLevel">0</span>Level</div>
<h2>Season Pass Basic Facts</h2>
FreePass Daily Maximum Rewards: 180 Points<br>
PremiumPass Daily Maximum Rewards: 195 Points<br>
PremiumPass Challenge Rewards: 1130 Points/Week
</body>
<footer>
<p>
<img src="./resources/LanguageIcon-Big.jpg" id="language-icon">
<select onchange='changeLang()' id='change-lang'>
<option value="">Language</option>
<option value="ko">한국어</option>
<option value="en">English</option>
<option value="cn">中文繁體</option>
<option value="pt">Português</option>
</select>
</p>
<ul>
<li>developer email: alex00728@outlook.com</li>
<li>Github Repo: <span class="link-effect"><a
href="https://github.com/Jaehyuk-Lee/KartriderRushPlus_SeasonPassCalc"
target="_blank">/Jaehyuk-Lee/KartriderRushPlus_SeasonPassCalc</a></span>
</li>
</ul>
</footer>
<script>
initSeasonInformation();
</script>
</html>