From 94ccbd5f96442f0b372995b5ded71991f5385fa8 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Thu, 19 Jun 2025 20:42:28 -0400 Subject: [PATCH] More updates. Done for the day. --- src/app.css | 7 ++++++- src/lib/ae_events_stores.ts | 7 +++++++ .../[event_location_id]/location_page_menu.svelte | 14 +++++++------- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/app.css b/src/app.css index ca4cac22..49038ce6 100644 --- a/src/app.css +++ b/src/app.css @@ -306,7 +306,12 @@ html.trusted_access #appShell { } .ae_btn_secondary_outlined { @apply preset-outlined-secondary-200-800 hover:preset-filled-secondary-200-800 border border-secondary-500 transition-all; - /* hover:preset-outlined-secondary-500 */ +} +.ae_btn_warning_outlined { + @apply preset-outlined-warning-200-800 hover:preset-filled-warning-200-800 border border-warning-500 transition-all; +} +.ae_btn_surface_surface { + @apply preset-filled-surface-200-800 border border-surface-500 transition-all; } diff --git a/src/lib/ae_events_stores.ts b/src/lib/ae_events_stores.ts index ca2029dc..35b7ad38 100644 --- a/src/lib/ae_events_stores.ts +++ b/src/lib/ae_events_stores.ts @@ -107,6 +107,11 @@ let events_local_data_struct: key_val = { qry_limit__presenters: 75, qry_limit__files: 75, + hide_drawer__debug: true, + hide__ws_form: true, + hide__ws_messages: true, + hide__ws_commands: true, + show_content__disabled_files: false, show_content__hidden_files: false, show_content__hidden_presentations: false, @@ -152,6 +157,7 @@ let events_local_data_struct: key_val = { controller: 'local', controller_group_code: 'launcher-00', + controller_client_id: null, // controller_cmd: null, // controller_trigger_send: null, }, @@ -357,6 +363,7 @@ let events_session_data_struct: key_val = { event_file_open: {}, // This is from the older Launcher. native: { }, + modal__open: false, }, // Lead Retrievals (Exhibit) diff --git a/src/routes/events/[event_id]/location/[event_location_id]/location_page_menu.svelte b/src/routes/events/[event_id]/location/[event_location_id]/location_page_menu.svelte index 00ad306d..5fa45ef8 100644 --- a/src/routes/events/[event_id]/location/[event_location_id]/location_page_menu.svelte +++ b/src/routes/events/[event_id]/location/[event_location_id]/location_page_menu.svelte @@ -171,9 +171,9 @@ let ae_triggers: key_val = {}; // $events_slct.exhibit_tracking_obj.priority = !$lq__event_location_obj?.priority; ae_triggers.priority = true; }} - class="btn btn-sm m-1 transition-all hover:transition-all *:hover:inline" - class:preset-outlined-surface-500={!$lq__event_location_obj?.priority} - class:preset-tonal-success border border-success-500={$lq__event_location_obj?.priority} + class="btn btn-sm m-1 *:hover:inline" + class:ae_btn_surface_surface={!$lq__event_location_obj?.priority} + class:ae_btn_success={$lq__event_location_obj?.priority} > {#if $lq__event_location_obj?.priority} @@ -226,8 +226,8 @@ let ae_triggers: key_val = {}; ae_triggers.hide = true; }} class="btn btn-sm m-1 transition-all hover:transition-all *:hover:inline" - class:preset-tonal-success border border-success-500={!$lq__event_location_obj?.hide} - class:preset-outlined-warning-500={$lq__event_location_obj?.hide} + class:ae_btn_success={!$lq__event_location_obj?.hide} + class:ae_btn_warning_outlined={$lq__event_location_obj?.hide} disabled={!$ae_loc.trusted_access} > {#if $lq__event_location_obj?.hide} @@ -283,8 +283,8 @@ let ae_triggers: key_val = {}; ae_triggers.enable = true; }} class="btn btn-sm" - class:preset-tonal-success border border-success-500={$lq__event_location_obj?.enable} - class:preset-outlined-warning-500={!$lq__event_location_obj?.enable} + class:ae_btn_success={$lq__event_location_obj?.enable} + class:ae_btn_warning_outlined={!$lq__event_location_obj?.enable} disabled={!$ae_loc.manager_access} > {#if $lq__event_location_obj?.enable}