2021-06-01 16:14:24 +02:00
|
|
|
<script lang="ts">
|
|
|
|
import {locals} from "../../ts/stores.js";
|
2021-11-21 13:08:57 +01:00
|
|
|
import BaseTemplate from "../templates/BaseTemplate.svelte";
|
2021-06-01 16:14:24 +02:00
|
|
|
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>
|
|
|
|
|
2021-11-21 13:08:57 +01:00
|
|
|
<BaseTemplate title="{$locals.app.name} backend" h1={false}>
|
2021-06-01 16:14:24 +02:00
|
|
|
<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>
|
2021-11-21 13:08:57 +01:00
|
|
|
</BaseTemplate>
|