diff --git a/web/src/routes/dashboard/movies/[movieId=uuid]/+page.svelte b/web/src/routes/dashboard/movies/[movieId=uuid]/+page.svelte index 306efbe..3f6a70b 100644 --- a/web/src/routes/dashboard/movies/[movieId=uuid]/+page.svelte +++ b/web/src/routes/dashboard/movies/[movieId=uuid]/+page.svelte @@ -15,6 +15,9 @@ 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'); @@ -80,10 +83,26 @@ class="flex w-full flex-auto flex-col items-center justify-start gap-2 rounded-xl bg-muted/50 p-4 md:w-1/3 md:max-w-[40em]" > {#if user().is_superuser} - - + + + Administrator Controls + + + + + {/if} - + + + Download Options + + + {#if user().is_superuser} + + {/if} + + +
diff --git a/web/src/routes/dashboard/tv/[showId=uuid]/+page.svelte b/web/src/routes/dashboard/tv/[showId=uuid]/+page.svelte index 10101e5..8ecb209 100644 --- a/web/src/routes/dashboard/tv/[showId=uuid]/+page.svelte +++ b/web/src/routes/dashboard/tv/[showId=uuid]/+page.svelte @@ -1,176 +1,194 @@ - {getFullyQualifiedMediaName(show())} - MediaManager - + name="description" + />
-
- - - - - - - -
+
+ + + + + + + +

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

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

- {show().overview} -

-
-
- {#if user().is_superuser} - {#if !show().ended} -
- continuousDownloadEnabled, toggle_continuous_download} - id="continuous-download-checkbox" - /> - -
- {/if} - - - {/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} +
+
+

+ {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} + + +
+
+
+
+ +
+