-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
652 lines (612 loc) · 36.3 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
<!--
IronWriter is an open-source writing tool for solo playthroughs of the free tabletop RPG Ironsworn.
Copyright (C) 2019 Alex Larioza
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see https://github.com/SHiLLySiT/IronWriter/blob/master/LICENSE.txt.
-->
<!DOCTYPE html>
<html>
<head>
<title>IronWriter</title>
<meta charset="utf-8">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#f44336">
<meta name="msapplication-TileColor" content="#f44336">
<meta name="theme-color" content="#F44336">
<link href="https://use.fontawesome.com/releases/v5.4.0/css/all.css" rel="stylesheet">
<link href="https://unpkg.com/[email protected]/dist/material-components-web.min.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/dist/material-components-web.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/umd/bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js-uuid.min.js"></script>
<link href="style.css" rel="stylesheet">
<script src="js/oracles.js"></script>
<script src="js/state.js"></script>
<script src="js/ironwriter.js"></script>
</head>
<body>
<div id="page-container" class="page-container">
<!-- page header -->
<div class="header">
<div class="mdc-card">
<div class="flex">
<div>
<h1>IronWriter</h1>
<i id="version">v0.0.0</i>
</div>
<div class="buttons">
<button id="new" title="New Session" class="mdc-button" data-mdc-auto-init="MDCRipple">
<div class="mdc-button__ripple"></div>
<i class="fas fa-file"></i>
</button>
<button id="import" title="Import Session" class="mdc-button" data-mdc-auto-init="MDCRipple">
<div class="mdc-button__ripple"></div>
<i class="fas fa-file-upload"></i>
</button>
<button id="export" title="Export Session" class="mdc-button" data-mdc-auto-init="MDCRipple">
<div class="mdc-button__ripple"></div>
<i class="fas fa-file-download"></i>
</button>
<button id="bookmarks" title="Bookmarks" class="mdc-button" data-mdc-auto-init="MDCRipple">
<div class="mdc-button__ripple"></div>
<i class="fas fa-bookmark"></i>
</button>
<button id="help" title="Help" class="mdc-button" data-mdc-auto-init="MDCRipple">
<div class="mdc-button__ripple"></div>
<i class="fas fa-question"></i>
</button>
</div>
</div>
</div>
</div>
<div id="container">
<!-- Character Sheet Panel -->
<div id="character-pane">
<div class="mdc-card">
<input id="character-card-toggle" class="card-collapse-toggle" type="checkbox" aria-hidden="true">
<label for="character-card-toggle" class="card-collapse-icon">
<i class="fas fa-chevron-down"></i>
</label>
<h3>Character</h3>
<div class="status-group">
<div>Name</div>
<div id="character-name" class="status-group">John Doe</div>
</div>
<div id="experience" class="experience-container status-group">
<div>Experience</div>
<div class="wrapper">
<div class="dot">
<i class="available fas fa-circle" style="display: none;"></i>
<i class="spent far fa-times-circle" style="display: none;"></i>
<i class="empty far fa-circle"></i>
</div>
</div>
</div>
<hr class="card-divider">
<div class="stat-container status-group">
<div>Stats</div>
<div class="wrapper">
<div id="stat-edge" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Edge</div>
</div>
</div>
<div id="stat-heart" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Heart</div>
</div>
</div>
<div id="stat-iron" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Iron</div>
</div>
</div>
<div id="stat-shadow" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Shadow</div>
</div>
</div>
<div id="stat-wits" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Wits</div>
</div>
</div>
</div>
</div>
<div class="stat-container status-group">
<div>Status</div>
<div class="wrapper">
<div id="stat-health" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Health</div>
</div>
</div>
<div id="stat-supply" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Supply</div>
</div>
</div>
<div id="stat-spirit" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Spirit</div>
</div>
</div>
</div>
</div>
<div class="stat-container status-group">
<div>Momentum</div>
<div class="wrapper">
<div id="stat-momentum" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Current</div>
</div>
</div>
<div id="stat-momentumMax" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Max</div>
</div>
</div>
<div id="stat-momentumReset" class="stat-box">
<div class="frame">
<div class="stat-value">0</div>
<div class="stat-name">Reset</div>
</div>
</div>
</div>
</div>
<hr class="card-divider">
<div class="debility-container status-group">
<div>Debilities</div>
<div class="mdc-chip-set">
<div id="debility-none" class="mdc-chip">
<span class="mdc-chip__text">None</span>
</div>
<div id="debility-wounded" class="mdc-chip debility">
<span class="mdc-chip__text">Wounded</span>
</div>
<div id="debility-shaken" class="mdc-chip debility">
<span class="mdc-chip__text">Shaken</span>
</div>
<div id="debility-unprepared" class="mdc-chip debility">
<span class="mdc-chip__text">Unprepared</span>
</div>
<div id="debility-encumbered" class="mdc-chip debility">
<span class="mdc-chip__text">Encumbered</span>
</div>
<div id="debility-maimed" class="mdc-chip debility">
<span class="mdc-chip__text">Maimed</span>
</div>
<div id="debility-corrupted" class="mdc-chip debility">
<span class="mdc-chip__text">Corrupted</span>
</div>
<div id="debility-cursed" class="mdc-chip debility">
<span class="mdc-chip__text">Cursed</span>
</div>
<div id="debility-tormented" class="mdc-chip debility">
<span class="mdc-chip__text">Tormented</span>
</div>
</div>
</div>
</div>
<div id="bond-card" class="mdc-card">
<input id="bond-card-toggle" class="card-collapse-toggle" type="checkbox" aria-hidden="true">
<label for="bond-card-toggle" class="card-collapse-icon">
<i class="fas fa-chevron-down"></i>
</label>
<h3>Bonds</h3>
<div class="track-container">
<div id="progress-track-template" class="progress-track">
<div class="meta">
<div class="name">Avenge my father's death</div>
</div>
<div class="wrapper">
<div class="box">
<div class="tick-row">
<div class="tick"></div>
<div class="tick"></div>
</div>
<div class="tick-row">
<div class="tick"></div>
<div class="tick"></div>
</div>
</div>
</div>
</div>
</div>
<ul class="bond-list mdc-list">
<div id="bond-template">
<i class="fas fa-link"></i>
<span class="content">Lorem ipsum dolor</span>
</div>
</ul>
</div>
<div id="progress-card" class="mdc-card">
<input id="progress-card-toggle" class="card-collapse-toggle" type="checkbox" aria-hidden="true">
<label for="progress-card-toggle" class="card-collapse-icon">
<i class="fas fa-chevron-down"></i>
</label>
<h3>Progress</h3>
<div class="tracks">
</div>
</div>
<div id="asset-card" class="mdc-card">
<input id="asset-card-toggle" class="card-collapse-toggle" type="checkbox" aria-hidden="true">
<label for="asset-card-toggle" class="card-collapse-icon">
<i class="fas fa-chevron-down"></i>
</label>
<h3>Assets</h3>
<div class="assets">
<div id="asset-template" class="asset-container">
<div class="upgrades">
<div>
<i class="empty far fa-circle"></i>
<i class="filled fas fa-circle" style="display: none;"></i>
</div>
<div>
<i class="empty far fa-circle"></i>
<i class="filled fas fa-circle" style="display: none;"></i>
</div>
<div>
<i class="empty far fa-circle"></i>
<i class="filled fas fa-circle" style="display: none;"></i>
</div>
</div>
<div>
<div class="name">Kindred</div>
<div class="properties">
</div>
</div>
</div>
</div>
</div>
<div id="inventory-card" class="mdc-card">
<input id="inventory-card-toggle" class="card-collapse-toggle" type="checkbox" aria-hidden="true">
<label for="inventory-card-toggle" class="card-collapse-icon">
<i class="fas fa-chevron-down"></i>
</label>
<h3>Inventory</h3>
<div class="items">
<div id="inventory-template" class="inventory-container">
<div>
<div class="name">Arrows</div>
<div class="properties">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Event Log -->
<div id="event-pane">
<div class="flex">
<div id="event-history">
<div data-index="0"></div>
<div id="fiction-event-template"
class="event-base event-fiction mdc-card mdc-card--outlined mdc-elevation--z1" tabindex="-1">
<div class="content">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean
condimentum
tellus ornare orci posuere ornare. Aenean in est at metus auctor ornare.Lorem ipsum
dolor
sit amet, consectetur adipiscing elit. Aenean condimentum tellus ornare orci posuere
ornare.
Aenean in est at metus auctor ornare.Lorem ipsum dolor sit amet, consectetur adipiscing
elit. Aenean condimentum tellus ornare orci posuere ornare. Aenean in est at metus
auctor
ornare.</div>
<div class="actions">
<button class="mdc-button edit">
<i class="fas fa-pencil-alt"></i>
</button>
<button class="mdc-button delete">
<i class="fas fa-trash"></i>
</button>
</div>
</div>
<div id="meta-event-template" class="event-base event-roll mdc-card mdc-card--outlined" tabindex="-1">
<div class="content">Roll 2d4+1 = 6</div>
<div class="actions">
<button class="mdc-button edit">
<i class="fas fa-pencil-alt" title="Edit"></i>
</button>
<button class="mdc-button reroll">
<i class="fas fa-dice-d20" title="Reroll"></i>
</button>
<button class="mdc-button delete">
<i class="fas fa-trash" title="Delete"></i>
</button>
</div>
</div>
</div>
<div id="entry" class="mdc-card">
<div id="entry-tabs" class="entry-tab mdc-tab-bar" role="tablist">
<div class="mdc-tab-scroller">
<div class="mdc-tab-scroller__scroll-area">
<div class="mdc-tab-scroller__scroll-content">
<button class="mdc-tab mdc-tab--active" role="tab" aria-selected="true"
tabindex="0">
<span class="mdc-tab__content">
<i class="mdc-tab__icon fas fa-book"></i>
<span class="mdc-tab__text-label">Story</span>
</span>
<span class="mdc-tab-indicator mdc-tab-indicator--active">
<span
class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
<button class="mdc-tab" role="tab" aria-selected="false" tabindex="1">
<span class="mdc-tab__content">
<i class="mdc-tab__icon fas fa-dice-d20"></i>
<span class="mdc-tab__text-label">Roll</span>
</span>
<span class="mdc-tab-indicator">
<span
class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
<button class="mdc-tab" role="tab" aria-selected="false" tabindex="2">
<span class="mdc-tab__content">
<i class="mdc-tab__icon fas fa-eye"></i>
<span class="mdc-tab__text-label">Oracle</span>
</span>
<span class="mdc-tab-indicator">
<span
class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
</div>
</div>
</div>
<hr class="card-divider">
</div>
<!-- Story -->
<div class="story-container">
<div
class="mdc-text-field text-field mdc-text-field--fullwidth mdc-text-field--no-label mdc-text-field--textarea">
<textarea id="event-input" class="mdc-text-field__input"></textarea>
<div class="mdc-notched-outline mdc-notched-outline--upgraded">
<div class="mdc-notched-outline__leading"></div>
<div class="mdc-notched-outline__trailing"></div>
</div>
</div>
<div class="input">
<div class="entry-buttons">
<button id="submit-event" title="Submit Event (CTRL+Enter)" class="mdc-button mdc-button--raised" data-mdc-auto-init="MDCRipple">
<div class="mdc-button__ripple"></div>
<span class="mdc-button__label">Submit</span>
</button>
<button id="cancel-event" class="mdc-button" data-mdc-auto-init="MDCRipple">
<div class="mdc-button__ripple"></div>
<span class="mdc-button__label">Cancel</span>
</button>
<button id="save-event" title="Save Event (CTRL+Enter)" class="mdc-button mdc-button--raised" data-mdc-auto-init="MDCRipple">
<div class="mdc-button__ripple"></div>
<span class="mdc-button__label">Save</span>
</button>
</div>
<div class="mode-switch-container">
<button id="mode-switch" title="Fiction/Meta Toggle (CTRL+M)" class="mdc-icon-button"
aria-label="Add to favorites" aria-hidden="true" aria-pressed="false"
data-mdc-auto-init="MDCIconButtonToggle">
<i class="fas fa-file-alt mdc-icon-button__icon mdc-icon-button__icon--on"></i>
<i class="far fa-file-alt mdc-icon-button__icon"></i>
</button>
</div>
</div>
</div>
<!-- Rolls -->
<div class="roll-container">
<div id="roll-source" class="mdc-select mdc-select--outlined" data-mdc-auto-init="MDCSelect">
<div class="mdc-select__anchor">
<div class="mdc-select__selected-text" tabindex="0" aria-disabled="false"
aria-expanded="false"></div>
<div class="mdc-notched-outline mdc-notched-outline--upgraded">
<div class="mdc-notched-outline__leading"></div>
<div class="mdc-notched-outline__notch"><label id="outlined-label" class="mdc-floating-label">
Progress Track (Optional)</label></div>
<div class="mdc-notched-outline__trailing"></div>
</div>
<i class="fas fa-sort-down mdc-select__dropdown-icon"></i>
</div>
<div class="mdc-select__menu mdc-menu mdc-menu-surface js-resize-menu" data-select-id="roll-source" data-mdc-auto-init="MDCMenu">
<ul id="roll-source-list" class="mdc-list">
<li class="mdc-list-item mdc-list-item--selected" data-value=""
aria-selected="true"></li>
</ul>
</div>
</div>
<div class="add-container">
<div id="roll-stats" class="mdc-select mdc-select--outlined" data-mdc-auto-init="MDCSelect">
<div class="mdc-select__anchor">
<div class="mdc-select__selected-text" tabindex="0" aria-disabled="false"
aria-expanded="false"></div>
<div class="mdc-notched-outline mdc-notched-outline--upgraded">
<div class="mdc-notched-outline__leading"></div>
<div class="mdc-notched-outline__notch"><label id="outlined-label" class="mdc-floating-label">
Stat Add</label></div>
<div class="mdc-notched-outline__trailing"></div>
</div>
<i class="fas fa-sort-down mdc-select__dropdown-icon"></i>
</div>
<div class="mdc-select__menu mdc-menu mdc-menu-surface js-resize-menu" data-select-id="roll-stats" data-mdc-auto-init="MDCMenu">
<ul class="mdc-list">
<li class="mdc-list-item mdc-list-item--selected" data-value=""
aria-selected="true"></li>
<li class="mdc-list-item" data-value="edge">
+Edge
</li>
<li class="mdc-list-item" data-value="heart">
+Heart
</li>
<li class="mdc-list-item" data-value="iron">
+Iron
</li>
<li class="mdc-list-item" data-value="shadow">
+Shadow
</li>
<li class="mdc-list-item" data-value="wits">
+Wits
</li>
<li class="mdc-list-item" data-value="health">
+Health
</li>
<li class="mdc-list-item" data-value="supply">
+Supply
</li>
<li class="mdc-list-item" data-value="spirit">
+Spirit
</li>
</ul>
</div>
</div>
<div class="mdc-text-field mdc-text-field--outlined" data-mdc-auto-init="MDCTextField">
<input id="roll-add" type="number" class="mdc-text-field__input">
<div class="mdc-notched-outline">
<div class="mdc-notched-outline__leading"></div>
<div class="mdc-notched-outline__notch">
<label for="tf-outlined" class="mdc-floating-label">Additional Adds</label>
</div>
<div class="mdc-notched-outline__trailing"></div>
</div>
</div>
</div>
<div class="buttons">
<button id="roll" class="mdc-button mdc-button--raised" data-mdc-auto-init="MDCRipple">
<div class="mdc-button__ripple"></div>
<span class="mdc-button__label">Roll</span>
</button>
<button id="roll-reset" title="Reset to Defaults" class="mdc-icon-button">
<i class="fas fa-undo"></i>
</button>
</div>
</div>
<!-- oracles -->
<div class="oracle-container">
<ul class="mdc-list">
<li id="oracle-template" class="mdc-list-item" tabindex="0">
<span class="js-value mdc-list-item__text">First-line text</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="confirm-dialog" class="mdc-dialog" role="alertdialog" aria-modal="true" aria-labelledby="my-dialog-title"
aria-describedby="my-dialog-content" data-mdc-auto-init="MDCDialog">
<div class="mdc-dialog__container">
<div class="mdc-dialog__surface">
<h2 class="mdc-dialog__title" id="my-dialog-title">Confirmation</h2>
<div class="mdc-dialog__content" id="my-dialog-content">Test</div>
<footer class="mdc-dialog__actions">
<button type="button" class="mdc-button mdc-dialog__button" data-mdc-dialog-action="close">
<span class="mdc-button__label">Cancel</span>
</button>
<button type="button" class="mdc-button mdc-dialog__button" data-mdc-dialog-action="accept">
<span class="mdc-button__label">OK</span>
</button>
</footer>
</div>
</div>
<div class="mdc-dialog__scrim"></div>
</div>
<div id="bookmarks-dialog" class="mdc-dialog" role="alertdialog" aria-modal="true" aria-labelledby="my-dialog-title"
aria-describedby="my-dialog-content" data-mdc-auto-init="MDCDialog">
<div class="mdc-dialog__container">
<div class="mdc-dialog__surface">
<h2 class="mdc-dialog__title" id="my-dialog-title">Bookmarks</h2>
<div id="bookmarks-filter" class="mdc-tab-bar" role="tablist" data-mdc-auto-init="MDCTabBar">
<div class="mdc-tab-scroller">
<div class="mdc-tab-scroller__scroll-area">
<div class="mdc-tab-scroller__scroll-content">
<button class="mdc-tab mdc-tab--stacked mdc-tab--active" role="tab" aria-selected="true">
<span class="mdc-tab__content">
<i class="mdc-tab__icon fas fa-asterisk"></i>
<span class="mdc-tab__text-label">All</span>
</span>
<span class="mdc-tab-indicator mdc-tab-indicator--active">
<span class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
<button class="mdc-tab mdc-tab--stacked" role="tab">
<span class="mdc-tab__content">
<i class="mdc-tab__icon fas fa-link"></i>
<span class="mdc-tab__text-label">Bonds</span>
</span>
<span class="mdc-tab-indicator">
<span class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
<button class="mdc-tab mdc-tab--stacked" role="tab">
<span class="mdc-tab__content">
<i class="mdc-tab__icon far fa-file-alt"></i>
<span class="mdc-tab__text-label">Fiction & Meta</span>
</span>
<span class="mdc-tab-indicator">
<span class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
<button class="mdc-tab mdc-tab--stacked" role="tab">
<span class="mdc-tab__content">
<i class="mdc-tab__icon far fa-star"></i>
<span class="mdc-tab__text-label">Progress</span>
</span>
<span class="mdc-tab-indicator">
<span class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
</div>
</div>
</div>
</div>
<div class="mdc-dialog__content" id="my-dialog-content">
<ul id="bookmarks-list" class="mdc-list" data-mdc-auto-init="MDCList">
<li id="bookmark-template" class="mdc-list-item" data-event-index="0">
<span class="content mdc-list-item__text">
Lorem ipsum
</span>
<span class="mdc-list-item__meta" aria-hidden="true">
<i class="far fa-file-alt" title="Fiction"></i>
</span>
</li>
</ul>
</div>
<footer class="mdc-dialog__actions">
<button type="button" class="mdc-button mdc-dialog__button" data-mdc-dialog-action="close">
<span class="mdc-button__label">Close</span>
</button>
</footer>
</div>
</div>
<div class="mdc-dialog__scrim"></div>
</div>
</body>
</html>