2023-10-13 11:02:28 -04:00
|
|
|
<script lang="ts">
|
2024-07-18 10:56:27 -05:00
|
|
|
import BottomInfo from '$lib/components/shared-components/side-bar/bottom-info.svelte';
|
2024-03-12 14:11:16 +01:00
|
|
|
import SideBarLink from '$lib/components/shared-components/side-bar/side-bar-link.svelte';
|
2023-10-13 11:02:28 -04:00
|
|
|
import SideBarSection from '$lib/components/shared-components/side-bar/side-bar-section.svelte';
|
|
|
|
|
import { AppRoute } from '$lib/constants';
|
2024-09-03 23:54:13 -04:00
|
|
|
import { mdiAccountMultipleOutline, mdiBookshelf, mdiCog, mdiServer, mdiSync } from '@mdi/js';
|
2024-06-04 21:53:00 +02:00
|
|
|
import { t } from 'svelte-i18n';
|
2023-10-13 11:02:28 -04:00
|
|
|
</script>
|
|
|
|
|
|
2025-04-29 13:51:39 -04:00
|
|
|
<SideBarSection ariaLabel={$t('primary')}>
|
|
|
|
|
<SideBarLink title={$t('users')} routeId={AppRoute.ADMIN_USER_MANAGEMENT} icon={mdiAccountMultipleOutline} />
|
|
|
|
|
<SideBarLink title={$t('jobs')} routeId={AppRoute.ADMIN_JOBS} icon={mdiSync} />
|
|
|
|
|
<SideBarLink title={$t('settings')} routeId={AppRoute.ADMIN_SETTINGS} icon={mdiCog} />
|
|
|
|
|
<SideBarLink title={$t('external_libraries')} routeId={AppRoute.ADMIN_LIBRARY_MANAGEMENT} icon={mdiBookshelf} />
|
|
|
|
|
<SideBarLink title={$t('server_stats')} routeId={AppRoute.ADMIN_STATS} icon={mdiServer} />
|
2024-03-12 14:11:16 +01:00
|
|
|
|
2024-07-18 10:56:27 -05:00
|
|
|
<BottomInfo />
|
2023-10-13 11:02:28 -04:00
|
|
|
</SideBarSection>
|