diff --git a/src/app.css b/src/app.css index 3039aaf3..cf12ed79 100644 --- a/src/app.css +++ b/src/app.css @@ -549,6 +549,10 @@ html.trusted_access #appShell { display: none; } +.iframe .module_header, .iframe .module_footer{ + display: none; +} + /* Remove the background from the body in all cases */ /* body[data-theme] { */ /* background: none; */ diff --git a/src/lib/element_data_store_v2.svelte b/src/lib/element_data_store_v2.svelte index 843dc9a7..aa753d1b 100644 --- a/src/lib/element_data_store_v2.svelte +++ b/src/lib/element_data_store_v2.svelte @@ -521,7 +521,15 @@ async function handle_update__data_store( bind:open={show_edit} autoclose={false} size="xl" - class="bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 rounded-lg border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700 shadow-md relative flex flex-col mx-auto w-full divide-y" + placement="top-center" + class=" + bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 rounded-lg border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700 shadow-md + relative flex flex-col + mx-auto divide-y + w-full + max-w-6xl + " + >
{ onclick={() => { window.location.reload(); }} - class="btn btn-sm m-1 preset-tonal-secondary border border-secondary-500 hover:preset-tonal-warning border border-warning-500 hover:variant-outline-warning text-warning-800 hover:text-warning-900 transition-all" + class="btn btn-sm m-1 preset-tonal-secondary border-secondary-500 hover:preset-tonal-warning border-warning-500 hover:variant-outline-warning text-warning-800 hover:text-warning-900 transition-all" title="Reload page to clear some caches and check for updates" > @@ -964,7 +964,7 @@ $effect(() => { window.location.reload(); }} - class="btn btn-sm m-1 preset-tonal-secondary border border-secondary-500 hover:preset-tonal-warning border border-warning-500 hover:variant-outline-warning text-error-700 hover:text-error-900 transition-all text-wrap" + class="btn btn-sm m-1 preset-tonal-secondary border-secondary-500 hover:preset-tonal-warning border-warning-500 hover:variant-outline-warning text-error-700 hover:text-error-900 transition-all text-wrap" title="Reload and clear the page cache" > diff --git a/src/routes/events/[event_id]/(launcher)/+layout.svelte b/src/routes/events/[event_id]/(launcher)/+layout.svelte index 9d306426..d9cc00a9 100644 --- a/src/routes/events/[event_id]/(launcher)/+layout.svelte +++ b/src/routes/events/[event_id]/(launcher)/+layout.svelte @@ -140,8 +140,8 @@ let ae_promises: key_val = { onMount(() => { console.log('Events - Launcher: +layout.svelte'); // Hide the AppShell shell header (id="shell-header") and footer - document.getElementById('shell-header').classList.add('hidden'); - document.getElementById('shell-footer').classList.add('hidden'); + // document.getElementById('shell-header').classList.add('hidden'); + // document.getElementById('shell-footer').classList.add('hidden'); }); console.log(`BROWSER Events - [event_id] launcher +layout.svelte start`); diff --git a/src/routes/idaa/(idaa)/+layout.svelte b/src/routes/idaa/(idaa)/+layout.svelte index 0391ccaa..b30b19a4 100644 --- a/src/routes/idaa/(idaa)/+layout.svelte +++ b/src/routes/idaa/(idaa)/+layout.svelte @@ -1,18 +1,22 @@ - - {$ae_loc.title ?? 'Æ loading...'} - {#if $ae_loc.iframe} - - - - {/if} - + {#if (browser && ($ae_loc.trusted_access || ($ae_loc.authenticated_access && $idaa_loc.novi_uuid)))} -
+ > --> {@render children?.()} -
+ {#if $idaa_loc.novi_uuid} Novi: diff --git a/src/routes/idaa/+layout.svelte b/src/routes/idaa/+layout.svelte index f042baec..e63b0903 100644 --- a/src/routes/idaa/+layout.svelte +++ b/src/routes/idaa/+layout.svelte @@ -1,6 +1,5 @@ IDAA - {$idaa_loc?.title ?? 'Æ loading...'} + {#if $ae_loc.iframe} + + + + {/if} @@ -202,6 +269,7 @@ $effect(() => {
{