diff --git a/src/lib/app_components/e_app_sys_bar.svelte b/src/lib/app_components/e_app_sys_bar.svelte new file mode 100644 index 00000000..26ed916a --- /dev/null +++ b/src/lib/app_components/e_app_sys_bar.svelte @@ -0,0 +1,427 @@ + + + +
+ + + {#if expand} +
+ +
+ +
+ {#if $ae_loc?.person_id} + + {person_display ?? '—'} + {/if} + {#if access_label} + + · {access_label} + + {/if} +
+ +
+ + + {#if $ae_loc?.app_cfg?.show_element__sign_in_out} +
+
+ {/if} + + + {#if !$ae_loc?.sys_menu?.hide_access_type && !$ae_loc?.iframe} +
+ +
+ {/if} + + +
+ +
+ + + {#if $ae_loc.edit_mode} +
+ +
+ +
+ +
+ {/if} + +
+ {/if} + + + + + +
+ + + {#if !expand && (person_display || access_label)} + + {/if} + + + + + + + + + + + + {#if $ae_loc?.authenticated_access} + {#if $ae_loc.edit_mode} + + {:else} + + {/if} + {/if} + + + + +
+ + +
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 9fb764ed..0aa82a2d 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -42,7 +42,8 @@ // import MyClipboard from '$lib/app_components/e_app_clipboard.svelte'; import E_app_debug_menu from '$lib/app_components/e_app_debug_menu.svelte'; - import E_app_sys_menu from '$lib/app_components/e_app_sys_menu.svelte'; + import E_app_sys_bar from '$lib/app_components/e_app_sys_bar.svelte'; + // import E_app_sys_menu from '$lib/app_components/e_app_sys_menu.svelte'; // replaced by E_app_sys_bar interface Props { data: any; @@ -329,7 +330,7 @@ {#if browser && (!$ae_loc?.iframe || $ae_loc?.trusted_access)}
- + {#if $ae_loc.edit_mode || $ae_loc.debug_menu.expand}