mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-20 15:55:42 +02:00
format files
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user