-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
704 lines (695 loc) · 49.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
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
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
<!DOCTYPE html>
<html>
<head>
<title>TourKOAL - Tournament Overlay - v1.3.2</title>
<meta name="description" content="Enhance your Pokémon Tournament's stream overlays with team displays and real-time standings using this online OBS plugin!">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="TourKOAL - Tournament Overlay - v1.3.2!">
<meta property="og:image" content="https://www.skeletom.net/pkmn/tournament-overlay/img/site/logo_notext1x.png">
<meta name="twitter:image" content="https://www.skeletom.net/pkmn/tournament-overlay/img/site/logo_notext1x.png">
<meta property="og:type" content="website">
<meta property="og:description" content="Enhance your Pokémon Tournament's stream overlays with team displays and real-time standings using this online OBS plugin!">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="./css/style.css">
</head>
<body class="bg">
<div class="flex-col container">
<div class="nav rounded-corner">
<div id="navContent" class="heading rounded-corner-small no-margins font-small bold nav-content">
<div class="text-align-left">
<span>🔎</span>
<a href="#general">Setup</a> -
<a href="#battle">Battle</a> -
<a href="#pairings">Pairings</a> -
<a href="#standings">Standings</a> -
<a href="#players">Players and Teams</a> -
<a href="#about">Contact</a> |
<label for="connect" class="bold obsStatus">...</label>
</div>
<div class="text-align-right"><span>📚</span><a id="changelog" href="https://github.com/FomTarro/pkmn-tournament-overlay-tool/releases" target="_blank">Changelog</a></div>
</div>
</div>
<div>
<!-- README and OBS Settings -->
<div id="general" class="section">
<div class="rounded-corner">
<h1 class="heading rounded-corner-small"><label for="minimizeGeneral">TourKOAL - v1.3.2</label><button id="minimizeGeneral" class="minimizeButton" title="Expand/Collapse the About Section" minimize="generalContent" status="on"></button></h1>
</div>
<div id="generalContent">
<div id="readme">
<div class="rounded-corner">
<div class="float-left logo flex center">
<img src="./img/site/logo_notext4x.png">
</div>
<div>
<p>
Welcome to <b>TourKOAL</b> (<b>Tour</b>nament <b>K</b>nowledge and <b>O</b>verlay <b>A</b>ssistant for <b>L</b>ivestreams)!
</p>
<p>
The goal of this tool is to easily compile player and team information such that it can be quickly displayed on the fly during Pokémon tournament matches,
helping you build a professional-quality overlay in OBS for your broadcast with as little manual work as possible.
</p>
<p>
No longer will you need to scramble through hundreds of image files by hand as players reveal which of their Pokémon they brought to the game,
nor will you need to manually adjust OBS sources when items are consumed or Pokémon faint! You can even automatically track and update player pairings and standings to display on stream!
</p>
<p>
The tool runs entirely in the browser as well, making it very portable and easy to run on venue stream setups without needing to download or install any additional software.
</p>
</div>
</div>
<div class="rounded-corner flex flex-col">
<div class="font-medium bold">Getting Started</div>
<ol id="gettingStarted">
<li>Make sure that your OBS WebSocket Server is Enabled (accessed via Tools → WebSocket Server Settings).</li>
<ul>
<li>For OBS Versions <span class="code notranslate">28.0.0</span> and above, OBS WebSocket Server is built-in.</li>
<li>For older OBS Versions, you can <a href="https://github.com/obsproject/obs-websocket/releases">download a plugin</a>.</li>
</ul>
<li><a href="#obs_settings">Connect to OBS</a>.
<li>Choose which <a href="#battle">OBS Scene</a> your Tournament Overlay is in.</li>
<li>Pick <a href="#battle">sources in that scene to output to</a> (Pokémon icons are Browser sources, everything else is a Text source).</li>
<li>Enter player data in the <a href="#players">table at the bottom of the page</a>, or import your tournament roster from a TOM file.</li>
<li>You're all set! <a href="#battle">Pick your players from the dropdown</a> and easily display information about their team!</li>
<ul>
<li>Optional: You can also display <a href="#pairings">pairings</a> and <a href="#standings">standings</a> in real-time, either by entering the data manually, or by tracking TOM files.</li>
</ul>
</ol>
</div>
<div id="privacy" class="rounded-corner">
<div class="bold important">IMPORTANT!</div>
<div>
Your privacy, and the privacy of your players, is extremely important! As such, this tool runs entirely within the user's browser. No data, be it manually entered or imported from TOM reports, is being collected or sent to a remote server.
</div>
<p></p>
<div>
Please be sure to obtain express permission from your players before featuring them and/or their names on stream!
</div>
</div>
</div>
<div id="obs_settings" class="flex flex-col rounded-corner">
<div class="flex flex-col">
<label for="connect" class="bold">OBS Status: <span class= "bold obsStatus">...</span></label>
<form class="flex flex-wrap">
<input id="address" class="sourceSetting" placeholder="Address" type="text" minlength="7" maxlength="15" value="localhost" pattern="^(localhost|((\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.){3}(\d{1,2}|1\d\d|2[0-4]\d|25[0-5]))$" required autocomplete="off">
<input id="port" class="sourceSetting" placeholder="Port" type="number" min="1" max="65535" size=5 value="4455">
<input id="password" class="sourceSetting" placeholder="Password (optional)" type="password" autocomplete="current-password">
<button id="connect" type='button'>Connect to OBS</button>
</form>
<span id="obsError" class="disconnected font-small">...</span>
</div>
</div>
</div>
</div>
<!-- Battle -->
<div id="battle" class="section">
<div class="rounded-corner">
<h1 class="heading rounded-corner-small"><label for="minimizeBattle">Battle</label><button id="minimizeBattle" class="minimizeButton" title="Expand/Collapse the Battle Dashboard" minimize="battleContent" status="on"></button></h1>
</div>
<div id="battleContent">
<div class="flex flex-col rounded-corner">
<p>
You can select which players are currently battling, and then easily select which Pokémon they reveal, as they reveal them.
You can also display the Pokémon's condition, as well as its held item and the item's condition.
</p>
<div>
<div class="bold important">IMPORTANT!</div>
<div>The Pokémon icons are Browser sources, while all other pieces of data are Text sources in OBS!</div>
</div>
</div>
<div id="obs_scene_selection" class="flex flex-col rounded-corner">
<div>
<label for="battleSceneSelect" class="bold">Battle Overlay OBS Scene</label>
</div>
<input id="battleSceneSelect" class="sceneSelect sourceSetting" target="battle" placeholder="Select OBS source..." autoComplete="on" list="sceneOptions" type="text"/>
</div>
<div class="flex flex-col rounded-corner">
<div class="flex-center">
<label class="bold" for="monCountSlider">Players to Display</label>
</div>
<div class="font-small flex flex-center">
<label for="monIconEffect">Icon effect: </label>
<select id="monIconEffect" class="generalSetting">
<option value="none">None</option>
<option value="shadow">Drop Shadow</option>
<option value="outline">Outline</option>
<option value="shadow_outline">Outline + Drop Shadow</option>
<option value="custom">Custom</option>
</select>
</div>
<div class="font-small flex flex-center">
<label for="battleRecordToggle">Include record with name? (ex. "Ash K. (1/0/2)")</label>
<input id="battleRecordToggle" class="generalSetting recordToggle" type="checkbox" checked>
</div>
<div class="slider">
<button class="minus square" type='button'>➖</button>
<input id="monCountSlider" class="generalSetting" type="range" step="1" min="1" max="6" value="4">
<button class="plus square" type='button'>➕</button>
<span class="font-small">
<span>Total Pokémon per team: </span>
<span id="monCount">4</span>
</span>
</div>
</div>
<div class="dashboard" id="dashboard">
<div id="view" class="flex-row">
<div id="player_1_dashboard" class="playerModule flex flex-col rounded-corner">
<h2 class="heading rounded-corner-small red">Player #1</h2>
<div class="scoreModule">
<div class="scoreDisplay">0</div>
<button title="Subtract Score from Player #1" class="minus square" type='button'>➖</button>
<button title="Add Score to Player #1" class="plus square" type='button'>➕</button>
→ <input id="p1_score_obs_output" class="sourceSelect sourceSetting" placeholder="Select OBS source..." autoComplete="on" list="textSourceOptions_battle"/>
</div>
<div id="player_1_name">
<div>
<label for="player_1_select" class="bold">Player #1</label> <a href="#players" class="player_link font-small">(jump to table)</a>
</div>
<div class="nameModule">
<select class="playerSelect" id="player_1_select" recordToggle="battleRecordToggle">
<optgroup label="Default">
<option>None</option>
</optgroup>
<optgroup label="Players" class="optionContent">
</optgroup>
</select> →
<input id="p1_name_obs_output" class="sourceSelect sourceSetting" placeholder="Select OBS source..." autoComplete="on" list="textSourceOptions_battle"/>
</div>
</div>
<!-- Mon Modules Go Here -->
<div class="flex flex-row flex-half-gap">
<button class="fillButton" type='button'>Display all Mons</button>
<button class="resetButton" type='button'>Reset all Mons</button>
</div>
</div>
<div id="player_2_dashboard" class="playerModule flex flex-col rounded-corner">
<h2 class="heading rounded-corner-small blue">Player #2</h2>
<div class="scoreModule">
<div class="scoreDisplay">0</div>
<button title="Subtract Score from Player #2" class="minus square" type='button'>➖</button>
<button title="Add Score to Player #2" class="plus square" type='button'>➕</button>
→ <input id="p2_score_obs_output" class="sourceSelect sourceSetting" placeholder="Select OBS source..." autoComplete="on" list="textSourceOptions_battle"/>
</div>
<div id="player_2_name">
<div>
<label for="player_2_select" class="bold">Player #2</label> <a href="#players" class="player_link font-small">(jump to table)</a>
</div>
<div class="nameModule">
<select class="playerSelect" id="player_2_select" recordToggle="battleRecordToggle">
<optgroup label="Default">
<option>None</option>
</optgroup>
<optgroup label="Players" class="optionContent">
</optgroup>
</select> →
<input id="p2_name_obs_output" class="sourceSelect sourceSetting" placeholder="Select OBS source..." autoComplete="on" list="textSourceOptions_battle"/>
</div>
</div>
<!-- Mon Modules Go Here -->
<div class="flex flex-row flex-half-gap">
<button class="fillButton" type='button'>Display all Mons</button>
<button class="resetButton" type='button'>Reset all Mons</button>
</div>
</div>
</div>
<div class="flex flex-col reset-col rounded-corner">
<button class="resetMatchButton" type='button'>Reset Match
<ul class="resetDescription font-small">
<li>Keep both players</li>
<li>Keep both scores</li>
<li>Reset all mons to 'None'</li>
</ul>
</button>
<button class="resetRoundButton" type='button'>Reset Round
<ul class="resetDescription font-small">
<li>Reset both players to 'None'</li>
<li>Reset both scores to 0</li>
<li>Reset all mons to 'None'</li>
</ul>
</button>
</div>
</div>
</div>
</div>
<!-- Pairings -->
<div id="pairings" class="section">
<div class="rounded-corner">
<h1 class="heading rounded-corner-small"><label for="minimizePairings">Pairings</label><button id="minimizePairings" class="minimizeButton" title="Expand/Collapse the Pairings Dashboard" minimize="pairingsContent" status="on"></button></h1>
</div>
<div id="pairingsContent">
<div class="flex flex-col rounded-corner">
<p>
You can either select a TOM <span class="code notranslate">...pairings.html</span> file to display a live set of player pairings that will be automatically updated any time you generate a Pairings Report in TOM, or you can update them by hand here.
</p>
</div>
<div class="rounded-corner">
<div class="bold important">IMPORTANT!</div>
<div>
In order for players to be displayed in the pairings, they must already be registered in the <a href='#players'>player table below</a>.
</div>
</div>
<div class="flex flex-col rounded-corner">
<div>
<label for="pairingsSceneSelect" class="bold">Pairings Overlay OBS Scene</label>
</div>
<input id="pairingsSceneSelect" class="sceneSelect sourceSetting" target="pairings" placeholder="Select OBS scene..." autoComplete="on" list="sceneOptions" type="text"/>
</div>
<div id="pairingsImportModule" class="flex flex-col rounded-corner">
<div class="notAvailable rounded-corner rounded-corner-small">
<span class="important">Live file tracking is only availble in <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/showOpenFilePicker#browser_compatibility" target="_blank">some browsers</a>.</span>
</div>
<label for="pairingsImport" class="bold">Import from TOM</label>
<span class="font-small">(These will be in your <code class="code notranslate">TOM/data/reports</code> directory!)</span>
<div>
<button id="pairingsImport" class="notranslate">Choose File</button>
<label for="pairingsImport" id="pairingsImportFile" class="font-small basic-ui notranslate">No file chosen</label>
<span id="pairingsImportStatus" class="font-small bold"></span>
</div>
<div>
<button id="pairingsTrackingStop" disabled>Stop Tracking File</button>
</div>
</div>
<div class="flex flex-col rounded-corner">
<div class="flex-center">
<label class="bold" for="pairingsSlider">Pairings to Display</label>
</div>
<div class="font-small flex flex-center">
<label for="pairingsRecordToggle">Include record with name? (ex. "Ash K. (1/0/2)")</label>
<input id="pairingsRecordToggle" class="generalSetting recordToggle" type="checkbox" checked>
</div>
<div class="slider">
<button class="minus square" type='button'>➖</button>
<input id="pairingsSlider" class="generalSetting" type="range" step="1" min="1" max="32" value="16">
<button class="plus square" type='button'>➕</button>
<span class="font-small">
<span>Total pairings displayed: </span>
<span id="pairingsCount">8</span>
</span>
</div>
<ol id="pairingsList">
</ol>
</div>
<div class="flex flex-col rounded-corner">
<label for="pairingsSceneSelect" class="bold">Pairings as Single Line</label>
<span class="font-small">(Optional, useful for a ticker/marquee element.)</span>
<div class="font-small flex flex-center">
<label for="pairingsSingleSplitter">Divider:</label>
<input id="pairingsSingleSplitter" class="input-small generalSetting" value="/" min="3" max="3" size="3" type="text"/>
</div>
<div>
<input id="pairingsSingle" readonly> →
<input id="pairingsSingleSource" class="sourceSelect sourceSetting" placeholder="Select OBS source..." autoComplete="on" list="textSourceOptions_pairings"/>
</div>
</div>
<div class="flex flex-col rounded-corner">
<button class="resetPairingsButton">Reset Pairings Display
<ul class="resetDescription font-small">
<li>Resets all Pairings to 'None'</li>
<li>Does not stop tracking TOM file</li>
</ul>
</button>
</div>
</div>
</div>
<!-- Standings -->
<div id="standings" class="section">
<div class="rounded-corner">
<h1 class="heading rounded-corner-small"><label for="minimizeStandings">Standings</label><button id="minimizeStandings" class="minimizeButton" title="Expand/Collapse the Standings Dashboard" minimize="standingsContent" status="on"></button></h1>
</div>
<div id="standingsContent">
<div class="flex flex-col rounded-corner">
<p>
You can either select a TOM <code class="code notranslate">...standings.html</code> file to display a live set of tournament standings that will be automatically updated any time you generate a Standings Report in TOM, or you can update them by hand here.
</p>
</div>
<div class="rounded-corner">
<div class="bold important">IMPORTANT!</div>
<div>
In order for players to be displayed in the standings, they must already be registered in the <a href='#players'>player table below</a>.
</div>
</div>
<div class="flex flex-col rounded-corner">
<div>
<label for="standingsSceneSelect" class="bold">Standings Overlay OBS Scene</label>
</div>
<input id="standingsSceneSelect" class="sceneSelect sourceSetting" target="standings" placeholder="Select OBS scene..." autoComplete="on" list="sceneOptions" type="text"/>
</div>
<div id="standingsImportModule" class="flex flex-col rounded-corner">
<div class="notAvailable rounded-corner rounded-corner-small">
<span class="important">Live file tracking is only availble in <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/showOpenFilePicker#browser_compatibility" target="_blank">some browsers</a>.</span>
</div>
<label for="standingsImport" class="bold">Import from TOM</label>
<span class="font-small">(These will be in your <code class="code notranslate">TOM/data/reports</code> directory!)</span>
<div>
<button id="standingsImport" class="notranslate">Choose File</button>
<label for="standingsImport" id="standingsImportFile" class="font-small basic-ui notranslate">No file chosen</label>
<span id="standingsImportStatus" class="font-small bold"></span>
</div>
<div>
<button id="standingsTrackingStop" disabled>Stop Tracking File</button>
</div>
</div>
<div class="flex flex-col rounded-corner">
<div class="flex-center">
<label class="bold" for="standingsSlider">Standings to Display</label>
</div>
<div class="font-small flex flex-center">
<label for="standingsOrdinalToggle">Include ordinal? (ex. 1st, 2nd...)</label>
<input id="standingsOrdinalToggle" class="generalSetting ordinalToggle" type="checkbox" checked>
</div>
<div class="font-small flex flex-center">
<label for="standingsRecordToggle">Include record with name? (ex. "Ash K. (1/0/2)")</label>
<input id="standingsRecordToggle" class="generalSetting recordToggle" type="checkbox" checked>
</div>
<div class="slider">
<button class="minus square" type='button'>➖</button>
<input id="standingsSlider" class="generalSetting" type="range" step="1" min="1" max="32" value="16">
<button class="plus square" type='button'>➕</button>
<span class="font-small">
<span>Total standings displayed: </span>
<span id="standingsCount">8</span>
</span>
</div>
<ol id="standingsList">
</ol>
</div>
<div class="flex flex-col rounded-corner">
<label for="standingsSceneSelect" class="bold">Standings as Single Line</label>
<span class="font-small">(Optional, useful for a ticker/marquee element.)</span>
<div class="font-small flex flex-center">
<label for="standingsSingleOrdinalToggle">Include ordinal? (ex. 1st, 2nd...)</label>
<input id="standingsSingleOrdinalToggle" class="generalSetting ordinalToggle" type="checkbox" checked>
</div>
<div class="font-small flex flex-center">
<label for="standingsSingleSplitter">Divider:</label>
<input id="standingsSingleSplitter" class="input-small generalSetting" value="/" min="3" max="3" size="3" type="text"/>
</div>
<div>
<input id="standingsSingle" readonly> →
<input id="standingsSingleSource" class="sourceSelect sourceSetting" placeholder="Select OBS source..." autoComplete="on" list="textSourceOptions_standings"/>
</div>
</div>
<div class="flex flex-col rounded-corner">
<button class="resetStandingsButton">Reset Standings Display
<ul class="resetDescription font-small">
<li>Resets all Standings to 'None'</li>
<li>Does not stop tracking TOM file</li>
</ul>
</button>
</div>
</div>
</div>
<!-- Table -->
<div id="players" class="section">
<div class="rounded-corner">
<h1 class="heading rounded-corner-small"><label for="minimizePlayers">Players and Teams</label><button id="minimizePlayers" class="minimizeButton" title="Expand/Collapse the Players Dashboard" minimize="playersContent" status="on"></button></h1>
</div>
<div id="playersContent">
<div class="flex flex-col rounded-corner">
<p>
You can either import a complete player list from a TOM <code class="code notranslate">...roster.html</code> file, or you can add player records by hand in the table below.
</p>
<label for="playerImport" class="bold">Import from TOM</label>
<span class="font-small">(These will be in your <code class="code notranslate">TOM/data/reports</code> directory!)</span>
<div class="font-small flex flex-center">
<span>Abbreviate names on import (ex. 'Ash Ketchum' → 'Ash K.') for... </span>
<label for="abbreviateJuniorsToggle">Juniors?</label>
<input id="abbreviateJuniorsToggle" class="generalSetting" type="checkbox">
<label for="abbreviateSeniorsToggle">Seniors?</label>
<input id="abbreviateSeniorsToggle" class="generalSetting" type="checkbox">
<label for="abbreviateMastersToggle">Masters?</label>
<input id="abbreviateMastersToggle" class="generalSetting" type="checkbox">
</div>
<div>
<input id='playerImport' class="playerImport" placeholder="Import Player Roster from TOM..." type="file" accept=".html" pattern=".*(roster\.html)">
<span id="playerImportStatus" class="font-small bold"></span>
</div>
</div>
<div class="flex flex-col rounded-corner">
<label class="bold" for="playerFilter">Filter Player List</label>
<div>
<input id='playerFilter' class="playerFilter" placeholder="Filter by Player Name..." type="text">
<span class="font-small">Total players: <span id="playerTotal">0</span> (Filter matches: <span id="playerFilterTotal">0</span>)</span>
</div>
</div>
<div id="players_dashboard">
<table>
<tbody id="players_table">
<tr id="players_table_header" class="table-header">
<!-- <th class="center player_row_anchor_header"> -->
</th>
<th class="center square">
<div class="red rounded-corner-small">
<button id="player_add" class="square" type='button'>➕</button>
</div>
</th>
<th>
<div class="red rounded-corner-small">
<div>Player Name</div>
</div>
</th>
<th>
<div class="red rounded-corner-small">
<div>Mon #1</div>
</div>
</th>
<th>
<div class="red rounded-corner-small">
<div>Mon #2</div>
</div>
</th>
<th>
<div class="red rounded-corner-small">
<div>Mon #3</div>
</div>
</th>
<th>
<div class="red rounded-corner-small">
<div>Mon #4</div>
</div>
</th>
<th>
<div class="red rounded-corner-small">
<div>Mon #5</div>
</div>
</th>
<th>
<div class="red rounded-corner-small">
<div>Mon #6</div>
</div>
</th>
</tr>
<!-- Want to add new rows starting here -->
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Footer -->
<hr>
<footer id="about" class="section flex flex-col center">
<span class="font-small">
Developed by Professor <a href="https://www.skeletom.net" target="_blank">Tom "Skeletom" Farro</a> -
Open Source: <a href="https://github.com/FomTarro/pkmn-tournament-overlay-tool" target="_blank">GitHub</a> -
Contact: <a href="mailto:pokemon@skeletom.net?subject=About the Tournament Overlay Tool">pokemon@skeletom.net</a>
</span>
<span class="font-small">(This tool is not officially affiliated with or endorsed by <a href="https://www.pokemon.com/us/about-pokemon/" target="_blank">The Pokémon Company International (TPCi)</a> or the <a href="https://www.pokemon.com/us/play-pokemon" target="_blank">Play! Pokémon</a> program)</span>
<span class="unown font-medium">thank you for your support! we all live in a pokemon world!</span>
</footer>
<!-- Templates -->
<div hidden id="templates">
<template id="mon_template_item">
<div class="monModule">
<div class="flex">
<iframe class="monIcon" scrolling="no"></iframe>
<div class="monInputs">
<div>
<label for="mon_select_x" class="bold">Mon #x</label>
</div>
<div>
<select id="mon_select_x" class="monSelect">
<optgroup label="Default">
<option class="monOption">None</option>
</optgroup>
<optgroup label="Mons" class="optionContent">
<option class="monOption notranslate">Mon1</option>
<option class="monOption notranslate">Mon2</option>
<option class="monOption notranslate">Mon3</option>
<option class="monOption notranslate">Mon4</option>
<option class="monOption notranslate">Mon5</option>
<option class="monOption notranslate">Mon6</option>
</optgroup>
</select> →
<input id="mon_obs_output_x" class="sourceSelect sourceSetting" placeholder="Select OBS source..." autoComplete="on" list="browserSourceOptions_battle"/>
</div>
<div>
<input id="mon_held_item_x" class="itemSelect" placeholder="Held Item..." type="text" list="itemOptions">
</div>
<div class="monSubOptions font-small flex flex-center">
<label for="fainted_toggle_x">Fainted?</label>
<input id="fainted_toggle_x" class="monSubOption faintedToggle" type="checkbox">
<label for="item_toggle_x">Item Used?</label>
<input id="item_toggle_x" class="monSubOption itemToggle" type="checkbox">
<label for="tera_toggle_x">Terastallized?</label>
<input id="tera_toggle_x" class="monSubOption teraToggle" type="checkbox">
</div>
</div>
</div>
</div>
</template>
<template id="pairings_template_item">
<li class="pairingsModule rounded-corner-small">
<div class="flex center flex-wrap flex-space-between">
<div class="nameModule">
<select id="table_x_player1_name" class="playerSelect" recordToggle="pairingsRecordToggle">
<optgroup label="Default">
<option value="None">None</option>
</optgroup>
<optgroup label="Players" class="optionContent">
</optgroup>
</select>
</div>
<span class="font-small">vs.</span>
<div class="nameModule">
<select id="table_x_player2_name" class="playerSelect">
<optgroup label="Default">
<option value="None">None</option>
</optgroup>
<optgroup label="Players" class="optionContent">
</optgroup>
</select>
</div> →
<input id="table_x_pairing_obs_output" class="sourceSelect sourceSetting" placeholder="Select OBS source..." autoComplete="on" list="textSourceOptions_pairings"/>
</div>
</li>
</template>
<template id="standings_template_item">
<li class="standingsModule rounded-corner-small">
<div class="nameModule flex flex-wrap flex-space-between center">
<select id="pos_x_player_name" class="playerSelect" ordinalToggle="standingsOrdinalToggle" recordToggle="standingsRecordToggle">
<optgroup label="Default">
<option value="None">None</option>
</optgroup>
<optgroup label="Players" class="optionContent">
</optgroup>
</select> →
<input id="pos_x_player_name_obs_output" class="sourceSelect sourceSetting" placeholder="Select OBS source..." autoComplete="on" list="textSourceOptions_standings"/>
</div>
</li>
</template>
<template id="player_template_row">
<tr id="player_x_row" class="playerRow">
<!-- <td id="player_x_anchor" class="player_row_anchor"></td> -->
<td>
<div class="flex center rounded-corner-small">
<button id="player_x_delete" class="square" type='button'>❌</button>
</div>
</td>
<td>
<div class='flex-col center rounded-corner-small'>
<input id="player_x_name" class="playerName" placeholder="Player Name" type="text" required>
<button id="player_x_import_paste" class="standardInput">Import Team</button>
</div>
</td>
<td>
<div class='flex-col center rounded-corner-small'>
<input id="player_x_mon_1" placeholder="Mon #1" type="text" list="pokemonOptions" required>
<input id="player_x_mon_1_tera" placeholder="Tera Type (optional)" type="text" list="typeOptions">
<input id="player_x_mon_1_item" placeholder="Held Item (optional)" type="text" list="itemOptions">
</div>
</td>
<td>
<div class='flex-col center rounded-corner-small'>
<input id="player_x_mon_2" placeholder="Mon #2" type="text" list="pokemonOptions" required>
<input id="player_x_mon_2_tera" placeholder="Tera Type (optional)" type="text" list="typeOptions">
<input id="player_x_mon_2_item" placeholder="Held Item (optional)" type="text" list="itemOptions">
</div>
</td>
<td>
<div class='flex-col center rounded-corner-small'>
<input id="player_x_mon_3" placeholder="Mon #3" type="text" list="pokemonOptions" required>
<input id="player_x_mon_3_tera" placeholder="Tera Type (optional)" type="text" list="typeOptions">
<input id="player_x_mon_3_item" placeholder="Held Item (optional)" type="text" list="itemOptions">
</div>
</td>
<td>
<div class='flex-col center rounded-corner-small'>
<input id="player_x_mon_4" placeholder="Mon #4" type="text" list="pokemonOptions" required>
<input id="player_x_mon_4_tera" placeholder="Tera Type (optional)" type="text" list="typeOptions">
<input id="player_x_mon_4_item" placeholder="Held Item (optional)" type="text" list="itemOptions">
</div>
</td>
<td>
<div class='flex-col center rounded-corner-small'>
<input id="player_x_mon_5" placeholder="Mon #5" type="text" list="pokemonOptions" required>
<input id="player_x_mon_5_tera" placeholder="Tera Type (optional)" type="text" list="typeOptions">
<input id="player_x_mon_5_item" placeholder="Held Item (optional)" type="text" list="itemOptions">
</div>
</td>
<td>
<div class='flex-col center rounded-corner-small'>
<input id="player_x_mon_6" placeholder="Mon #6" type="text" list="pokemonOptions" required>
<input id="player_x_mon_6_tera" placeholder="Tera Type (optional)" type="text" list="typeOptions">
<input id="player_x_mon_6_item" placeholder="Held Item (optional)" type="text" list="itemOptions">
</div>
</td>
</tr>
</template>
</div>
<!-- Data Lists -->
<div hidden id="datalists">
<datalist id="sceneOptions">
<!-- Scenes in OBS -->
</datalist>
<datalist id="browserSourceOptions_battle">
<!-- Browser Sources in OBS -->
</datalist>
<datalist id="textSourceOptions_battle">
<!-- Text Sources in OBS -->
</datalist>
<datalist id="textSourceOptions_standings">
<!-- Text Sources in OBS for the Standings Scene -->
</datalist>
<datalist id="textSourceOptions_pairings">
<!-- Text Sources in OBS for the Pairings Scene -->
</datalist>
<datalist id="pokemonOptions">
<!-- Every single Pokemon -->
</datalist>
<datalist id="itemOptions">
<!-- Every single Hold Item -->
</datalist>
<datalist id="typeOptions">
<option class="typeOption" id="type-bug">Bug</option>
<option class="typeOption" id="type-dark">Dark</option>
<option class="typeOption" id="type-dragon">Dragon</option>
<option class="typeOption" id="type-electric">Electric</option>
<option class="typeOption" id="type-fairy">Fairy</option>
<option class="typeOption" id="type-fighting">Fighting</option>
<option class="typeOption" id="type-fire">Fire</option>
<option class="typeOption" id="type-flying">Flying</option>
<option class="typeOption" id="type-ghost">Ghost</option>
<option class="typeOption" id="type-grass">Grass</option>
<option class="typeOption" id="type-ground">Ground</option>
<option class="typeOption" id="type-ice">Ice</option>
<option class="typeOption" id="type-normal">Normal</option>
<option class="typeOption" id="type-poison">Poison</option>
<option class="typeOption" id="type-psychic">Psychic</option>
<option class="typeOption" id="type-rock">Rock</option>
<option class="typeOption" id="type-steel">Steel</option>
<option class="typeOption" id="type-water">Water</option>
<option class="typeOption" id="type-stellar">Stellar</option>
</datalist>
</div>
</div>
</body>
<script type="text/javascript" src="./js/species.js"></script>
<script type="text/javascript" src="./js/utils.js"></script>
<script type="text/javascript" src="./js/tom.js"></script>
<script type="text/javascript" src="./js/pokepaste.js"></script>
<script type="text/javascript" src="./js/players.js"></script>
<script type="text/javascript" src="./js/vendor/obs-ws.min.js"></script>
<script type="text/javascript" src="./js/obs.js"></script>
<script type="text/javascript" src="./js/script.js"></script>
</html>