25 lines
640 B
Svelte
25 lines
640 B
Svelte
<script lang="ts">
|
|
/** @type {import('./$types').LayoutData} */
|
|
export let data: any;
|
|
import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
|
|
let log_lvl = 0;
|
|
</script>
|
|
|
|
|
|
{#if ($ae_loc.trusted_access)}
|
|
<slot />
|
|
{:else}
|
|
<div class="container flex flex-col gap-1 w-full items-center justify-center font-bold p-8 m-8">
|
|
<h1>
|
|
<span class="text-red-500">
|
|
<span class="fas fa-exclamation-triangle"></span>
|
|
Access Denied
|
|
<span class="fas fa-exclamation-triangle"></span>
|
|
</span>
|
|
</h1>
|
|
<p>You do not have access to this page.</p>
|
|
</div>
|
|
{/if}
|
|
|
|
|