2021-06-01 16:14:24 +02:00
|
|
|
<script lang="ts">
|
|
|
|
import {locals} from "../../ts/stores.js";
|
|
|
|
import BaseLayout from "../layouts/BaseLayout.svelte";
|
|
|
|
import Breadcrumb from "../components/Breadcrumb.svelte";
|
2021-11-21 12:42:26 +01:00
|
|
|
import Icon from "../utils/Icon.svelte";
|
2021-06-01 16:14:24 +02:00
|
|
|
|
|
|
|
const menu = $locals.menu || [];
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<BaseLayout title="{$locals.app.name} backend" h1={false}>
|
|
|
|
<div class="container">
|
|
|
|
<Breadcrumb currentPageTitle="Backend"/>
|
|
|
|
|
|
|
|
<h1>App administration</h1>
|
|
|
|
|
|
|
|
<div class="panel">
|
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
{#each menu as element}
|
|
|
|
<li>
|
|
|
|
<a href={element.link}>
|
|
|
|
{#if element.display_icon !== null}
|
2021-11-21 12:42:26 +01:00
|
|
|
<Icon name={element.display_icon}/>
|
2021-06-01 16:14:24 +02:00
|
|
|
{/if}
|
|
|
|
{element.display_string}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{/each}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</BaseLayout>
|