forked from jmarcosg/axieTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
318 lines (297 loc) · 17.4 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
<!DOCTYPE html>
<html lang="es">
<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">
<meta name="author" content="github.com/jmarcosg">
<meta name="description" content="Varias herramientas para Axie Infinity">
<title>Axie Tools</title>
<!--icons-->
<link rel="icon" type="image/png" href="assets/img/kotaro.png">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css" integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk" crossorigin="anonymous">
<!--stylesheet-->
<link rel="stylesheet" href="assets/styles/styles.css">
<link rel="stylesheet" href="assets/styles/tools.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
</head>
<body>
<div class="nav-bar">
<div class="topnav" id="myTopnav">
<a href="#" class="active">Inicio</a>
<a href="assets/pages/ES/about.html">Cómo funciona</a>
<a href="assets/pages/ES/contact.html">Contacto</a>
<a href="assets/pages/OLD/index.html">V1.0</a>
<div class="dropdown">
<button class="dropbtn">Opciones
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-content">
<a href="assets/pages/EN/index.html">Change to English</a>
</div>
</div>
<a href="javascript:void(0);" style="font-size:15px;" class="icon" onclick="myFunction()">☰</a>
<script src="assets/js/menu.js"></script>
</div>
</div>
<div class="main-container">
<div class="tools-container">
<div class="energy-calculator-container">
<div class="round-container">
<div class="round-info">
<span>Ronda </span>
<span id="roundNumber" class="">1</span>
</div>
<div class="energy-quantity">
<img class="axie-match-energy" src="assets/img/matchEnergyIcon.svg" alt="Ícono con la cantidad de energía del oponente">
<span>
<b id="actualEnergy" class="actual-energy">3</b>
<b class="energy-divider">/</b>
<b id="maxEnergy" class="max-energy">10</b>
</span>
</div>
</div>
<div class="ene-gain-loss-container">
<div class="energy-tools">
<button onclick="subtract()"><i class="fas fa-minus"></i> 1 Energía</button>
<button onclick="add()"><i class="fas fa-plus"></i> 1 Energía</button>
</div>
<div class="energy-tools">
<button id="nextRound" onclick="nextRound()">Siguiente Ronda</button>
<button id="newArena" onclick="reset()">Nueva Partida</button>
</div>
</div>
</div>
<div class="cnc-container">
<div class="cnc-container-grid">
<div class="cnc-grid-item">
<img class="enemy-cards" src="assets/img/cards.png" alt="Enemy cards"><span id="currentCards" class="current-cards">6</span>
<div class="cards-buttons">
<div class="minus-card">
<button onclick="minusCard()">- 1 Carta</button>
</div>
<div class="plus-card">
<button onclick="addCard()">+ 1 Carta</button>
</div>
</div>
</div>
<div class="cnc-grid-item">
<img id="modalBtn" class="calc-icon" src="assets/img/calculatorIcon.svg" alt="Drawn calculator">
</div>
</div>
</div>
<div id="calculatorModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<section id="Display-area">
<div class="currentInput"></div>
<div class="answerScreen">0</div>
</section>
<section class="keypad-btns">
<button type="button" class="fun_btn" id="clear" value="">
C
</button>
<button type="button" class="fun_btn" id="erase" value="">
⬅
</button>
<button type="button" class="fun_btn" value="/">/</button>
<button type="button" class="fun_btn" value="%">%</button>
<button type="button" class="num_btn" value="7">7</button>
<button type="button" class="num_btn" value="8">8</button>
<button type="button" class="num_btn" value="9">9</button>
<button type="button" class="fun_btn" value="*">x</button>
<button type="button" class="num_btn" value="4">4</button>
<button type="button" class="num_btn" value="5">5</button>
<button type="button" class="num_btn" value="6">6</button>
<button type="button" class="fun_btn" value="-">-</button>
<button type="button" class="num_btn" value="1">1</button>
<button type="button" class="num_btn" value="2">2</button>
<button type="button" class="num_btn" value="3">3</button>
<button type="button" class="fun_btn" value="+">+</button>
<button type="button" class="num_btn" value="00">00</button>
<button type="button" class="num_btn" value="0">0</button>
<button type="button" class="num_btn" value=".">.</button>
<button type="button" class="fun_btn" id="evaluate" value="">=</button>
</section>
</div>
</div>
<div class="parts-container">
<div class="parts-container-grid">
<div id="axie1Grid" class="parts-grid-item axie1">
<div class="axie-type-select-container">
<select id="axie1Select" class="axie-type" onchange="changeAxieGridColor()">
<option value="plant" selected>Plant</option>
<option value="aqua">Aqua</option>
<option value="beast">Beast</option>
<option value="bird">Bird</option>
<option value="bug">Bug</option>
<option value="dawn">Dawn</option>
<option value="dusk">Dusk</option>
<option value="mech">Mech</option>
<option value="reptile">Reptile</option>
</select>
</div>
<div class="mouth">
<div id="a1mButton" class="part-button" role="button" aria-pressed="false">
<button class="" onclick="usePartA1M()"><img id="a1m" src="assets/img/parts/plant/mouth.svg"></button>
</div>
<div id="a1mLabel" class="part-label" role="button" aria-pressed="false">
<label id="a1mCounter" class="" onclick="substractPartA1M()">0</label>
</div>
</div>
<div class="horn">
<div id="a1hButton" class="part-button">
<button class="" onclick="usePartA1H()"><img id="a1h" src="assets/img/parts/plant/horn.svg"></button>
</div>
<div id="a1hLabel" class="part-label" role="button" aria-pressed="false">
<label id="a1hCounter" onclick="substractPartA1H()">0</label>
</div>
</div>
<div class="back">
<div id="a1bButton" class="part-button">
<button class="" onclick="usePartA1B()"><img id="a1b" src="assets/img/parts/plant/back.svg"></button>
</div>
<div id="a1bLabel" class="part-label" role="button" aria-pressed="false">
<label id="a1bCounter" onclick="substractPartA1B()">0</label>
</div>
</div>
<div class="tail">
<div id="a1tButton" class="part-button">
<button class="" onclick="usePartA1T()"><img id="a1t" src="assets/img/parts/plant/tail.svg"></button>
</div>
<div id="a1tLabel" class="part-label" role="button" aria-pressed="false">
<label id="a1tCounter" onclick="substractPartA1T()">0</label>
</div>
</div>
<div class="axie-actions">
<div id="a1DeadButton">
<button class="dead-axie" onclick="killAxie1()"><i class="fas fa-skull"></i></button>
</div>
<div>
<button class="reset-parts" onclick="resetA1Parts()"><i class="fas fa-sync"></i></button>
</div>
</div>
</div>
<div id="axie2Grid" class="parts-grid-item axie2">
<div class="axie-type-select-container">
<select id="axie2Select" class="axie-type" onchange="changeAxieGridColor()">
<option value="plant">Plant</option>
<option value="aqua">Aqua</option>
<option value="beast" selected>Beast</option>
<option value="bird">Bird</option>
<option value="bug">Bug</option>
<option value="dawn">Dawn</option>
<option value="dusk">Dusk</option>
<option value="mech">Mech</option>
<option value="reptile">Reptile</option>
</select>
</div>
<div class="mouth">
<div id="a2mButton" class="part-button">
<button class="" onclick="usePartA2M()"><img id="a2m" src="assets/img/parts/beast/mouth.svg"></button>
</div>
<div id="a2mLabel" class="part-label" role="button" aria-pressed="false">
<label id="a2mCounter" onclick="substractPartA2M()">0</label>
</div>
</div>
<div class="horn">
<div id="a2hButton" class="part-button">
<button class="" onclick="usePartA2H()"><img id="a2h" src="assets/img/parts/beast/horn.svg"></button>
</div>
<div id="a2hLabel" class="part-label" role="button" aria-pressed="false">
<label id="a2hCounter" onclick="substractPartA2H()">0</label>
</div>
</div>
<div class="back">
<div id="a2bButton" class="part-button">
<button class="" onclick="usePartA2B()"><img id="a2b" src="assets/img/parts/beast/back.svg"></button>
</div>
<div id="a2bLabel" class="part-label" role="button" aria-pressed="false">
<label id="a2bCounter" onclick="substractPartA2B()">0</label>
</div>
</div>
<div class="tail">
<div id="a2tButton" class="part-button">
<button class="" onclick="usePartA2T()"><img id="a2t" src="assets/img/parts/beast/tail.svg"></button>
</div>
<div id="a2tLabel" class="part-label" role="button" aria-pressed="false">
<label id="a2tCounter" onclick="substractPartA2T()">0</label>
</div>
</div>
<div class="axie-actions">
<div id="a2DeadButton">
<button class="dead-axie" onclick="killAxie2()"><i class="fas fa-skull"></i></button>
</div>
<div>
<button class="reset-parts" onclick="resetA2Parts()"><i class="fas fa-sync"></i></button>
</div>
</div>
</div>
<div id="axie3Grid" class="parts-grid-item axie3">
<div class="axie-type-select-container">
<select id="axie3Select" class="axie-type" onchange="changeAxieGridColor()">
<option value="plant">Plant</option>
<option value="aqua">Aqua</option>
<option value="beast">Beast</option>
<option value="bird" selected>Bird</option>
<option value="bug">Bug</option>
<option value="dawn">Dawn</option>
<option value="dusk">Dusk</option>
<option value="mech">Mech</option>
<option value="reptile">Reptile</option>
</select>
</div>
<div class="mouth">
<div id="a3mButton" class="part-button">
<button onclick="usePartA3M()"><img id="a3m" src="assets/img/parts/bird/mouth.svg"></button>
</div>
<div id="a3mLabel" class="part-label" role="button" aria-pressed="false">
<label id="a3mCounter" onclick="substractPartA3M()">0</label>
</div>
</div>
<div class="horn">
<div id="a3hButton" class="part-button">
<button onclick="usePartA3H()"><img id="a3h" src="assets/img/parts/bird/horn.svg"></button>
</div>
<div id="a3hLabel" class="part-label" role="button" aria-pressed="false">
<label id="a3hCounter" onclick="substractPartA3H()">0</label>
</div>
</div>
<div class="back">
<div id="a3bButton" class="part-button">
<button onclick="usePartA3B()"><img id="a3b" src="assets/img/parts/bird/back.svg"></button>
</div>
<div id="a3bLabel" class="part-label" role="button" aria-pressed="false">
<label id="a3bCounter" onclick="substractPartA3B()">0</label>
</div>
</div>
<div class="tail">
<div id="a3tButton" class="part-button">
<button onclick="usePartA3T()"><img id="a3t" src="assets/img/parts/bird/tail.svg"></button>
</div>
<div id="a3tLabel" class="part-label" role="button" aria-pressed="false">
<label id="a3tCounter" onclick="substractPartA3T()">0</label>
</div>
</div>
<div class="axie-actions">
<div id="a3DeadButton">
<button class="dead-axie" onclick="killAxie3()"><i class="fas fa-skull"></i></button>
</div>
<div>
<button onclick="resetA3Parts()" class="reset-parts"><i class="fas fa-sync"></i></button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<script src="assets/js/tools.js"></script>
<p>
<i class="fab fa-github fa-lg"><a href="https://github.com/jmarcosg"> Github</a></i>
</p>
</footer>
</body>
</html>