diff --git a/src/lib/app_components/e_app_cfg.svelte b/src/lib/app_components/e_app_cfg.svelte deleted file mode 100644 index 83a1c57a..00000000 --- a/src/lib/app_components/e_app_cfg.svelte +++ /dev/null @@ -1,331 +0,0 @@ - - - -
-
-

Config

-
- -
-
-
-

Access Type:

-
- {#if $ae_loc.access_type && $ae_loc.access_type != 'anonymous'} - {#if $ae_loc.access_type == 'super'} - Super Access - {:else if $ae_loc.access_type == 'manager'} - Manager Access - {:else if $ae_loc.access_type == 'administrator'} - Administrator Access - {:else if $ae_loc.access_type == 'trusted'} - Trusted Access - {:else if $ae_loc.access_type == 'authenticated'} - Authenticated Access - {:else if $ae_loc.access_type == 'anonymous'} - Anonymous Access - {:else} - Unknown Access - {/if} - - - {:else} - Not logged in - {/if} -
- - -
-

Utilities:

- - - Util: Convert Videos - - - {#if $ae_loc.iframe} - - - Exit iframe Mode - - {:else} - - - Use iframe Mode - - {/if} - -
- - -
-
- - -
- -
-
- - -
- - - {#if $ae_loc.access_type && $ae_loc.access_type != 'anonymous'} - {#if $ae_loc.access_type == 'super'} - Super Access - {:else if $ae_loc.access_type == 'manager'} - Manager Access - {:else if $ae_loc.access_type == 'administrator'} - Administrator Access - {:else if $ae_loc.access_type == 'trusted'} - Trusted Access - {:else if $ae_loc.access_type == 'authenticated'} - Authenticated Access - {:else if $ae_loc.access_type == 'anonymous'} - Anonymous Access - {:else} - Unknown Access - {/if} - - - {:else} - Not logged in - {/if} - - - - -
-
- - diff --git a/src/lib/app_components/e_app_sys_bar.svelte b/src/lib/app_components/e_app_sys_bar.svelte index d044adfd..bcbcb02c 100644 --- a/src/lib/app_components/e_app_sys_bar.svelte +++ b/src/lib/app_components/e_app_sys_bar.svelte @@ -204,30 +204,39 @@ let access_label = $derived.by(() => { return map[t] ?? t; }); -// Theme options — keep in sync with e_app_url_builder.svelte -const theme_options = [ - { value: '', label: '-- None --' }, +// Theme picker groups — keep label lists in sync with e_app_url_builder.svelte +// Skeleton system themes (first-party, no AE prefix) +const skeleton_themes = [ + { value: 'nouveau', label: 'Nouveau' }, { value: 'cerberus', label: 'Cerberus' }, { value: 'concord', label: 'Concord' }, { value: 'crimson', label: 'Crimson' }, { value: 'hamlindigo', label: 'Hamlindigo' }, { value: 'modern', label: 'Modern' }, - { value: 'nouveau', label: 'Nouveau' }, { value: 'rocket', label: 'Rocket' }, { value: 'terminus', label: 'Terminus' }, { value: 'vintage', label: 'Vintage' }, { value: 'wintry', label: 'Wintry' }, +]; +// AE custom themes +const ae_themes = [ { value: 'AE_OSIT_default', label: 'OSIT' }, { value: 'AE_Firefly', label: 'Firefly ✦' }, - { value: 'AE_Firefly_SteelBlue', label: 'Firefly SteelBlue ✦' }, - { value: 'AE_Firefly_Indigo', label: 'Firefly Indigo ✦' }, - { value: 'AE_Firefly_Rainbow', label: 'Firefly Rainbow ✨' }, - { value: 'AE_Firefly_Axonius', label: 'Firefly Axonius ✦' }, - { value: 'AE_Firefly_BGH', label: 'Firefly BGH ✦' }, - { value: 'AE_c_IDAA_light', label: 'IDAA – light' }, + { value: 'AE_Firefly_SteelBlue', label: 'Steel ✦' }, + { value: 'AE_Firefly_Indigo', label: 'Indigo ✦' }, + { value: 'AE_Firefly_Rainbow', label: 'Rainbow ✨' }, + { value: 'AE_Firefly_Axonius', label: 'Axonius ✦' }, + { value: 'AE_Firefly_BGH', label: 'BGH ✦' }, + { value: 'AE_c_IDAA_light', label: 'IDAA' }, { value: 'AE_c_LCI', label: 'LCI' }, - { value: 'AE_c_LCI_new', label: 'LCI (New ✦)' } + { value: 'AE_c_LCI_new', label: 'LCI New ✦' }, ]; + +function apply_theme(value: string) { + document.documentElement.setAttribute('data-theme', value); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + ae_loc.update((l: Record) => ({ ...l, theme_name: value, user_theme_selected: true })); +} -
-
- Theme + +
+
Theme
+ + +
+
System
+
+ {#each skeleton_themes as opt (opt.value)} + + {/each} +
+
+ + +
+
AE
+
+ {#each ae_themes as opt (opt.value)} + + {/each} +
-
{/if} diff --git a/src/lib/app_components/e_app_sys_menu_legacy.svelte b/src/lib/app_components/e_app_sys_menu_legacy.svelte deleted file mode 100644 index a67a2a56..00000000 --- a/src/lib/app_components/e_app_sys_menu_legacy.svelte +++ /dev/null @@ -1,620 +0,0 @@ - - - - - - - - - - - -
- - -
- {#if $ae_loc?.person_id} -
- - - {$ae_loc?.person?.informal_name ?? - $ae_loc?.person?.given_name} - -
- {/if} - - {#if $ae_loc?.user_id} - -
- - - {$ae_loc?.user?.username ?? '-- not set --'} - -
- {/if} - -
- {#if $ae_loc.access_type && $ae_loc.access_type != 'anonymous'} - - - - - {#if $ae_loc.access_type == 'super'} - - - {:else if $ae_loc.access_type == 'manager'} - - - {:else if $ae_loc.access_type == 'administrator'} - - - {:else if $ae_loc.access_type == 'trusted'} - - - {:else if $ae_loc.access_type == 'public'} - Public - - {:else if $ae_loc.access_type == 'authenticated'} - Authenticated - - {:else if $ae_loc.access_type == 'anonymous'} - Anonymous Access - {:else} - Unknown Access - {/if} - - - {#if $ae_loc?.user_access_type && $ae_loc?.access_type == $ae_loc?.user_access_type} - - {:else} - - {/if} - {:else} - - {/if} -
- - {#if $ae_loc.edit_mode} - - {:else if $ae_loc.authenticated_access} - - {/if} - - - - - - - - - - - -
- - - - - - - -
- - - - - - - - - - - - {#if $ae_loc?.app_cfg?.show_element__sign_in_out} - - -
-
diff --git a/src/lib/app_components/e_app_theme.svelte b/src/lib/app_components/e_app_theme.svelte deleted file mode 100644 index d4d06e79..00000000 --- a/src/lib/app_components/e_app_theme.svelte +++ /dev/null @@ -1,236 +0,0 @@ - - - - -
-
- - - {$ae_loc.theme_name} - - -
- -
- {#if expand} - - - - - {:else} - - {/if} -
- - - - -