diff --git a/src/lib/components/Button.svelte b/src/lib/components/Button.svelte index ea9dcc0..7afed30 100644 --- a/src/lib/components/Button.svelte +++ b/src/lib/components/Button.svelte @@ -17,7 +17,7 @@ { 'bg-white text-zinc-900 font-extrabold backdrop-blur-lg': type === 'primary', 'hover:bg-amber-400 hover:border-amber-400': type === 'primary' && !disabled, - 'text-zinc-200 bg-zinc-500 bg-opacity-30 backdrop-blur-lg': type === 'secondary', + 'text-zinc-200 bg-zinc-400 bg-opacity-20 backdrop-blur-lg': type === 'secondary', 'focus-visible:bg-zinc-200 focus-visible:text-zinc-800 hover:bg-zinc-200 hover:text-zinc-800': (type === 'secondary' || type === 'tertiary') && !disabled, 'rounded-full': type === 'tertiary', diff --git a/src/lib/components/ResourceDetails/LibraryDetails.svelte b/src/lib/components/ResourceDetails/LibraryDetails.svelte deleted file mode 100644 index ada8795..0000000 --- a/src/lib/components/ResourceDetails/LibraryDetails.svelte +++ /dev/null @@ -1,351 +0,0 @@ - - -
- {#if !downloadProps.length && !seasonFileProps.length && !movieFileProps.length} -
-

No sources found

-

- No local or remote sources found for this title. You can configure your sources on the sources page. -

-
- {/if} - - {#if isAdded} -
-
-
Local Library
- - - - servarrId && removeFromServarr(servarrId)} - > - - -
- - - -
-
- {#if downloadProps.length} -
-
- Downloading -
- -
- {/if} - {#each downloadProps as props} - - {/each} - {#if movieFileProps.length} -
-
- Available -
- -
- {/if} - {#each movieFileProps as props} - - {/each} - {#each seasonFileProps as seasonProps, i} - {#if seasonProps?.length} -
-
- Season {i + 1} -
- -
- {#each seasonProps as props} - - {/each} - {/if} - {/each} - {#if !downloadProps.length && !seasonFileProps.length && !movieFileProps.length} -
Click + to add files
- {/if} -
- {/if} -
- -
- {#if !isAdded || false} - {#if !isAdded} - - {/if} - - - - {/if} -
- -{#if isRequestModalVisible} - {#if isAdded && servarrId && type === 'movie'} - setTimeout(refetch, 5000)} - /> - {:else if isAdded && servarrId && type === 'tv' && series?.statistics?.seasonCount} - - - {:else} -
NO CONTENT
- {console.log('NO CONTENT')} - {/if} -{/if} diff --git a/src/lib/components/ResourceDetails/LibraryDetailsFile.svelte b/src/lib/components/ResourceDetails/LibraryDetailsFile.svelte deleted file mode 100644 index ebbedc1..0000000 --- a/src/lib/components/ResourceDetails/LibraryDetailsFile.svelte +++ /dev/null @@ -1,88 +0,0 @@ - - -
- -
- {#if episodeNumber} -
- Episode {episodeNumber} -
- - {/if} -
{resolution}p
- -

- {formatSize(sizeOnDisk)} on disk -

- -

- {qualityType} -

- - {#if downloadEta} -

- Completed in {formatMinutesToTime((downloadEta.getTime() - Date.now()) / 1000 / 60)} -

- {:else if status === 'queued'} -

Download starting

- {:else if status === 'stalled'} -

Download Stalled

- {:else} -

- {videoCodec} -

- {/if} -
-
- {#if deleteFile} - - {:else if cancelDownload} - - {/if} - {#if status === 'ready' && openJellyfinStream} - - {/if} -
-
diff --git a/src/lib/components/ResourceDetails/ResourceDetails.svelte b/src/lib/components/ResourceDetails/ResourceDetails.svelte deleted file mode 100644 index 7cc4ef4..0000000 --- a/src/lib/components/ResourceDetails/ResourceDetails.svelte +++ /dev/null @@ -1,398 +0,0 @@ - - -
-
- {#key (video?.key || '') + tmdbId} -
-