-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (100 loc) · 4.28 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
<!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 rel="stylesheet" href="src/style.css">
<link rel="icon" href="src/assets/pokeball.png" />
<title>Pokémon GO DPS Calculator</title>
</head>
<body>
<div id="loading_container" class="invisible">
<img src="src/assets/pokeball.png" alt="" id="spinning_pokeball">
<span id="loading_message">Loading...</span>
</div>
<h1>Pokemon GO</h1>
<h2>DPS calculator</h2>
<div id="bloc">
<div id="inputs">
<div id="top_inputs">
<div id="pokemon_selection_space">
<label for="pokemon_selection">Select a Pokemon :</label>
<select id="pokemon_selection">
</select>
<div id="pokemon_types_section">
<span class="type"></span>
<span class="type"></span>
</div>
</div>
</div>
<div id="intermediate_inputs">
<label for="shadow_selection"><img src="src/assets/obscur.png" id="shadow_image"></label><label for="shadow_selection"><span id="shadow_text">Shadow</span></label>
<input type="checkbox" id="shadow_selection">
</div>
<div id="bottom_inputs">
<div id="level_selection_space" class="selection_space">
<label for="level_selection">Level</label>
<span>*Level 30 recommanded</span>
<div>
<input type="range" id="level_selection" class="range" min="1" max="50" value="30" step="0.5"
oninput="document.getElementById('level').value=value">
<input type="number" id="level" class="number_cells" min="1" max="50" value="30"
oninput="document.getElementById('level_selection').value=value">
</div>
</div>
<div id="attackiv_selection_space" class="selection_space">
<label for="attackiv_selection">Attack IV</label>
<div>
<input type="range" id="attackiv_selection" class="range" min="0" max="15" value="15"
oninput="document.getElementById('attackiv').value=value">
<input type="number" id="attackiv" class="number_cells" value="15" min="0" max="15"
oninput="document.getElementById('attackiv_selection').value=value">
</div>
</div>
<div id="weather_selection_space" class="selection_space">
<label for="weather_selection">Weather</label>
<select id="weather_selection">
</select>
</div>
<button id="calc_button">Calculate</button>
</div>
</div>
<hr>
<div id="results">
<div id="time_result_container">
<span id="time_result_title">Estimated time before getting KO : </span><span id="time_result">0s</span>
</div>
<table>
<thead>
<tr>
<th>Fast move</th>
<th>Charged move</th>
<th>Cycle DPS</th>
<th>DPS when fainting</th>
<th>TDO</th>
</tr>
</thead>
<tbody id="results_table">
<tr>
</tr>
</tbody>
</table>
</div>
</div>
<section id="comment_section">
<p>DPS calculated according to the following criterias :
<ul>
<li>the target base defense is 200.</li>
<li>the target level is equal to the selected pokemon level.</li>
<li>the target defense IV is equal to the selected pokemon attack IV.</li>
</ul>
</p>
</section>
<footer>
<p>© 2022 Aeldro</p>
</footer>
</body>
<script src="src/script.js"></script>
<!-- <script type="module" src="data/elite_tag.js"></script> -->
</html>