From d1d654ebac2d51e3841675faeb56480e440f622f Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Tue, 5 Mar 2024 18:08:09 +0100 Subject: Initial commit --- frontend/src/lib/tabs/AddOverlay.svelte | 36 +++++++++ frontend/src/lib/tabs/ArchiveDelete.svelte | 42 ++++++++++ frontend/src/lib/tabs/ArchiveDetails.svelte | 50 ++++++++++++ frontend/src/lib/tabs/ArchiveEdit.svelte | 68 ++++++++++++++++ frontend/src/lib/tabs/ComicDelete.svelte | 34 ++++++++ frontend/src/lib/tabs/ComicDetails.svelte | 121 ++++++++++++++++++++++++++++ frontend/src/lib/tabs/DetailsHeader.svelte | 11 +++ frontend/src/lib/tabs/DetailsSection.svelte | 10 +++ frontend/src/lib/tabs/Tab.svelte | 14 ++++ frontend/src/lib/tabs/Tabs.svelte | 40 +++++++++ 10 files changed, 426 insertions(+) create mode 100644 frontend/src/lib/tabs/AddOverlay.svelte create mode 100644 frontend/src/lib/tabs/ArchiveDelete.svelte create mode 100644 frontend/src/lib/tabs/ArchiveDetails.svelte create mode 100644 frontend/src/lib/tabs/ArchiveEdit.svelte create mode 100644 frontend/src/lib/tabs/ComicDelete.svelte create mode 100644 frontend/src/lib/tabs/ComicDetails.svelte create mode 100644 frontend/src/lib/tabs/DetailsHeader.svelte create mode 100644 frontend/src/lib/tabs/DetailsSection.svelte create mode 100644 frontend/src/lib/tabs/Tab.svelte create mode 100644 frontend/src/lib/tabs/Tabs.svelte (limited to 'frontend/src/lib/tabs') diff --git a/frontend/src/lib/tabs/AddOverlay.svelte b/frontend/src/lib/tabs/AddOverlay.svelte new file mode 100644 index 0000000..b1c98bf --- /dev/null +++ b/frontend/src/lib/tabs/AddOverlay.svelte @@ -0,0 +1,36 @@ + + +{#if $selection.size > 0} +
+ Deleting this archive will remove the + archive file on disk. +
+ {#if archive.comics.length > 0} +The following comics will also be deleted:
+This action is irrevocable.
++ Deleting this comic will make all of its pages available again for allocation. All of its + metadata will be lost. +
+This action is irrevocable.
+