diff --git a/web/src/routes/dashboard/movies/[movieId=uuid]/+page.svelte b/web/src/routes/dashboard/movies/[movieId=uuid]/+page.svelte index 3f6a70b..c3b2e95 100644 --- a/web/src/routes/dashboard/movies/[movieId=uuid]/+page.svelte +++ b/web/src/routes/dashboard/movies/[movieId=uuid]/+page.svelte @@ -12,12 +12,8 @@ import DownloadMovieDialog from '$lib/components/download-movie-dialog.svelte'; import RequestMovieDialog from '$lib/components/request-movie-dialog.svelte'; import LibraryCombobox from '$lib/components/library-combobox.svelte'; - import { Label } from '$lib/components/ui/label'; import { base } from '$app/paths'; - import { Switch } from '$lib/components/ui/switch/index.js'; import * as Card from '$lib/components/ui/card/index.js'; - import RequestSeasonDialog from "$lib/components/request-season-dialog.svelte"; - import DownloadSeasonDialog from "$lib/components/download-season-dialog.svelte"; let movie: PublicMovie = page.data.movie; let user: () => User = getContext('user'); @@ -74,29 +70,36 @@ {/if} -
-

- {movie.overview} -

+
+ + + Overview + + +

+ {movie.overview} +

+
+
{#if user().is_superuser} - + Administrator Controls - + {/if} - + Download Options - + {#if user().is_superuser} {/if} @@ -105,9 +108,15 @@
-
-
- -
+
+ + + Torrent Information + A list of all torrents associated with this movie. + + + + +
diff --git a/web/src/routes/dashboard/tv/[showId=uuid]/+page.svelte b/web/src/routes/dashboard/tv/[showId=uuid]/+page.svelte index 8ecb209..49e2d32 100644 --- a/web/src/routes/dashboard/tv/[showId=uuid]/+page.svelte +++ b/web/src/routes/dashboard/tv/[showId=uuid]/+page.svelte @@ -1,194 +1,215 @@ - {getFullyQualifiedMediaName(show())} - MediaManager - + name="description" + />
-
- - - - - - - -
+
+ + + + + + + +

- {getFullyQualifiedMediaName(show())} + {getFullyQualifiedMediaName(show())}

-
-
- {#if show().id} - - {:else} -
- -
- {/if} -
-
-

- {show().overview} -

-
-
- {#if user().is_superuser} - - - Administrator Controls - - - {#if !show().ended} -
- continuousDownloadEnabled, toggle_continuous_download} - id="continuous-download-checkbox" - /> - -
- {/if} - -
-
- {/if} - - - Download Options - - - {#if user().is_superuser} - - {/if} - - - -
-
-
-
- - A list of all seasons. - - - Number - Exists on file - Title - Overview - - - - {#if show().seasons.length > 0} - {#each show().seasons as season (season.id)} - goto(base + '/dashboard/tv/' + show().id + '/' + season.id)} - > - {season.number} - - - - {season.name} - {season.overview} - - {/each} - {:else} - - No season data available. - - {/if} - - -
-
-
-
- -
-
+
+
+ {#if show().id} + + {:else} +
+ +
+ {/if} +
+
+ + + Overview + + +

+ {show().overview} +

+
+
+
+
+ {#if user().is_superuser} + + + Administrator Controls + + + {#if !show().ended} +
+ continuousDownloadEnabled, toggle_continuous_download} + id="continuous-download-checkbox" + /> + +
+ {/if} + +
+
+ {/if} + + + Download Options + + + {#if user().is_superuser} + + {/if} + + + +
+
+
+ + + Season Details + + A list of all seasons for {getFullyQualifiedMediaName(show())}. + + + + + A list of all seasons. + + + Number + Exists on file + Title + Overview + + + + {#if show().seasons.length > 0} + {#each show().seasons as season (season.id)} + goto(base + '/dashboard/tv/' + show().id + '/' + season.id)} + > + {season.number} + + + + {season.name} + {season.overview} + + {/each} + {:else} + + No season data available. + + {/if} + + + + +
+
+ + + Torrent Information + A list of all torrents associated with this show. + + + + + + +
diff --git a/web/src/routes/dashboard/tv/[showId=uuid]/[SeasonId=uuid]/+page.svelte b/web/src/routes/dashboard/tv/[showId=uuid]/[SeasonId=uuid]/+page.svelte index 78282af..2483604 100644 --- a/web/src/routes/dashboard/tv/[showId=uuid]/[SeasonId=uuid]/+page.svelte +++ b/web/src/routes/dashboard/tv/[showId=uuid]/[SeasonId=uuid]/+page.svelte @@ -10,6 +10,7 @@ import { getFullyQualifiedMediaName, getTorrentQualityString } from '$lib/utils'; import MediaPicture from '$lib/components/media-picture.svelte'; import { base } from '$app/paths'; + import * as Card from '$lib/components/ui/card/index.js'; let seasonFiles: PublicSeasonFile[] = $state(page.data.files); let season: Season = $state(page.data.season); @@ -63,65 +64,95 @@

{getFullyQualifiedMediaName(show())} Season {season.number}

-
+
-
-

- {show().overview} -

+
+ + + Overview + + +

+ {show().overview} +

+
+
-
- - A list of all downloaded/downloading versions of this season. - - - Quality - File Path Suffix - Imported - - - - {#each seasonFiles as file} - - - {getTorrentQualityString(file.quality)} - - - {file.file_path_suffix} - - - - - - {:else} - You haven't downloaded this season yet. - {/each} - - +
+ + + Season Details + + A list of all downloaded/downloading versions of this season. + + + + + A list of all downloaded/downloading versions of this season. + + + Quality + File Path Suffix + Imported + + + + {#each seasonFiles as file} + + + {getTorrentQualityString(file.quality)} + + + {file.file_path_suffix} + + + + + + {:else} + You haven't downloaded this season yet. + {/each} + + + +
-
-
- - A list of all episodes. - - - Number - Title - - - - {#each season.episodes as episode (episode.id)} +
+ + + Episodes + A list of all episodes for {getFullyQualifiedMediaName(show())} Season {season.number} + . + + + + + A list of all episodes. + - {episode.number} - {episode.title} + Number + Title - {/each} - - -
+ + + {#each season.episodes as episode (episode.id)} + + {episode.number} + {episode.title} + + {/each} + +
+ +