More work on the menus...
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
Key,
|
||||
LogIn, LogOut, LockKeyhole,
|
||||
Mail, MailCheck,
|
||||
ShieldUser,
|
||||
User, UserCheck, UserLock
|
||||
} from '@lucide/svelte';
|
||||
|
||||
@@ -722,15 +723,16 @@ async function handle_change_password() {
|
||||
|
||||
|
||||
<div
|
||||
class="flex flex-row gap-2 items-center justify-between w-full"
|
||||
class="flex flex-row gap-1 items-center justify-between w-full transition-all"
|
||||
>
|
||||
<span>
|
||||
{#if $ae_loc?.person_id && $ae_loc?.user_id}
|
||||
<span class="fas fa-user mx-1 text-gray-500"></span>
|
||||
{$ae_loc?.person?.full_name_override ?? $ae_loc?.person?.full_name}
|
||||
{:else}
|
||||
<span class="fas fa-user-x mx-1 text-gray-500"></span>
|
||||
Sign in?
|
||||
<!-- <span class="fas fa-user-x mx-1 text-gray-500"></span> -->
|
||||
<ShieldUser class="inline-block text-gray-500" />
|
||||
User sign in:
|
||||
{/if}
|
||||
</span>
|
||||
|
||||
@@ -744,6 +746,9 @@ async function handle_change_password() {
|
||||
title="Sign In"
|
||||
onclick={() => {
|
||||
$ae_sess.show__sign_in_out__fields = !$ae_sess.show__sign_in_out__fields; // Toggle the visibility of the sign-in form
|
||||
if (!$ae_sess.show__sign_in_out__fields) {
|
||||
$ae_sess.app_cfg.show_element__passcode_input = true;
|
||||
}
|
||||
}}
|
||||
>
|
||||
{#if $ae_loc?.person_id && $ae_loc?.user_id}
|
||||
|
||||
Reference in New Issue
Block a user