-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
282c4d8
commit 05a8759
Showing
32 changed files
with
103 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,6 @@ node_modules | |
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock | ||
src/lib/sdk | ||
|
||
src/lib/sdk | ||
src/lib/elements/ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<script lang="ts"> | ||
export let begin: string = '7:45'; | ||
export let end: string = '8:30'; | ||
export let index: string = '1.'; | ||
// export let begin: string = '7:45'; | ||
// export let end: string = '8:30'; | ||
// export let index: string = '1.'; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
<script lang="ts"> | ||
import ChevronLeft from 'lucide-svelte/icons/chevron-left'; | ||
import { Button } from '$lib/elements/ui/button/index.js'; | ||
import pageName from './pageName'; | ||
let heading: String; | ||
pageName.subscribe((text) => { | ||
heading = text; | ||
}); | ||
import { page } from '$app/stores'; | ||
import { goto } from '$app/navigation'; | ||
</script> | ||
|
||
<div class="flex flex-row justify-start bg-foreground md:p-4 text-white"> | ||
<Button | ||
on:click={() => { | ||
window.history.back(); //not the best solution to go back to previous page (href="../" doesnt seem to work) | ||
on:click={async () => { | ||
await goto('/admin'); | ||
}} | ||
variant="secondary" | ||
size="icon" | ||
class="rounded-full bg-accent mr-6" | ||
> | ||
<ChevronLeft class="h-5 w-5 text-white" /> | ||
</Button> | ||
<h1 class="font-bold text-xl mt-1">{heading}</h1> | ||
<h1 class="font-bold text-xl mt-1">{$page.data['meta']['title']}</h1> | ||
</div> | ||
|
||
<slot /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from './$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Curriculums', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from './$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Rooms', | ||
title: 'Raummangement', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from './$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Student Groups', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from './$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Students', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from './$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Tags', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from './$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Teachers', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from './$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Constraints', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from '../../$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'UCDL Editor', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from '../../$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Einstellungen', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from '../../$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Class timetable', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from '../../$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Student timetable', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
export const load = async () => { | ||
import type { PageLoad } from '../../$types'; | ||
|
||
export const load = (() => { | ||
return { | ||
meta: { | ||
title: 'Teacher timetable', | ||
}, | ||
}; | ||
}; | ||
}) satisfies PageLoad; |
Oops, something went wrong.