Make plan deletion visible and reliable with in-page confirmation
Test and deploy / test-and-deploy (push) Successful in 1m28s
Test and deploy / test-and-deploy (push) Successful in 1m28s
This commit is contained in:
1 parent
f2abdcefe1
commit
a72aec9f86
4 files changed
+100
-8
No files matched your search
@@ -151,6 +151,16 @@
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<dialog id="delete-plan-dialog" class="workspace-dialog delete-plan-dialog" aria-labelledby="delete-plan-heading" aria-describedby="delete-plan-description">
|
||||
<h2 id="delete-plan-heading">Delete this plan?</h2>
|
||||
<p id="delete-plan-name"></p>
|
||||
<p id="delete-plan-description">This removes the saved plan and its revision history. Completed roast records and inventory history will be kept. This cannot be undone.</p>
|
||||
<p id="delete-plan-error" role="alert"></p>
|
||||
<div class="delete-plan-actions">
|
||||
<button type="button" class="ghost-btn" id="delete-plan-cancel" autofocus>Cancel</button>
|
||||
<button type="button" class="primary-btn" id="delete-plan-confirm">Delete plan</button>
|
||||
</div>
|
||||
</dialog>
|
||||
<script type="module" src="/js/plans.js?v=__ASSET_VERSION__"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user