From 1f46b51c9a0f399b371b30bddea388fa938937cb Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Thu, 26 Jun 2025 14:39:30 -0400 Subject: [PATCH] More significant updates to the general layout and styling per module. --- src/routes/events/+layout.svelte | 18 ++-- src/routes/hosted_files/+layout.svelte | 97 +++++++++++++++++++ src/routes/hosted_files/+page.svelte | 18 ++-- .../hosted_files/video_util/+page.svelte | 16 ++- .../idaa/(idaa)/archives/+layout.svelte | 27 ++++-- src/routes/idaa/(idaa)/archives/+page.svelte | 17 ---- .../(idaa)/archives/[archive_id]/+page.svelte | 8 +- src/routes/idaa/(idaa)/bb/+layout.svelte | 25 +++-- src/routes/idaa/(idaa)/bb/+page.svelte | 8 +- .../(idaa)/recovery_meetings/+layout.svelte | 27 ++++-- .../(idaa)/recovery_meetings/+page.svelte | 10 +- src/routes/idaa/+layout.svelte | 60 ++++-------- 12 files changed, 205 insertions(+), 126 deletions(-) create mode 100644 src/routes/hosted_files/+layout.svelte diff --git a/src/routes/events/+layout.svelte b/src/routes/events/+layout.svelte index 0a6eac83..3b84aa3a 100644 --- a/src/routes/events/+layout.svelte +++ b/src/routes/events/+layout.svelte @@ -32,11 +32,12 @@ import type { key_val } from '$lib/ae_stores'; import { ae_loc, ae_sess, ae_api, slct } from '$lib/ae_stores'; import Element_data_store from '$lib/element_data_store_v2.svelte'; import { events_loc, events_sess, events_slct, events_trigger, events_trig_kv } from '$lib/ae_events_stores'; - interface Props { - /** @type {import('./$types').LayoutData} */ - data: any; - children?: import('svelte').Snippet; - } + +interface Props { + /** @type {import('./$types').LayoutData} */ + data: any; + children?: import('svelte').Snippet; +} let { data, children }: Props = $props(); // import { events_func } from '$lib/ae_events_functions'; @@ -142,7 +143,12 @@ if (browser) { > -->
diff --git a/src/routes/hosted_files/+layout.svelte b/src/routes/hosted_files/+layout.svelte new file mode 100644 index 00000000..889b0b95 --- /dev/null +++ b/src/routes/hosted_files/+layout.svelte @@ -0,0 +1,97 @@ + + + + Hosted Files - {$ae_loc?.title ?? 'Æ loading...'} + + + +
+ + + + +
+ {@render children?.()} +
+ +
\ No newline at end of file diff --git a/src/routes/hosted_files/+page.svelte b/src/routes/hosted_files/+page.svelte index 71c5ddfc..cb98ab77 100644 --- a/src/routes/hosted_files/+page.svelte +++ b/src/routes/hosted_files/+page.svelte @@ -91,7 +91,7 @@ onMount(() => { -
+ > --> -
+

Æ Hosted Files

Video Utilities

@@ -118,6 +118,7 @@ onMount(() => { Video Utilities +

Manage Files

@@ -126,10 +127,10 @@ onMount(() => { link_to_id={$ae_loc?.account_id} allow_basic={true} allow_moderator={true} - class_li={''} + class_li={'max-h-full'} /> -
+ {#if 1===2} @@ -195,9 +196,4 @@ onMount(() => { -
- - - + diff --git a/src/routes/hosted_files/video_util/+page.svelte b/src/routes/hosted_files/video_util/+page.svelte index 21690209..719debdc 100644 --- a/src/routes/hosted_files/video_util/+page.svelte +++ b/src/routes/hosted_files/video_util/+page.svelte @@ -117,7 +117,7 @@ onMount(() => { -
+ > --> + + -

Clip and Scale Video Files

This AV utility will take an mp4 video file and create a clipped mp4 video file. By default, videos will be scaled down to 1920x1080. This process takes at least 30 seconds, but it can easily take a handful of minutes. The scaling option requires that the video be re-encoded. Please be patient while it is processing.

@@ -259,7 +260,7 @@ onMount(() => {

Clip a video file first.

{/if} -
+ {#if 1===2} @@ -325,9 +326,4 @@ onMount(() => { -
- - - + diff --git a/src/routes/idaa/(idaa)/archives/+layout.svelte b/src/routes/idaa/(idaa)/archives/+layout.svelte index dbd6a8ff..0dc0b136 100644 --- a/src/routes/idaa/(idaa)/archives/+layout.svelte +++ b/src/routes/idaa/(idaa)/archives/+layout.svelte @@ -1,8 +1,7 @@ + {@render children?.()} + + \ No newline at end of file diff --git a/src/routes/idaa/(idaa)/archives/+page.svelte b/src/routes/idaa/(idaa)/archives/+page.svelte index cbc143d8..5d348806 100644 --- a/src/routes/idaa/(idaa)/archives/+page.svelte +++ b/src/routes/idaa/(idaa)/archives/+page.svelte @@ -130,20 +130,6 @@ function add_activity_log( - -
- {#if $lq__archive_obj_li && $lq__archive_obj_li?.length} @@ -153,6 +139,3 @@ function add_activity_log( {:else}

No archives available to show.

{/if} - - -
\ No newline at end of file diff --git a/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte b/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte index 6bdb7940..23ff5148 100644 --- a/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte +++ b/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte @@ -156,7 +156,6 @@ if (browser) { let message = {'archive_id': $idaa_slct?.archive_id ?? null}; window.parent.postMessage(message, "*"); } - @@ -168,8 +167,7 @@ if (browser) { - -
+ > --> @@ -205,7 +203,7 @@ if (browser) { lq__archive_content_obj_li={lq__archive_content_obj_li} /> -
+ diff --git a/src/routes/idaa/(idaa)/bb/+layout.svelte b/src/routes/idaa/(idaa)/bb/+layout.svelte index e496534b..471f8533 100644 --- a/src/routes/idaa/(idaa)/bb/+layout.svelte +++ b/src/routes/idaa/(idaa)/bb/+layout.svelte @@ -1,23 +1,34 @@ - +{@render children?.()} diff --git a/src/routes/idaa/(idaa)/bb/+page.svelte b/src/routes/idaa/(idaa)/bb/+page.svelte index bdcaf9af..eff7c6cf 100644 --- a/src/routes/idaa/(idaa)/bb/+page.svelte +++ b/src/routes/idaa/(idaa)/bb/+page.svelte @@ -240,7 +240,6 @@ function add_activity_log( - IDAA Bulletin Board: @@ -248,8 +247,7 @@ function add_activity_log( - -
+ > --> + diff --git a/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte b/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte index a73c5051..44140fbe 100644 --- a/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte +++ b/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte @@ -1,13 +1,10 @@ - +{@render children?.()} diff --git a/src/routes/idaa/(idaa)/recovery_meetings/+page.svelte b/src/routes/idaa/(idaa)/recovery_meetings/+page.svelte index d8c589bb..8ec537ef 100644 --- a/src/routes/idaa/(idaa)/recovery_meetings/+page.svelte +++ b/src/routes/idaa/(idaa)/recovery_meetings/+page.svelte @@ -442,9 +442,7 @@ function add_activity_log( - - -
+ > --> - - {#if $lq_new__event_obj_li && $lq_new__event_obj_li?.length} + diff --git a/src/routes/idaa/+layout.svelte b/src/routes/idaa/+layout.svelte index bbc2ec6c..f042baec 100644 --- a/src/routes/idaa/+layout.svelte +++ b/src/routes/idaa/+layout.svelte @@ -182,6 +182,15 @@ $effect(() => { // }); }); +// if (browser) { +// $idaa_loc.novi_uuid = data.params.uuid; +// $idaa_loc.novi_email = decodeURIComponent(data.params.email); +// $idaa_loc.novi_full_name = decodeURIComponent(data.params.full_name); +// // $idaa_loc.novi_admin_li = novi_admin_li; +// // $idaa_loc.novi_trusted_li = novi_trusted_li; +// console.log(`$idaa_loc.novi_uuid:`, $idaa_loc.novi_uuid); +// } + @@ -196,7 +205,12 @@ $effect(() => { bind:this={box} onscroll={parse_scroll} class:iframe={$ae_loc?.iframe} - class="ae_idaa h-full max-h-full max-w-6xl overflow-auto flex flex-col gap-1 m-auto" + class=" + ae_idaa + h-full max-h-full max-w-6xl overflow-auto + flex flex-col gap-1 + m-auto + " >
- +