mirror of
https://github.com/immich-app/immich.git
synced 2025-12-07 19:53:59 +09:00
* feat: admin repair orphans tool * chore: open api * fix: include upload folder * fix: bugs * feat: empty placeholder * fix: checks * feat: move buttons to top of page * feat: styling and clipboard * styling * better clicking hitbox * fix: show title on hover * feat: download report * restrict file access to immich related files * Add description --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com> Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
38 lines
1.8 KiB
Svelte
38 lines
1.8 KiB
Svelte
<script lang="ts">
|
|
import { page } from '$app/stores';
|
|
import SideBarButton from '$lib/components/shared-components/side-bar/side-bar-button.svelte';
|
|
import SideBarSection from '$lib/components/shared-components/side-bar/side-bar-section.svelte';
|
|
import StatusBox from '$lib/components/shared-components/status-box.svelte';
|
|
import { AppRoute } from '$lib/constants';
|
|
import AccountMultipleOutline from 'svelte-material-icons/AccountMultipleOutline.svelte';
|
|
import Cog from 'svelte-material-icons/Cog.svelte';
|
|
import Server from 'svelte-material-icons/Server.svelte';
|
|
import Tools from 'svelte-material-icons/Tools.svelte';
|
|
import Sync from 'svelte-material-icons/Sync.svelte';
|
|
</script>
|
|
|
|
<SideBarSection>
|
|
<a data-sveltekit-preload-data="hover" href={AppRoute.ADMIN_USER_MANAGEMENT} draggable="false">
|
|
<SideBarButton
|
|
title="Users"
|
|
logo={AccountMultipleOutline}
|
|
isSelected={$page.route.id === AppRoute.ADMIN_USER_MANAGEMENT}
|
|
/>
|
|
</a>
|
|
<a data-sveltekit-preload-data="hover" href={AppRoute.ADMIN_JOBS} draggable="false">
|
|
<SideBarButton title="Jobs" logo={Sync} isSelected={$page.route.id === AppRoute.ADMIN_JOBS} />
|
|
</a>
|
|
<a data-sveltekit-preload-data="hover" href={AppRoute.ADMIN_SETTINGS} draggable="false">
|
|
<SideBarButton title="Settings" logo={Cog} isSelected={$page.route.id === AppRoute.ADMIN_SETTINGS} />
|
|
</a>
|
|
<a data-sveltekit-preload-data="hover" href={AppRoute.ADMIN_STATS} draggable="false">
|
|
<SideBarButton title="Server Stats" logo={Server} isSelected={$page.route.id === AppRoute.ADMIN_STATS} />
|
|
</a>
|
|
<a data-sveltekit-preload-data="hover" href={AppRoute.ADMIN_REPAIR} draggable="false">
|
|
<SideBarButton title="Repair" logo={Tools} isSelected={$page.route.id === AppRoute.ADMIN_REPAIR} />
|
|
</a>
|
|
<div class="mb-6 mt-auto">
|
|
<StatusBox />
|
|
</div>
|
|
</SideBarSection>
|