@extends('frontend.layouts.app') @section('content')
@lang('navs.frontend.user.account')

Account settings

{{ html()->modelForm($logged_in_user, 'POST', route('frontend.user.profile.update'))->class('form-horizontal')->attribute('enctype', 'multipart/form-data')->open() }} @method('PATCH')
{{ html()->label(__('validation.attributes.frontend.avatar'))->for('avatar') }}
avatar_type == 'gravatar' ? 'checked' : '' }} /> Gravatar avatar_type == 'storage' ? 'checked' : '' }} /> Upload
{{ html()->label(__('validation.attributes.frontend.name'))->for('name') }} {{ html()->text('name')->class('form-control')->placeholder(__('validation.attributes.frontend.name'))->attribute('maxlength', 191)->required()->autofocus() }}
@if ($logged_in_user->canChangeEmail())
{{ html()->label(__('labels.frontend.user.profile.email'))->class('form-label') }} {{ html()->email('email', $logged_in_user->email)->class('form-control mb-1')->attribute('readonly', true) }}
@endif
{{$logged_in_user->created_at ? timezone()->convertToLocal($logged_in_user->created_at) :"" }} ({{$logged_in_user->created_at ? $logged_in_user->created_at->diffForHumans() :"" }})
{{ $logged_in_user->updated_at ? timezone()->convertToLocal($logged_in_user->updated_at ) :"" }} ({{ $logged_in_user->updated_at ? $logged_in_user->updated_at->diffForHumans() :"" }})
{{ form_submit(__('labels.general.buttons.update')) }} {{ html()->closeModelForm() }}
{{ html()->form('PATCH', route('frontend.auth.password.update'))->class('form-horizontal')->open() }}
{{ html()->label(__('validation.attributes.frontend.old_password'))->for('old_password') }} {{ html()->password('old_password')->class('form-control')->placeholder(__('validation.attributes.frontend.old_password'))->autofocus()->required() }}
{{ html()->label(__('validation.attributes.frontend.password'))->for('password') }} {{ html()->password('password')->class('form-control')->placeholder(__('validation.attributes.frontend.password'))->required() }}
{{ html()->label(__('validation.attributes.frontend.password_confirmation'))->for('password_confirmation') }} {{ html()->password('password_confirmation')->class('form-control')->placeholder(__('validation.attributes.frontend.password_confirmation'))->required() }}
{{ form_submit(__('labels.general.buttons.update') . ' ' . __('validation.attributes.frontend.password')) }} {{ html()->form()->close() }}

@if (session()->has('access_token') && time() < session('access_token_expires'))

You are connected to Microsoft

@else

You are not connected to Microsoft

@endif
@csrf
@endsection @push('after-scripts') @endpush @push('before-styles') @endpush