style: add warning icon to delete modals

This commit is contained in:
Arman committed 2022-07-11 15:49:12 +02:00
1 parent 0fa7824c7a
commit b70c110629
3 files changed
+3 -3

No files matched your search

@@ -25,7 +25,7 @@
</script>
<Form on:submit={deleteUser}>
<Modal bind:show={showDelete}>
<Modal warning={true} bind:show={showDelete}>
<svelte:fragment slot="header">Delete Bucket</svelte:fragment>
<p>Are you sure you want to delete <b>{$bucket.response.name}</b>?</p>
<svelte:fragment slot="footer">
@@ -26,7 +26,7 @@
</script>
<Form on:submit={deleteFile}>
<Modal bind:show={showDelete}>
<Modal warning={true} bind:show={showDelete}>
<svelte:fragment slot="header">Delete File</svelte:fragment>
<p>Are you sure you want to delete <b>{file.name}</b>?</p>
<svelte:fragment slot="footer">
@@ -27,7 +27,7 @@
</script>
<Form on:submit={deleteFile}>
<Modal bind:show={showDelete}>
<Modal warning={true} bind:show={showDelete}>
<svelte:fragment slot="header">Delete File</svelte:fragment>
<p>Are you sure you want to delete <b>{$file.response.name}</b>?</p>
<svelte:fragment slot="footer">