-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
564 lines (498 loc) · 38.6 KB
/
main.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
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rod n' Mod</title>
<link rel="stylesheet" href="/assets/web/style.css">
<link rel="icon" href="/assets/web/rodnmod.png" type="image/png">
</head>
<body>
<div class="splashIcon" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;">
<img src="/assets/web/banner.png" style="width: 780px; height: 320px;">
</div>
<style>
@keyframes loading {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<div style="display: flex; flex-direction: row; gap: 10px; position: absolute; bottom: 0; left: 50%; transform: translate(-50%, -50%); color: #ffeed5; font-size: 22px; pointer-events: none; align-items: center;">
<img src="/assets/web/loading.png" style="width: 40px; height: 40px; animation: loading 2s linear infinite;">
<text id="splashText">Loading...</text>
</div>
<div style="display: flex; flex-direction: column; position: absolute; bottom: 5px; left: 50%; transform: translate(-50%, -50%); color: #ffeed5; font-size: 28px; pointer-events: none; align-items: center;">
<img src="/assets/web/gdweave.png" style="width: 90px; height: 90px;">
Powered by GDWeave
</div>
<div class="content">
<div id="toast-container"></div>
<div class="pywebview-drag-region titleBar" style="background-color: #101c31; position: fixed; top: 0; left: 0; height: 34px; width: 100%; padding: 0 10px; z-index: 2;">
<img src="/assets/web/rodnmod.png" style="image-rendering: auto; width: 30px; height: 30px; margin-top: 2px; pointer-events: none;">
<text id="titleText" style="position: relative; font-size: 22px; color: #ffeed5; top: -7px; left: 5px;">Rod n' Mod</text>
</div>
<button class="minimizeButton" style="font-size: 22px; z-index: 2;" onmouseup="window.pywebview.api.minimizeApplication()">
_
</button>
<button class="closeButton" style="font-size: 30px; z-index: 2;" onmouseup="document.getElementById('splashText').innerText = 'Exiting...'">
X
</button>
<div id="settings" class="settingsMenu" style="display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 630px; height: 700px; z-index: 10;">
<div id="tabs" style="position: absolute; top: -30px; display: flex; flex-direction: row; z-index: -1;">
<div class="tabButton active" onmouseup="switchSettingView('settingsMenu')" data-tab="settingsMenu">
<text style="font-size: 22px; pointer-events: none;">Settings</text>
</div>
<div class="tabButton" onmouseup="switchSettingView('controlsMenu')" data-tab="controlsMenu">
<text style="font-size: 22px; pointer-events: none;">Controls</text>
</div>
<div class="tabButton" onmouseup="switchSettingView('creditsMenu')" data-tab="creditsMenu">
<text style="font-size: 22px; pointer-events: none;">Credits</text>
</div>
</div>
<div id="settingContainer" style="color: #5a755a; font-size: 24px;">
<button type="normalButton" style="font-size: 22px; position: absolute; right: -24px; top: -26px; height: 42px; width: 85px; border-radius: 8px;" onmouseup="toggleSettings();">
Close
</button>
<div id="content">
<div id="settingsMenu" class="settingTab active" style="height: 100%;">
<div style="display: flex; flex-direction: column; gap: 5px; height: 100%;">
<div style="display: flex;">
<div style="display: grid; grid-template-rows: 1fr auto; margin: auto auto auto 0;">
<text style="font-size: 22px;">Window Resolution</text>
<text style="font-size: 14px;">Adjusts Rod n' Mod's window resolution. <text style="color: #ac0029;">Requires Restart.</text></text>
</div>
<div id="settingOption" class="custom-dropdown" data-name="resolution" style=" width: 165px; margin-left: auto;">
<div class="dropdown-header">
<span class="selected-option" style="pointer-events: none;">1200x800</span>
<div style="display: grid; grid-template-rows: 1fr 1fr; pointer-events: none;">
<span class="dropdown-arrow" style="font-size: 7px;">▲</span>
<span class="dropdown-arrow" style="font-size: 7px;">▼</span>
</div>
</div>
<div class="dropdown-options">
<div class="option" data-value="small">900x600</div>
<div class="option selected" data-value="normal">1200x800</div>
<div class="option" data-value="big">1500x1000</div>
<div class="option" data-value="bigger">1800x1200</div>
</div>
</div>
</div>
<div style="display: flex;">
<div style="display: grid; grid-template-rows: 1fr auto; margin: auto auto auto 0;">
<text style="font-size: 22px;">Reel Sound when Scrolling</text>
<text style="font-size: 14px;">Plays a reeling sound when you scroll on scrollable content</text>
</div>
<div id="settingOption" class="custom-dropdown" data-name="reelsound" style=" width: 165px; margin-left: auto;">
<div class="dropdown-header">
<span class="selected-option" style="pointer-events: none;">Enabled</span>
<div style="display: grid; grid-template-rows: 1fr 1fr; pointer-events: none;">
<span class="dropdown-arrow" style="font-size: 7px;">▲</span>
<span class="dropdown-arrow" style="font-size: 7px;">▼</span>
</div>
</div>
<div class="dropdown-options">
<div class="option" data-value="noreel">Disabled</div>
<div class="option selected" data-value="reel">Enabled</div>
</div>
</div>
</div>
<div style="display: flex;">
<div style="display: grid; grid-template-rows: 1fr auto; margin: auto auto auto 0;">
<text style="font-size: 22px;">Tabs Transition</text>
<text style="font-size: 14px;">Whether you want to waste your time or not :3</text>
</div>
<div id="settingOption" class="custom-dropdown" data-name="transition" style=" width: 165px; margin-left: auto;">
<div class="dropdown-header">
<span class="selected-option" style="pointer-events: none;">Yes</span>
<div style="display: grid; grid-template-rows: 1fr 1fr; pointer-events: none;">
<span class="dropdown-arrow" style="font-size: 7px;">▲</span>
<span class="dropdown-arrow" style="font-size: 7px;">▼</span>
</div>
</div>
<div class="dropdown-options">
<div class="option" data-value="notransition">No</div>
<div class="option selected" data-value="transition">Yes</div>
</div>
</div>
</div>
<div style="display: flex;">
<div style="display: grid; grid-template-rows: 1fr auto; margin: auto auto auto 0;">
<text style="font-size: 22px;">Save Backups</text>
<text style="font-size: 14px;">Automatically creates a backup everytime WEBFISHING is ran Modded</text>
</div>
<div id="settingOption" class="custom-dropdown" data-name="savebackups" style=" width: 165px; margin-left: auto;">
<div class="dropdown-header">
<span class="selected-option" style="pointer-events: none;">Yes</span>
<div style="display: grid; grid-template-rows: 1fr 1fr; pointer-events: none;">
<span class="dropdown-arrow" style="font-size: 7px;">▲</span>
<span class="dropdown-arrow" style="font-size: 7px;">▼</span>
</div>
</div>
<div class="dropdown-options">
<div class="option" data-value="nosave">No</div>
<div class="option selected" data-value="save">Yes</div>
</div>
</div>
</div>
<div style="display: flex;">
<!-- need sum of them services for bug reporting n stuff -->
<div style="display: grid; grid-template-rows: 1fr auto; margin: auto auto auto 0;">
<text style="font-size: 22px;">Logs Telemetry</text>
<text style="font-size: 14px;">CURRENTLY NOT WORKING. currently don't know any bug-reporting services to use.</text>
</div>
<!--
<div id="settingOption" class="custom-dropdown" data-name="logtelemetry" style=" width: 165px; margin-left: auto;">
<div class="dropdown-header">
<span class="selected-option" style="pointer-events: none;">Disabled</span>
<div style="display: grid; grid-template-rows: 1fr 1fr; pointer-events: none;">
<span class="dropdown-arrow" style="font-size: 7px;">▲</span>
<span class="dropdown-arrow" style="font-size: 7px;">▼</span>
</div>
</div>
<div class="dropdown-options">
<div class="option selected" data-value="nolesendlogs">Disabled</div>
<div class="option" data-value="sendlogs">Enabled</div>
</div>
</div>
-->
</div>
<!-- Below here are setting options below the settings container -->
<div style="display: flex; flex-direction: column; gap: 5px; margin-top: auto;">
<div id="debuggingSetting" style="display: flex; opacity: 0; pointer-events: none; transition: 500ms;">
<div style="display: grid; grid-template-rows: 1fr auto; margin: auto auto auto 0;">
<text style="font-size: 22px;">Debugging Mode</text>
<text style="font-size: 14px; color: #ac0029;">Requires restarting Rod n' Mod to enable Debugging Mode</text>
</div>
<div id="settingOption" class="custom-dropdown" data-name="debugging" style=" width: 165px; margin-left: auto;">
<div class="dropdown-header">
<span class="selected-option" style="pointer-events: none;">Disabled</span>
<div style="display: grid; grid-template-rows: 1fr 1fr; pointer-events: none;">
<span class="dropdown-arrow" style="font-size: 7px;">▲</span>
<span class="dropdown-arrow" style="font-size: 7px;">▼</span>
</div>
</div>
<div class="dropdown-options">
<div class="option selected" data-value="debdis">Disabled</div>
<div class="option" data-value="debena">Enabled</div>
</div>
</div>
</div>
<div>
<div style="display: grid; grid-template-rows: 1fr auto auto;">
<script>
function setPathOverride() {
window.pywebview.api.setPathOverride(document.getElementById('pathOverride').value).then((val) => {
if (val == false) {
document.getElementById('pathOverride').value = ''
}
})
}
</script>
<text style="font-size: 22px;">Installation Path Override</text>
<text style="font-size: 14px;">Uses this as a fallback if Rod n' Mod can't find the game installation directory automatically.</text>
<div style="display: grid; grid-template-columns: 1fr auto; gap: 5px;">
<input type="text" id="pathOverride" placeholder="C:/Path/To/WEBFISHING" spellcheck="false" style="width: 100%; height: 30px; border-radius: 8px;" oninput="">
<button type="normalButton" style="height: 30px; width: 80px; border-radius: 8px;" onmouseup="setPathOverride()">
<text style="pointer-events: none; font-size: 18px; position: relative; top: -5px;">Set Path</text>
</button>
</div>
</div>
</div>
<div style="display: flex; gap: 5px;">
<text style="font-size: 20px; margin: auto auto auto 0;">Rod n' Mod Logs</text>
<button type="normalButton" style="height: 24px; width: 80px; border-radius: 8px;" onmouseup="window.pywebview.api.copyLogs()">
<text style="pointer-events: none; font-size: 18px; position: relative; top: -5px;">Copy</text>
</button>
<button type="normalButton" style="height: 24px; width: 80px; border-radius: 8px;" onmouseup="window.pywebview.api.clearLogs()">
<text style="pointer-events: none; font-size: 18px; position: relative; top: -5px;">Clear</text>
</button>
</div>
<div style="display: flex; gap: 5px;">
<text style="font-size: 20px; margin: auto auto auto 0;">Made by Nyxical | Licensed under GPL v3</text>
<!--
<button type="normalButton" style="height: 24px; width: 165px; border-radius: 8px;" onmouseup="window.pywebview.api.restartApplication(); closeWindow(); document.getElementById('splashText').innerText = 'Restarting Rod n\' Mod...'">
<text style="pointer-events: none; font-size: 18px; position: relative; top: -3px;">Restart</text>
</button>
-->
</div>
</div>
</div>
</div>
<div id="controlsMenu" class="settingTab" style="font-size: 20px;">
<div style="display: flex; flex-direction: row;">
<text>ESC x3</text> <text style="margin: auto 0 auto auto;">Restart Rod n' Mod</text>
</div>
</div>
<div id="creditsMenu" class="settingTab" style="font-size: 20px; text-align: center;">
<p align="center" style="font-size: 16px; margin-bottom: 12px;">
<img src="/assets/web/banner.png" width="500"/><br>
A webfishing-themed mod manager!
</p>
<text>Zoiudolo<br>Rod n' Mod Banner, Icons, and Point & Click Cursors</text><br><br>
<text>west<br>Game Sounds and Pointer Cursor</text>
</div>
</div>
</div>
</div>
<div class="tabs" style="transition: 750ms;" onscroll="updateModsCount()">
<div class="tab active" id="Mods" style="max-height: calc(100vh + 57px);">
<div id="confirmationDialog" style="display: none; background-color: #11111180; position: fixed; left: 0; width: 100%; height: calc(100vh + 56px); z-index: 10;">
<div class="settingsMenu" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 450px; height: auto; z-index: 10;">
<div id="settingContainer" style="color: #5a755a; font-size: 24px;">
<button type="normalButton" style="font-size: 22px; position: absolute; right: -24px; top: -26px; height: 42px; width: 85px; border-radius: 8px;" onmouseup="document.getElementById('saveWhatSlot').style.display ='none'; playAudio('/assets/web/fishing/sounds/menu_blipb.ogg');">
Close
</button>
<div id="content" style="padding: 30px; text-align: center;">
TKLASKLJASFKLASJF
</div>
<div style="display: flex; flex-direction: row; position: absolute; right: -24px; bottom: -26px; gap: 5px">
<button id="confirmationB1" type="normalButton" style="font-size: 22px; height: 52px; width: 95px; border-radius: 8px;" onmouseup="window.pywebview.api.backupSave(0); document.getElementById('saveWhatSlot').style.display ='none';">
Yes
</button>
<button id="confirmationB2" type="normalButton" style="font-size: 22px; height: 52px; width: 95px; border-radius: 8px;" onmouseup="window.pywebview.api.backupSave(1); document.getElementById('saveWhatSlot').style.display ='none';">
No
</button>
</div>
</div>
</div>
</div>
<div class="modList" style="display: flex; flex-direction: column;">
<div class="modCounts" style="z-index: 5;">
<div id="mctparent" style="opacity: 0; transition: position 1s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 1s cubic-bezier(0.075, 0.82, 0.165, 1), background-color 200ms cubic-bezier(0.87, 0, 0.13, 1), top 1s cubic-bezier(0.075, 0.82, 0.165, 1); position: absolute; top: -64px; left: 50%; transform: translate(-50%, -50%); width: 300px; padding: 3px; justify-content: center; text-align: center; font-size: 24px; color: #ffeed5; background-color: #5a755a; border-radius: 15px;">
<text id="mct">0</text> mods left above
</div>
<div id="mcbparent" style="opacity: 0; transition: position 1s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 1s cubic-bezier(0.075, 0.82, 0.165, 1), background-color 200ms cubic-bezier(0.87, 0, 0.13, 1), bottom 1s cubic-bezier(0.075, 0.82, 0.165, 1); position: absolute; bottom: -44px; left: 50%; transform: translate(-50%, -50%); width: 300px; padding: 3px; justify-content: center; text-align: center; font-size: 24px; color: #ffeed5; background-color: #5a755a; border-radius: 15px;">
<text id="mcb">0</text> mods left below
</div>
</div>
<div class="modOptions" style="margin-top: 10px; margin-bottom: 20px;">
<div style="display: flex; gap: 5px; background-color: #ffeed5; border-radius: 15px; box-shadow: 0 4px 0 #6a4420; padding: 10px;">
<input type="text" id="searchInput" placeholder="Search mods..." spellcheck="false">
<div class="custom-dropdown" data-name="filter" style="width: 165px;">
<div class="dropdown-header">
<span class="selected-option" style="pointer-events: none;">None</span>
<div style="display: grid; grid-template-rows: 1fr 1fr; pointer-events: none;">
<span class="dropdown-arrow" style="font-size: 7px;">▲</span>
<span class="dropdown-arrow" style="font-size: 7px;">▼</span>
</div>
</div>
<div class="dropdown-options">
<div class="option selected" data-value="none">None</div>
<div class="option" data-value="installed">Installed Mods</div>
<div class="option" data-value="nameA-Z">Name (A-Z)</div>
<div class="option" data-value="nameZ-A">Name (Z-A)</div>
<div class="option" data-value="mostDownloaded">Most Downloaded</div>
<div class="option" data-value="leastDownloaded">Least Downloaded</div>
<div class="option" data-value="mostLiked">Most Liked</div>
<div class="option" data-value="leastLiked">Least Liked</div>
<div class="option" data-value="newlyUpdated">Newly Updated</div>
<div class="option" data-value="leastUpdated">Least Updated</div>
</div>
</div>
<div class="custom-dropdown" data-name="category" style="width: 115px;">
<div class="dropdown-header">
<span class="selected-option" style="pointer-events: none;">All Mods</span>
<div style="display: grid; grid-template-rows: 1fr 1fr; pointer-events: none;">
<span class="dropdown-arrow" style="font-size: 7px;">▲</span>
<span class="dropdown-arrow" style="font-size: 7px;">▼</span>
</div>
</div>
<div class="dropdown-options">
<div class="option selected" data-value="all">All Mods</div>
<div class="option" data-value="clientSide">Client Side</div>
<div class="option" data-value="serverSide">Server Side</div>
<div class="option" data-value="libs">Libraries</div>
<div class="option" data-value="cosmetics">Cosmetics</div>
<div class="option" data-value="fish">Fish</div>
<div class="option" data-value="maps">Maps</div>
<div class="option" data-value="misc">Misc</div>
<div class="option" data-value="mods">Mods</div>
<div class="option" data-value="species">Species</div>
<div class="option" data-value="tools">Tools</div>
</div>
</div>
<div class="custom-dropdown" data-name="nsfw" style="width: 120px;">
<div class="dropdown-header">
<span class="selected-option" style="pointer-events: none;">Hide NSFW</span>
<div style="display: grid; grid-template-rows: 1fr 1fr; pointer-events: none;">
<span class="dropdown-arrow" style="font-size: 7px;">▲</span>
<span class="dropdown-arrow" style="font-size: 7px;">▼</span>
</div>
</div>
<div class="dropdown-options">
<div class="option seleted" data-value="hidensfw">Hide NSFW</div>
<div class="option" data-value="shownsfw">Show NSFW</div>
</div>
</div>
<div style="margin-left: auto;">
<button type="normalButton" style="width: 125px;" onmouseup="window.pywebview.api.updateAllMods()">
<text style="pointer-events: none;">UPDATE MODS</text>
</button>
<button type="normalButton" style="width: 140px;" onmouseup="handleChange()">
<text style="pointer-events: none;">REFRESH MODS</text>
</button>
</div>
</div>
</div>
<div class="modItems" style="display: flex; flex-direction: column; gap: 3px; width: 100%; height: 100%; margin-bottom: 100px;">
</div>
</div>
</div>
<div class="tab" id="Modpacks" style="height: 100%; max-height: calc(100vh + 55px);">
<style>
.modpackContainer {
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: 0.5fr 2.3fr 0.2fr;
gap: 8px;
grid-auto-flow: row;
grid-template-areas:
"modpackList modpackInfo"
"modpackList modpackModslist"
"modpackList modpackOptions";
}
.modpackInfo { grid-area: modpackInfo; }
.modpackModslist { grid-area: modpackModslist; }
.modpackList { grid-area: modpackList; }
.modpackOptions { grid-area: modpackOptions; }
</style>
<div class="modpackContainer" style="width: 100%; height: 100%; padding: 10px 0 30px 0;">
<div class="modpackList" style="background-color: #ffeed5; box-shadow: 0 4px 0 #6a4420; border-radius: 15px; height: 100%;">
<div style="display: flex; height: calc(100% - 48px); border-radius: 15px; margin: 12px; background-color: #d5aa73; padding: 12px; box-sizing: content-box;">
<button type="normalButton" style="width: 100%; text-align: center;" onmouseup="">
<text style="pointer-events: none;">Create Modpack</text>
</button>
</div>
</div>
<div class="modpackInfo" style="background-color: #ffeed5; box-shadow: 0 4px 0 #6a4420; border-radius: 15px; height: 100%;">
</div>
<div class="modpackModslist" style="background-color: #ffeed5; box-shadow: 0 4px 0 #6a4420; border-radius: 15px; height: 100%;">
</div>
<div class="modpackOptions" style="display: flex; background-color: #ffeed5; box-shadow: 0 4px 0 #6a4420; border-radius: 15px; height: 100%;">
<div style="margin-left: auto; padding: 10px;">
<button type="normalButton" style="width: 125px;">
<text style="pointer-events: none;">TESTBUTTON</text>
</button>
<button type="normalButton" style="width: 150px;">
<text style="pointer-events: none;">TESTBUTTON</text>
</button>
</div>
</div>
</div>
</div>
<div class="tab" id="SaveManager" style="height: 100%; max-height: calc(100vh + 55px);">
<style>
.savemanContainer {
display: grid;
grid-template-rows: 1fr;
gap: 8px;
grid-auto-flow: row;
grid-template-areas:
"savesList"
"savesOptions";
}
.savesList { grid-area: savesList; }
.savesOptions { grid-area: savesOptions; }
</style>
<div id="saveWhatSlot" style="display: none; background-color: #11111180; position: fixed; left: 0; width: 100%; height: calc(100vh + 56px);">
<div class="settingsMenu" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 450px; height: auto; z-index: 10;">
<div id="settingContainer" style="color: #5a755a; font-size: 24px;">
<button type="normalButton" style="font-size: 22px; position: absolute; right: -24px; top: -26px; height: 42px; width: 85px; border-radius: 8px;" onmouseup="document.getElementById('saveWhatSlot').style.display ='none'; playAudio('/assets/web/fishing/sounds/menu_blipb.ogg');">
Close
</button>
<div id="content" style="padding: 30px; text-align: center;">
Which save slot do you want to save?
</div>
<div style="display: flex; flex-direction: row; position: absolute; left: 50%; transform: translate(-50%, 0); bottom: -26px; gap: 5px">
<button type="normalButton" style="font-size: 22px; height: 52px; width: 95px; border-radius: 8px;" onmouseup="window.pywebview.api.backupSave(0); document.getElementById('saveWhatSlot').style.display ='none';">
Slot 1
</button>
<button type="normalButton" style="font-size: 22px; height: 52px; width: 95px; border-radius: 8px;" onmouseup="window.pywebview.api.backupSave(1); document.getElementById('saveWhatSlot').style.display ='none';">
Slot 2
</button>
<button type="normalButton" style="font-size: 22px; height: 52px; width: 95px; border-radius: 8px;" onmouseup="window.pywebview.api.backupSave(2); document.getElementById('saveWhatSlot').style.display ='none';">
Slot 3
</button>
<button type="normalButton" style="font-size: 22px; height: 52px; width: 95px; border-radius: 8px;" onmouseup="window.pywebview.api.backupSave(3); document.getElementById('saveWhatSlot').style.display ='none';">
Slot 4
</button>
</div>
</div>
</div>
</div>
<div class="savemanContainer" style="width: 100%; height: 100%; padding: 10px 0 30px 0;">
<div class="savesList" style="display: flex; flex-direction: column; gap: 8px; overflow-y: auto; border-radius: 15px; box-sizing: content-box;">
</div>
<div class="savesOptions" style="display: flex; background-color: #ffeed5; box-shadow: 0 4px 0 #6a4420; border-radius: 15px; height: 100%;">
<div style="margin-left: auto; padding: 10px;">
<button type="normalButton" style="width: 100px;" onmouseup="generateSaveItems(); ">
<text style="pointer-events: none;">Refresh</text>
</button>
<button type="normalButton" style="width: 200px;" onmouseup="document.getElementById('saveWhatSlot').style.display ='block'; playAudio('/assets/web/fishing/sounds/menu_blip.ogg')">
<text style="pointer-events: none;">Backup Save</text>
</button>
</div>
</div>
</div>
</div>
<div class="tab" id="SecretMenu" style="height: calc(100vh + 55px);">
<div style="text-align: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
<text style="font-size: 25px;">You're not supposed to be here... although,</text><br>
<text style="font-size: 25px;">This is going to be a secret menu for Rod n' Mod very soon!</text>
</div>
</div>
</div>
<div class="menuContainer">
<div id="menuCt" style="transition: 500ms; width: 100%; display: flex; flex-direction: row; gap: 10px; position: fixed; bottom: 25px; padding: 0 10px;">
<button id="modsButton" type="menuButton" style="--width: 120px;" onmouseup="changeScene('Mods')">
<div style="pointer-events: none;" class="floatingIcon">
<img src="/assets/web/toolbox.png" class="spinning-image">
</div>
<text style="pointer-events: none;">Mods</text>
</button>
<button id="modpacksButton" type="menuButton" style="--width: 120px;" onmouseup="changeScene('Modpacks')">
<div style="pointer-events: none;" class="floatingIcon">
<img src="/assets/web/backpack.png" class="spinning-image">
</div>
<text style="pointer-events: none;">Modpacks</text>
</button>
<button id="savemanButton" type="menuButton" style="--width: 150px; " onmouseup="changeScene('SaveManager')">
<div style="pointer-events: none;" class="floatingIcon">
<img src="/assets/web/saveman.png" class="spinning-image">
</div>
<text style="pointer-events: none;">Save Manager</text>
</button>
<button id="settingsButton" type="menuButton" style="--width: 120px;" onmouseup="toggleSettings();">
<div style="pointer-events: none;" class="floatingIcon">
<img src="/assets/web/settings.png" class="spinning-image">
</div>
<text style="pointer-events: none;">Settings</text>
</button>
<div class="run" style="display: flex; flex-direction: row; gap: 10px; margin-left: auto; transition: 500ms;">
<button type="menuButton" style="display: block; --width: 165px; --height: 100px; margin-left: auto;" onmouseup="window.pywebview.api.launchWebfishing(true)">
<div style="pointer-events: none;" class="floatingIcon">
<img src="/assets/web/launch.png" class="spinning-image">
</div>
<text style="pointer-events: none;">Launch Vanilla</text>
</button>
<button type="menuButton" style="display: block; --width: 165px; --height: 100px; margin-left: auto;" onmouseup="window.pywebview.api.launchWebfishing()">
<div style="pointer-events: none;" class="floatingIcon">
<img src="/assets/web/launch_modded.png" class="spinning-image">
</div>
<text style="pointer-events: none;">Launch Modded</text>
</button>
</div>
</div>
</div>
</div>
<script src="/assets/scripts/script.js" defer></script>
<script src="/assets/scripts/modlist.js" defer></script>
<script src="/assets/scripts/secrets.js" defer></script>
<script src="/assets/scripts/saveman.js" defer></script>
<script src="/assets/scripts/dropdowns.js" defer></script>
<audio id="audio" src="/assets/web/fishing/sounds/minigame_reeling.ogg" loop="true" preload="auto"></audio>
</body>
</html>