@@ -449,9 +449,28 @@ <h2 class="deck-panel-title">Deck Builder</h2>
449449 </ div >
450450 < div class ="deck-panel-actions ">
451451 < button id ="deck-play-btn " class ="neutral-button-base deck-action-btn deck-play-btn " type ="button "> ▶ Play</ button >
452- < button id ="deck-link-btn " class ="neutral-button-base deck-action-btn " type ="button "> Link</ button >
453- < button id ="deck-export-btn " class ="neutral-button-base deck-action-btn " type ="button "> Export</ button >
454- < button id ="deck-import-btn " class ="neutral-button-base deck-action-btn " type ="button "> Import</ button >
452+ < div class ="deck-format-wrap ">
453+ < button id ="deck-export-btn " class ="neutral-button-base deck-action-btn " type ="button "> Export ▾</ button >
454+ < div id ="deck-export-menu " class ="deck-format-menu hidden ">
455+ < button class ="deck-format-item " data-format ="LINK " type ="button "> LINK</ button >
456+ < button class ="deck-format-item " data-format ="B64 " type ="button "> B64</ button >
457+ < button class ="deck-format-item " data-format ="JSON " type ="button "> JSON</ button >
458+ < button class ="deck-format-item " data-format ="CSV " type ="button "> CSV</ button >
459+ < button class ="deck-format-item " data-format ="RAW " type ="button "> RAW</ button >
460+ < button class ="deck-format-item " data-format ="CLIP " type ="button "> CLIP</ button >
461+ </ div >
462+ </ div >
463+ < div class ="deck-format-wrap ">
464+ < button id ="deck-import-btn " class ="neutral-button-base deck-action-btn " type ="button "> Import ▾</ button >
465+ < div id ="deck-import-menu " class ="deck-format-menu hidden ">
466+ < button class ="deck-format-item " data-format ="B64 " type ="button "> B64</ button >
467+ < button class ="deck-format-item " data-format ="JSON " type ="button "> JSON</ button >
468+ < button class ="deck-format-item " data-format ="CSV " type ="button "> CSV</ button >
469+ < button class ="deck-format-item " data-format ="RAW " type ="button "> RAW</ button >
470+ < button class ="deck-format-item " data-format ="CLIP " type ="button "> CLIP</ button >
471+ </ div >
472+ </ div >
473+ < input id ="deck-import-file-input " type ="file " class ="hidden-file-input " />
455474 < div class ="deck-autoimport-wrap ">
456475 < button id ="deck-autoimport-btn " class ="neutral-button-base deck-action-btn " type ="button "> Auto</ button >
457476 < div id ="deck-autoimport-menu " class ="deck-autoimport-menu hidden ">
@@ -470,6 +489,23 @@ <h2 class="deck-panel-title">Deck Builder</h2>
470489 < div id ="deck-card-list " class ="deck-card-list "> </ div >
471490 </ div >
472491
492+ < div id ="deck-import-conflict-overlay " class ="deck-import-conflict-overlay hidden " role ="dialog " aria-modal ="true " aria-label ="Resolve duplicate card ">
493+ < div class ="deck-import-conflict-backdrop "> </ div >
494+ < div class ="deck-import-conflict-panel ">
495+ < h3 id ="deck-conflict-header " class ="deck-import-conflict-title "> Resolve card conflict</ h3 >
496+ < div class ="deck-import-conflict-cards ">
497+ < div class ="deck-import-conflict-card-wrap ">
498+ < div id ="deck-conflict-left-card " class ="deck-import-conflict-card "> </ div >
499+ < button id ="deck-conflict-left-select " class ="neutral-button-base deck-import-conflict-select " type ="button "> Select</ button >
500+ </ div >
501+ < div class ="deck-import-conflict-card-wrap ">
502+ < div id ="deck-conflict-right-card " class ="deck-import-conflict-card "> </ div >
503+ < button id ="deck-conflict-right-select " class ="neutral-button-base deck-import-conflict-select " type ="button "> Select</ button >
504+ </ div >
505+ </ div >
506+ </ div >
507+ </ div >
508+
473509 <!-- Game mode selection dialog -->
474510 < div id ="game-mode-dialog " class ="game-mode-dialog hidden " role ="dialog " aria-modal ="true " aria-label ="Choose game mode ">
475511 < div class ="game-mode-dialog-backdrop " id ="game-mode-dialog-backdrop "> </ div >
0 commit comments