-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
106 lines (102 loc) · 3 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
<!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" />
<title>Vampire Survivors Power Up Calculator</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1>
Vampire Survivors Power Up Calculator
<button onclick="selectAll()">Select all</button>
<button onclick="selectNone()">Unselect all</button>
<button onclick="copyPermalink(event)">
Copy permalink for this build
</button>
</h1>
<main>
<div class="input">
<div class="explanation">
<small>
Last updated: <span id="update-date"></span> for game version
<select id="branch"></select>
—
<a
href="https://github.com/benediktwerner/vampire-survivors-power-up-calculator"
>
Source
</a>
<br />
<span id="cost-calc-explanation"></span>
<br />
<b id="old-version-warning" class="hidden">
The selected game version is outdated!
</b>
</small>
</div>
<table>
<thead>
<tr>
<th colspan="2">Power Up</th>
<th>Base Cost</th>
<th>Next Lvl Cost</th>
<th colspan="2">Amount</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div class="result" data-cost-calc="new">
<h2>Total cost: 0</h2>
<span class="hidden-when-old-calc">
Since v0.7 the buy order doesn't matter anymore.
</span>
<table>
<thead>
<tr>
<th class="hidden-when-new-calc">Order</th>
<th colspan="2">Power Up</th>
<th>Amount</th>
<th>Base Cost</th>
<th>
Total Cost
<span class="hidden-when-old-calc">
<br />
<small>(without fees)</small>
</span>
</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</main>
<datalist id="tickmarks-1">
<option value="0"></option>
<option value="1"></option>
</datalist>
<datalist id="tickmarks-2">
<option value="0"></option>
<option value="1"></option>
<option value="2"></option>
</datalist>
<datalist id="tickmarks-3">
<option value="0"></option>
<option value="1"></option>
<option value="2"></option>
<option value="3"></option>
</datalist>
<datalist id="tickmarks-5">
<option value="0"></option>
<option value="1"></option>
<option value="2"></option>
<option value="3"></option>
<option value="4"></option>
<option value="5"></option>
</datalist>
<script src="data.js"></script>
<script src="script.js"></script>
</body>
</html>