format files

This commit is contained in:
maxDorninger
2025-07-17 17:20:49 +02:00
parent e051001ea5
commit a232d5e935
8 changed files with 22 additions and 19 deletions

View File

@@ -5,7 +5,6 @@
import { base } from '$app/paths';
import logo from '$lib/images/logo.svg';
import { PUBLIC_VERSION } from '$env/static/public';
</script>
<svelte:head>

View File

@@ -82,7 +82,7 @@
{@render loadingbar()}
{:else}
{#each movies as movie}
<a href={base+'/dashboard/movies/' + movie.id}>
<a href={base + '/dashboard/movies/' + movie.id}>
<Card.Root class="col-span-full max-w-[90vw] ">
<Card.Header>
<Card.Title class="h-6 truncate">{getFullyQualifiedMediaName(movie)}</Card.Title>

View File

@@ -65,7 +65,7 @@
{@render loadingbar()}
{:then tvShows}
{#each tvShows as show}
<a href={base+'/dashboard/tv/' + show.id}>
<a href={base + '/dashboard/tv/' + show.id}>
<Card.Root class="col-span-full max-w-[90vw] ">
<Card.Header>
<Card.Title class="h-6 truncate">{getFullyQualifiedMediaName(show)}</Card.Title>

View File

@@ -149,7 +149,7 @@
{#each show().seasons as season (season.id)}
<Table.Row
link={true}
onclick={() => goto(base+'/dashboard/tv/' + show().id + '/' + season.id)}
onclick={() => goto(base + '/dashboard/tv/' + show().id + '/' + season.id)}
>
<Table.Cell class="min-w-[10px] font-medium">{season.number}</Table.Cell>
<Table.Cell class="min-w-[10px] font-medium">

View File

@@ -27,7 +27,7 @@
onMount(() => {
if (!resetToken) {
toast.error('Invalid or missing reset token.');
goto(base+'/login');
goto(base + '/login');
}
});
@@ -56,7 +56,7 @@
if (response.ok) {
toast.success('Password reset successfully! You can now log in with your new password.');
goto(base+'/login');
goto(base + '/login');
} else {
const errorText = await response.text();
toast.error(`Failed to reset password: ${errorText}`);