-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
807 lines (737 loc) · 44 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
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
<!doctype html>
<html lang="en">
<head>
<link rel="manifest" href="./manifest.json">
<link rel="apple-touch-icon" sizes="180x180" href="./images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16.png">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="application-name" content="Tabletop Explorer">
<meta name="apple-mobile-web-app-title" content="Tabletop Explorer">
<meta name="msapplication-starturl" content="https://tabletop-explorer.christhebaron.co.uk">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="description" content="">
<title>Tabletop Explorer</title>
<link rel="stylesheet" href="./lib/bootstrap.min.css">
<link rel="stylesheet" href="./lib/fontawesome-free-5.15.1-web/css/all.min.css">
<link rel="stylesheet" href="./lib/iconselect.js-1.0/css/lib/control/iconselect.css">
<link rel="stylesheet" href="./main.css">
<script src="./lib/modernizr.js"></script>
<script>
for (let i of Object.keys(Modernizr)) {
if (Modernizr[i] === false) {
location.replace("https://browsehappy.com/");
}
}
</script>
</head>
<body>
<div class="alert alert-warning d-md-none position-absolute" role="alert">
This application is best enjoyed on a screen wider than 768px.
<button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button>
</div>
<main id="main">
<div id="dragMarker" style="display: none;"></div>
<span id="distanceMoved" style="display:none;"></span>
</main>
<nav class="navbar fixed-bottom navbar-dark bg-dark">
<div class="container-fluid">
<form class="d-flex align-items-center">
<div class="btn-group mr-3 control" role="group" aria-label="Add Tokens">
<a class="btn btn-outline-success" data-toggle="modal" data-target="#addTokenModal" title="Add New Token">
<i class="fas fa-plus"></i>
</a>
<a class="btn btn-outline-success" data-toggle="modal" data-target="#addFavouritesTokenModal" title="Add Favourite Token">
<i class="fas fa-bookmark"></i>
</a>
</div>
<div class="form-check form-switch mr-3 control">
<input class="form-check-input" type="checkbox" id="removeTokens">
<label class="form-check-label" for="removeTokens">Remove Tokens</label>
</div>
<a class="btn btn-outline-warning mr-3 control" data-toggle="modal" data-target="#editSceneModal" title="Edit Scene">
<i class="fas fa-image"></i>
</a>
<a class="btn btn-outline-info mr-3 control" data-toggle="modal" data-target="#changeSceneModal" title="Change Scene">
<i class="fas fa-images"></i>
</a>
<div class="mr-3 control">
<input type="range" class="form-range" min="0.25" max="3" step="0.0005" id="zoomInput" title="Zoom">
</div>
<div class="btn-group mr-3 control" role="group" aria-label="Set Zoom">
<a class="btn btn-outline-info" title="Fit To Height" id="fitHeight">
<i class="fas fa-arrows-alt-v"></i>
</a>
<a class="btn btn-outline-info" title="Fit To Width" id="fitWidth">
<i class="fas fa-arrows-alt-h"></i>
</a>
<a class="btn btn-outline-info" title="Fit To Screen" id="fitScreen">
<i class="fas fa-arrows-alt"></i>
</a>
</div>
<a class="btn btn-outline-info mr-3 control" data-toggle="modal" data-target="#helpModal" title="Help">
<i class="fas fa-question"></i>
</a>
<a class="btn btn-outline-success mr-3" title="Accept" id="acceptBackgroundSize" style="display:none;">
<i class="fas fa-check"></i>
</a>
<a class="btn btn-outline-danger mr-3" title="Cancel" id="cancelBackgroundSize" style="display:none;">
<i class="fas fa-times"></i>
</a>
</form>
</div>
</nav>
<div class="modal fade" id="addTokenModal" tabindex="-1" aria-labelledby="addTokenModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="addTokenModalLabel">Add Token</h5>
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form autocomplete="off" id="addTokenForm">
<div class="row mb-3">
<label for="tokenLabelInput" class="col-sm-2 col-form-label">Label</label>
<div class="col-sm">
<input required type="text" class="form-control" placeholder="Goblin" id="tokenLabelInput">
</div>
</div>
<div class="row mb-3">
<div class="col-sm-12">
<p class="form-text">
Select a colour for the token, a recently
used image or upload a new image.
</p>
</div>
<label class="col-sm-2 col-form-label">Image</label>
<div class="col-sm-2">
<input type="color" class="form-control form-control-color" id="tokenColourInput" title="Choose your color">
</div>
<div class="col-sm-2">
<div id="my-icon-select" title="Recent Images"></div>
</div>
<div class="col-sm-6">
<div class="form-file">
<input type="file" class="form-file-input" id="tokenImageFile" accept="image/*" />
<label class="form-file-label" for="tokenImageFile">
<span class="form-file-text">Choose file...</span>
<span class="form-file-button">Browse</span>
</label>
</div>
</div>
</div>
<div class="row mb-3">
<label for="tokenSizeInput" class="col-sm-2 col-form-label">Size</label>
<div class="col-sm">
<input required type="number" step="1" min="1" max="10" value="1" class="form-control" id="tokenSizeInput">
</div>
</div>
<div class="row mb-3">
<label for="tokenNumberInput" class="col-sm-2 col-form-label">Number</label>
<div class="col-sm">
<input required type="number" step="1" min="1" value="1" class="form-control" id="tokenNumberInput">
</div>
</div>
<div class="row mb-3">
<label for="tokenNumberingInput" class="col-sm-2 col-form-label">Style</label>
<div class="col-sm">
<select class="form-select" required id="tokenNumberingInput">
<option selected value="numeric">1, 2, 3</option>
<option value="alphabetic">A, B, C</option>
<option value="roman">I, II, III</option>
</select>
</div>
</div>
<div class="row mb-3">
<div class="col-sm">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="addToFavourites">
<label class="form-check-label" for="addToFavourites">
Save to Favourites
</label>
</div>
<p class="form-text">
This allows you to quickly add PC and NPC's
to other scenes without needing to fill in
the form every time. Only works with single
tokens.
</p>
</div>
</div>
<div class="text-right">
<button type="submit" class="btn btn-success" id="addToken">
<span style="display:none;" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Add Token
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="modal fade" id="addFavouritesTokenModal" tabindex="-1" aria-labelledby="addFavouritesTokenModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="addFavouritesTokenModalLabel">Add Favourite Tokens</h5>
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form autocomplete="off" id="addFavouritesTokenForm">
<div id="favouriteTokens">
</div>
<div class="text-right">
<button type="submit" class="btn btn-success" id="addToken">
<span style="display:none;" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Add Tokens
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="modal fade" id="editSceneModal" tabindex="-1" aria-labelledby="editSceneModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="editSceneModalLabel">Edit Scene</h5>
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<a class="btn btn-warning mr-3" id="setBackgroundSize" title="Set Background Size">
<i class="fas fa-expand"></i> Change Background Size
</a>
<hr />
<h3 class="h5">
Change Background Image
</h3>
<form autocomplete="off" id="changeImageForm">
<div class="row mb-3">
<div class="col">
<div class="form-file">
<input required type="file" class="form-file-input" id="changeImageFile" accept="image/*">
<label class="form-file-label" for="changeImageFile">
<span class="form-file-text">Choose file...</span>
<span class="form-file-button">Browse</span>
</label>
</div>
</div>
</div>
<div class="text-right">
<button type="submit" class="btn btn-success" id="changeImage">
<span style="display:none;" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Change Image
</button>
</div>
</form>
<hr />
<h3 class="h5">
Edit
</h3>
<form id="editSceneForm">
<div class="row mb-3">
<label for="editSceneFolderInput" class="col-sm-3 col-form-label">Folder</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="editSceneFolderInput">
</div>
</div>
<div class="row mb-3">
<label for="editSceneNameInput" class="col-sm-3 col-form-label">Name</label>
<div class="col-sm-9">
<input required type="text" class="form-control" id="editSceneNameInput" placeholder="Tavern">
</div>
</div>
<div class="row mb-3">
<label for="editMapDistanceInput" class="col-sm-3 col-form-label">Grid Size</label>
<div class="col-sm-5">
<input type="number" required class="form-control" id="editMapDistanceInput">
</div>
<div class="col-sm-4">
<input type="text" required class="form-control" id="editMapUnitInput" title="Unit">
</div>
</div>
<div class="text-right">
<button type="submit" class="btn btn-success" id="editScene">
<span style="display:none;" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Edit Scene
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="modal fade" id="changeSceneModal" tabindex="-1" aria-labelledby="changeSceneModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="changeSceneModalLabel">Change Scene</h5>
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form autocomplete="off" id="changeSceneForm">
<div class="row mb-3">
<label for="sceneSelectInput" class="col-sm-3 col-form-label">Scene</label>
<div class="col-sm-9">
<select required class="form-select" id="sceneSelectInput">
<option value="" selected disabled>Select Scene</option>
</select>
</div>
</div>
<div class="text-right">
<button type="submit" class="btn btn-primary" id="changeScene">Switch</button>
</div>
</form>
<hr />
<form autocomplete="off" id="newSceneForm">
<div class="row mb-3">
<label for="newSceneFolderInput" class="col-sm-3 col-form-label">Folder</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="newSceneFolderInput">
</div>
</div>
<div class="row mb-3">
<label for="newSceneNameInput" class="col-sm-3 col-form-label">Name</label>
<div class="col-sm-9">
<input required type="text" class="form-control" id="newSceneNameInput" placeholder="Tavern">
</div>
</div>
<div class="row mb-3">
<label for="newImageFile" class="col-sm-3 col-form-label">Background</label>
<div class="col-sm-9">
<div class="form-file">
<input required type="file" class="form-file-input" id="newImageFile" accept="image/*" />
<label class="form-file-label" for="newImageFile">
<span class="form-file-text">Choose file...</span>
<span class="form-file-button">Browse</span>
</label>
</div>
</div>
</div>
<div class="row mb-3">
<label for="mapDistanceInput" class="col-sm-3 col-form-label">Grid Size</label>
<div class="col-sm-5">
<input type="number" placeholder="5" class="form-control" id="mapDistanceInput">
</div>
<div class="col-sm-4">
<input type="text" class="form-control" id="mapUnitInput" title="Unit" placeholder="ft">
</div>
</div>
<div class="text-right">
<button type="submit" class="btn btn-success" id="newScene">
<span style="display:none;" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
New
</button>
</div>
</form>
<hr />
<form autocomplete="off" id="removeSceneForm">
<div class="row mb-3">
<label for="removeSelectInput" class="col-sm-3 col-form-label">Scene</label>
<div class="col-sm-9">
<select class="form-select" id="removeSceneInput" required>
<option value="" selected disabled>Remove Scene</option>
</select>
</div>
</div>
<div class="text-right">
<button type="submit" class="btn btn-danger" id="removeScene">Remove</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="modal fade" id="helpModal" tabindex="-1" aria-labelledby="helpModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl modal-fullscreen-sm-down">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="helpModalLabel">Help</h5>
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="accordion" id="accordionExample">
<div class="card">
<div class="card-header p-0" id="headingOne">
<h2 class="mb-0">
<button class="btn btn-light btn-block text-left p-3 rounded-0" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Introduction
</button>
</h2>
</div>
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body">
<h1 class="display-4">Tabletop Explorer</h1>
<p>
<img src="./images/android-chrome-192x192.png" />
</p>
<p>
Welcome to Tabletop Explorer. A simple,
game-agnostic tabletop map simulator.
Optimised for Desktop and Tablets
(mobile coming soon). Everything is
stored in your browser, no internet
connection needed, no servers to
connect to, no accounts to create. Any
changes will be saved in your browser,
so everything will be here ready for
your next session.
</p>
<p>
See the sections below for more
information, or simply click the
<button type="button" class="btn-close"></button>
at the top to get straight into it. You
can always get back here by clicking
the
<i class="fas fa-question text-info"></i>
at the bottom of the screen.
</p>
<p>
<a href='https://ko-fi.com/christhebaron' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi2.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
</p>
<p>
<i class="fa fa-external-link-alt"></i> <a target="_blank" href="./LICENSE.txt">MIT License - Copyright (c) 2020 Chris Taylor</a>
</p>
</div>
</div>
</div>
<div class="card">
<div class="card-header p-0" id="headingTwo">
<h2 class="mb-0">
<button class="btn btn-light btn-block text-left collapsed p-3 rounded-0" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Dealing With Tokens
</button>
</h2>
</div>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample">
<div class="card-body">
<h3 class="h5">
Moving Tokens
</h3>
<p>
Simply drag and drop the token anywhere
on the map to move it around. You can
also double tap the token to turn it
90°.
</p>
<h3 class="h5">
Adding Tokens
</h3>
<p>
Click <i class="fas fa-plus text-success"></i>
to bring up the 'Add Token' window.
From here you can specify the label,
size and number of tokens to add to
the current scene. You can also
specify a colour or an image to be used
for the tokens.
</p>
<p>
Click <i class="fas fa-bookmark text-success"></i>
to bring up the 'Add Favourite Tokens'
window. From here you can quickly add
any tokens that you marked as a
favourite when you added it the first
time. Use this for PC's and NPC's that
might appear on multiple scenes.
</p>
<h3 class="h5">
Removing Tokens
</h3>
<p>
Click 'Remove Tokens' to change modes.
With this enabled, when you tap on a
token it will be removed.
</p>
<h3 class="h5">
Zooming
</h3>
<p>
Use the slider at the bottom of the
screen to adjust the zoom level. There
are also the following functions:
</p>
<ul>
<li>
<i class="fas fa-arrows-alt-v text-info"></i>
Fit zoom to screen height
</li>
<li>
<i class="fas fa-arrows-alt-h text-info"></i>
Fit zoom to screen width
</li>
<li>
<i class="fas fa-arrows-alt text-info"></i>
Fit zoom to screen size
</li>
</ul>
</div>
</div>
</div>
<div class="card">
<div class="card-header p-0" id="headingScenes">
<h2 class="mb-0">
<button class="btn btn-light btn-block text-left collapsed p-3 rounded-0" type="button" data-toggle="collapse" data-target="#collapseScenes" aria-expanded="false" aria-controls="collapseScenes">
Dealing With Scenes
</button>
</h2>
</div>
<div id="collapseScenes" class="collapse" aria-labelledby="headingScenes" data-parent="#accordionExample">
<div class="card-body">
<h3 class="h5">
Changing the Map
</h3>
<p>
Click <i class="fas fa-image text-warning"></i>
to select a new background image for
the current scene.
</p>
<h3 class="h5">
Resizing the Map
</h3>
<p>
Click <i class="fas fa-image text-warning"></i>
and then select 'Change Background Size'
to start the process to resize the
background image.
</p>
<ol>
<li>
Input the size of the reference
square
</li>
<li>
Adjust the size of the square to
match your background image
</li>
<li>
Click <i class="fas fa-check text-success"></i>
to resize the background image to
the correct size
</li>
</ol>
<h3 class="h5">
Adding new Scenes
</h3>
<p>
Click <i class="fas fa-images text-info"></i>
to add a new scene. You will need to
give it a name and select a background
image. Your current scene will be
saved.
</p>
<p>
You can also organise your scenes into
a simple folder structure.
</p>
<h3 class="h5">
Switching Scenes
</h3>
<p>
Click <i class="fas fa-images text-info"></i>
and select the scene you wish to switch
to. Your current scene will be saved.
</p>
<h3 class="h5">
Removing Scenes
</h3>
<p>
Click <i class="fas fa-images text-info"></i>
and select the scene you wish to
remove. You cannot remove the current
scene, you need to switch to a
different scene first.
</p>
</div>
</div>
</div>
<div class="card">
<div class="card-header p-0" id="headingThree">
<h2 class="mb-0">
<button class="btn btn-light btn-block text-left collapsed p-3 rounded-0" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Credits
</button>
</h2>
</div>
<div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
<div class="card-body">
<p>
Technologies Used
</p>
<ul>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://v5.getbootstrap.com/">
Bootstap 5
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://jquery.com/">
jQuery
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://pouchdb.com/">
PouchDB
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://twitter.github.io/typeahead.js/">
typeahead.js
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://fontawesome.com/">
Font Awesome
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://modernizr.com/">
Modernizr
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://github.com/uuidjs/uuid">
uuid
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://stuk.github.io/jszip/">
JSZip
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://github.com/rndme/download">
download
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://bug7a.github.io/iconselect.js/">
iconselect.js
</a>
</li>
</ul>
<p>
Acknowledgements
</p>
<ul>
<li>
<i class="fas fa-external-link-alt"></i>
Logo designed at
<a target="_blank" href="https://logomakr.com/">
LogoMakr.com
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://www.deviantart.com/mike-perrotta/art/Dungeons-and-Dragons-Tiled-Tavern-Map-584588937">
Tavern map reproduced from 'Dungeons and Dragons - Tiled Tavern Map' by 'Mike-Perrotta'
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://imgur.com/a/iOCnr#0">
Tokens reproduced from 'Human and human-shaped characters'
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="https://dungeonsdragons.fandom.com/wiki/List_of_Dungeons_%26_Dragons_5th_edition_monsters">
List of Dungeons & Dragons 5th edition monsters
</a>
</li>
<li>
<i class="fas fa-external-link-alt"></i>
<a target="_blank" href="http://dungeonsmaster.com/2012/10/lair-assault-map-gallery/">
Boat map reproduced from 'Lair Assault Map Gallery' on dungeonsmaster.com
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="card">
<div class="card-header p-0" id="headingExportImport">
<h2 class="mb-0">
<button class="btn btn-light btn-block text-left p-3 rounded-0" type="button" data-toggle="collapse" data-target="#collapseExportImport" aria-expanded="false" aria-controls="collapseExportImport">
Export/Import Data
</button>
</h2>
</div>
<div id="collapseExportImport" class="collapse" aria-labelledby="headingExportImport" data-parent="#accordionExample">
<div class="card-body">
<div class="row">
<div class="col-6">
<button id="exportData" class="btn btn-block btn-success">
<span style="display:none;" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Export Data as .zip
</button>
</div>
<div class="col-6">
<button id="importData" class="btn btn-block btn-warning">
<span style="display:none;" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Import Data from .zip
</button>
<input type="file" id="importDataPicker" style="display:none" accept=".zip" />
</div>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header p-0" id="headingNuke">
<h2 class="mb-0">
<button class="btn btn-light btn-block text-left p-3 rounded-0" type="button" data-toggle="collapse" data-target="#collapseNuke" aria-expanded="false" aria-controls="collapseNuke">
Clear Data
</button>
</h2>
</div>
<div id="collapseNuke" class="collapse" aria-labelledby="headingNuke" data-parent="#accordionExample">
<div class="card-body">
<p>
Clicking the button below will clear
<strong>all</strong> of your data.
Don't click it unless you <em>really</em>
mean it. Maybe try exporting it first?
</p>
<button id="clearAllData" class="btn btn-block btn-danger">
<span style="display:none;" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
<i class="fas fa-exclamation-triangle"></i>
Clear All Data. This Is Irreversible.
<i class="fas fa-exclamation-triangle"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="./lib/bootstrap.bundle.min.js"></script>
<script src="./lib/jquery-3.5.1.min.js"></script>
<script src="./lib/interact.min.js"></script>
<script src="./lib/uuidv4.min.js"></script>
<script src="./lib/typeahead.bundle.js"></script>
<script src="./lib/pouchdb-7.2.1.min.js"></script>
<script src="./lib/download.js"></script>
<script src="./lib/jszip.min.js"></script>
<script src="./lib/iconselect.js-1.0/lib/control/iconselect.js"></script>
<script src="./lib/iconselect.js-1.0/lib/iscroll.js"></script>
<script src="./main.js"></script>
<script src="./tokenNameTypeahead.js"></script>
</body>
</html>