Touch up export modals

This commit is contained in:
Andy Smith
2026-01-20 10:25:14 -06:00
committed by Stanko K.R.
parent 122a228ed4
commit 60787a00ef
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -4,13 +4,13 @@
<div>Download a complete archive of all account data.</div>
</header>
<div data-controller="dialog" data-dialog-modal-value="true">
<div data-controller="dialog" data-dialog-modal-value="true" data-action="keydown.esc->dialog#close">
<button type="button" class="btn" data-action="dialog#open">Begin export...</button>
<dialog class="dialog panel panel--wide shadow" data-dialog-target="dialog">
<h2 class="margin-none txt-large">Export all account data</h2>
<p class="margin-none-block-start">This will generate a ZIP archive of all data in this account including all boards, cards, users, and settings.</p>
<p>When the file is ready, we'll email you a link to download it. The link will expire after 24 hours.</p>
<dialog class="dialog panel panel--wide shadow" data-dialog-target="dialog" style="--panel-size: 48ch;">
<h2 class="txt-large">Export all account data</h2>
<p>This will generate a ZIP archive of all data in this account including all boards, cards, users, and settings.</p>
<p>Well email you a link to download the file when its ready. The link will expire after 24 hours.</p>
<div class="flex gap justify-center">
<%= button_to "Start export", account_exports_path, method: :post, class: "btn btn--link", form: { data: { action: "submit->dialog#close" } } %>
+5 -5
View File
@@ -4,13 +4,13 @@
<div>Download an archive of your Fizzy data.</div>
</header>
<div data-controller="dialog" data-dialog-modal-value="true">
<div data-controller="dialog" data-dialog-modal-value="true" data-action="keydown.esc->dialog#close">
<button type="button" class="btn" data-action="dialog#open">Begin export...</button>
<dialog class="dialog panel panel--wide shadow" data-dialog-target="dialog">
<h2 class="margin-none txt-large">Export your data</h2>
<p class="margin-none-block-start">This will generate a ZIP archive of all cards you have access to.</p>
<p>When ready, we'll email you a download link (expires in 24 hours).</p>
<dialog class="dialog panel panel--wide shadow" data-dialog-target="dialog" style="--panel-size: 48ch;">
<h2 class="txt-large">Export your data</h2>
<p>This will generate a ZIP archive of all cards you have access to.</p>
<p>Well email you a link to download the file when its ready. The link will expire after 24 hours.</p>
<div class="flex gap justify-center">
<%= button_to "Start export", user_data_exports_path(@user), method: :post, class: "btn btn--link", form: { data: { action: "submit->dialog#close" } } %>