-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
353 lines (327 loc) · 18.9 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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pokemon Mystery Dungeon - Rescue Generator</title>
<meta name="description" content="Pokemon Mystery Dungeon - Rescue Generator">
<meta name="author" content="Tushar Chandra">
<meta name="theme-color" content="#def2d9">
<base href="/rescue/">
<link rel="stylesheet" href="generated/tailwind.css">
<script>window.languagePluginUrl = 'pyodide_min/';</script>
<script src="js/pyodide.js"></script>
<script src="js/script.js"></script>
</head>
<body class="bg-blue-200 container mx-auto">
<div class=""">
<!-- Pelliper message -->
<div class=" text-center py-4 lg:px-4">
<div class="p-2 bg-orange-200 items-center leading-none rounded-lg flex inline-flex">
<img src="img/pelliper_smile.png" class="flex rounded-lg h-24 px-6">
<span class="mr-2 text-lg text-left text-gray-800 leading-6">
Hello! Welcome to the Rescue Team DX password generator!
<br>
This app lets you generate <span class="font-bold">revival password</span> when you faint in a dungeon.
<br>
Or you can generate <span class="font-bold">rescue passwords</span> to go on as many missions as you want.
</span>
</div>
</div>
<div class="max-w-4xl text-center items-center container">
<div class="text-4xl text-gray-800 font-bold bg-blue-400 rounded-t-full">
Revival Password Generator
</div>
<div class="bg-gray-100">
<div class="text-xl py-2">
Fainted in a dungeon? Enter your rescue password using the keyboard below!
</div>
<div id="password-keyboard">
<div class="py-1 px-4">
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">1</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">2</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">3</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">4</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">5</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">6</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">7</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">8</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">9</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">P</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">M</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">D</button>
<button class="symbol symbol-fire" type="button" onclick="addToPassword(this)">X</button>
</div>
<div class="py-1 px-4">
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">1</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">2</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">3</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">4</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">5</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">6</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">7</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">8</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">9</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">P</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">M</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">D</button>
<button class="symbol symbol-heart" type="button" onclick="addToPassword(this)">X</button>
</div>
<div class="py-1 px-4">
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">1</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">2</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">3</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">4</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">5</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">6</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">7</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">8</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">9</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">P</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">M</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">D</button>
<button class="symbol symbol-water" type="button" onclick="addToPassword(this)">X</button>
</div>
<div class="py-1 px-4">
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">1</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">2</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">3</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">4</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">5</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">6</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">7</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">8</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">9</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">P</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">M</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">D</button>
<button class="symbol symbol-emerald" type="button" onclick="addToPassword(this)">X</button>
</div>
<div class="py-1 px-4">
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">1</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">2</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">3</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">4</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">5</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">6</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">7</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">8</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">9</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">P</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">M</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">D</button>
<button class="symbol symbol-star" type="button" onclick="addToPassword(this)">X</button>
</div>
</div>
<div id="password-input" class="py-4 flex flex-wrap justify-center">
<div name="class-of-five" class="py-2 px-2">
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
</div>
<div name="class-of-five" class="py-2 px-2">
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
</div>
<div name="class-of-five" class="py-2 px-2">
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
</div>
<div name="class-of-five" class="py-2 px-2">
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
</div>
<div name="class-of-five" class="py-2 px-2">
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
</div>
<div name="class-of-five" class="py-2 px-2">
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
<button class="symbol rescue-placeholder" type="button"> </button>
</div>
</div>
<div class="text-xl pb-4 hidden" id="password-too-short">The password is too short!</div>
<div class="text-xl pb-4 hidden" id="password-invalid">The password didn't work! Check each symbol and try again.
</div>
<button class="py-2 px-4 mb-4 rounded-full text-2xl text-gray-800 bg-blue-300"
onclick="submitPassword()">Submit!</button>
<div class="text-xl pb-4 hidden" id="revival-password-text">Here is your revival password!</div>
<div id="password-output" class="py-0 flex flex-wrap justify-center hidden">
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
</div>
</div>
<!-- Footer -->
<div class="py-4 bg-blue-300 rounded-b-full"></div>
</div>
<div class="max-w-4xl text-center items-center container py-12">
<div class="text-4xl text-gray-800 font-bold bg-blue-300 rounded-t-full">
Rescue Password Generator
</div>
<div class="bg-gray-100 flex-row">
<div class="text-xl pt-4 text-gray-800">
Want to go on a rescue? Just enter the dungeon and floor!
</div>
<div class="text-md py-2 text-gray-600">
(Deluxe reward is guaranteed. The Pokemon to rescue is chosen randomly.)
</div>
<div class="mt-4 pl-4 flex flex-wrap justify-center">
<select class="form-select m-4 inline-block text-xl" id="rescue-dungeon">
<option value="Tiny Woods">Tiny Woods</option>
<option value="Thunderwave Cave">Thunderwave Cave</option>
<option value="Mt. Steel">Mt. Steel</option>
<option value="Sinister Woods">Sinister Woods</option>
<option value="Silent Chasm">Silent Chasm</option>
<option value="Mt. Thunder">Mt. Thunder</option>
<option value="Great Canyon">Great Canyon</option>
<option value="Lapis Cave">Lapis Cave</option>
<option value="Mt. Blaze">Mt. Blaze</option>
<option value="Frosty Forest">Frosty Forest</option>
<option value="Mt. Freeze">Mt. Freeze</option>
<option value="Magma Cavern">Magma Cavern</option>
<option value="Sky Tower">Sky Tower</option>
<option value="Uproar Forest">Uproar Forest</option>
<option value="Waterfall Pond">Waterfall Pond</option>
<option value="Desert Region">Desert Region</option>
<option value="Southern Cavern">Southern Cavern</option>
<option value="Wyvern Hill">Wyvern Hill</option>
<option value="Darknight Relic">Darknight Relic</option>
<option value="Unown Relic">Unown Relic</option>
<option value="Grand Sea">Grand Sea</option>
<option value="Far-Off Sea">Far-Off Sea</option>
<option value="Howling Forest">Howling Forest</option>
<option value="Stormy Sea">Stormy Sea</option>
<option value="Buried Relic">Buried Relic</option>
<option value="Solar Cave">Solar Cave</option>
<option value="Fiery Field">Fiery Field</option>
<option value="Lightning Field">Lightning Field</option>
<option value="Northwind Field">Northwind Field</option>
<option value="Mt. Faraway">Mt. Faraway</option>
<option value="Western Cave">Western Cave</option>
<option value="Northern Range">Northern Range</option>
<option value="Pitfall Valley">Pitfall Valley</option>
<option value="Wish Cave">Wish Cave</option>
<option value="Joyous Tower">Joyous Tower</option>
<option value="Purity Forest">Purity Forest</option>
<option value="Murky Cave">Murky Cave</option>
<option value="Silver Trench">Silver Trench</option>
<option value="Oddity Cave">Oddity Cave</option>
<option value="Remains Island">Remains Island</option>
<option value="Marvelous Sea">Marvelous Sea</option>
<option value="Fantasy Strait">Fantasy Strait</option>
</select>
<input class="form-input m-4 inline-block w-24 text-xl" placeholder="Floor" id="rescue-floor">
<input class="form-input m-4 inline-block text-xl" placeholder="Team Name (Optional)" id="rescue-team">
</div>
<div class="text-xl pb-4 hidden" id="choose-a-floor">You must choose a floor!</div>
<div class="text-xl pb-4 hidden" id="floor-invalid">Looks like that rescue can't exist. Is the floor correct?
</div>
<button class="py-2 px-16 my-4 rounded-full text-2xl text-gray-800 bg-blue-300"
onclick="submitRescueInfo()">Go!</button>
<div class="text-xl pb-4 hidden" id="rescue-password-text">Here is your rescue password!</div>
<div id="generated-password" class="py-0 flex flex-wrap justify-center">
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
<div class="py-2 px-2">
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
<button type="button"></button>
</div>
</div>
</div>
<div class="py-4 bg-blue-300 rounded-b-full"></div>
</div>
</body>
</html>