Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ledger.corals.io/resources/themes/admin/auth/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/ledger.corals.io/resources/themes/admin/auth/profile.blade.php
@extends('layouts.master')

@section('title',$title)

@section('content_header')
    @component('components.content_header')

        @slot('page_title')
            {{ $title }}
        @endslot

        @slot('breadcrumb')
            {{ Breadcrumbs::render('profile') }}
        @endslot

    @endcomponent
@endsection



@section('content')
    <div class="row">
        <!-- /.col -->
        <div class="col-md-12">
            <div class="nav-tabs-custom">
                <ul class="nav nav-tabs">
                    <li class="@if($active_tab=="profile") active @endif">
                        <a href="#profile" data-toggle="tab">
                            @lang('corals-admin::labels.auth.profile')
                        </a>
                    </li>
                    @php \Actions::do_action('user_profile_tabs',user(),$active_tab) @endphp

                </ul>
                <div class="tab-content">
                    <div class="tab-pane @if($active_tab=="profile") active @endif" id="profile">
                        {!! Form::model($user = user(), ['url' => url('profile'), 'method'=>'PUT','class'=>'ajax-form','files'=>true]) !!}
                        <div class="nav-tabs-custom">
                            <ul class="nav nav-pills">
                                <li class="active"><a href="#edit_profile" data-toggle="pill"><i
                                                class="fa fa-pencil"></i> @lang('corals-admin::labels.auth.edit_profile')
                                    </a></li>
                                <li>
                                    <a href="#profile_addresses" data-toggle="pill"><i class="fa fa-map-marker"></i>
                                        @lang('corals-admin::labels.auth.addresses')</a>
                                </li>
                                <li>
                                    <a href="#reset_password" data-toggle="pill"><i class="fa fa-lock"></i>
                                        @lang('corals-admin::labels.auth.auth_password')</a>
                                </li>
                                <li>
                                    <a href="#notification_preferences" data-toggle="pill"><i class="fa fa-bell-o"></i>
                                        @lang('corals-admin::labels.auth.notification_preferences')</a>
                                </li>
                            </ul>
                            <div class="tab-content">
                                <div class="tab-pane active" id="edit_profile">
                                    <div class="row">
                                        <div class="col-md-4">
                                            {!! CoralsForm::text('name','User::attributes.user.name',true) !!}
                                            {!! CoralsForm::email('email','User::attributes.user.email',true) !!}
                                            {!! CoralsForm::textarea('properties[about]', 'User::attributes.user.about' , false, null,[
                                                'class'=>'limited-text',
                                                'maxlength'=>250,
                                                'help_text'=>'<span class="limit-counter">0</span>/250',
                                            'rows'=>'4']) !!}
                                        </div>
                                        <div id="country-div" class="col-md-4">
                                            {!! CoralsForm::text('last_name','User::attributes.user.last_name',true) !!}
                                            {!! CoralsForm::text('phone_country_code','User::attributes.user.phone_country_code',false,null,['id'=>'authy-countries']) !!}
                                            {!! CoralsForm::text('phone_number','User::attributes.user.phone_number',false,null,['id'=>'authy-cellphone']) !!}
                                            {!! CoralsForm::text('job_title','User::attributes.user.job_title') !!}
                                        </div>
                                        <div class="col-md-4">
                                            <div class="text-center">
                                                <img id="image_source"
                                                     class="profile-user-img img-responsive img-circle"
                                                     style="width: 200px"
                                                     src="{{ user()->picture }}"
                                                     alt="User profile picture">
                                                {{ Form::hidden('profile_image') }}
                                                <small class="">@lang('corals-admin::labels.auth.click_pic_update')</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane" id="profile_addresses">
                                    @include('Settings::addresses.address_list_form', [
                                    'url'=>url('users/'.$user->hashed_id.'/address'),'method'=>'POST',
                                    'model'=>$user,
                                    'addressDiv'=>'#profile_addresses'
                                    ])
                                </div>
                                <div class="tab-pane" id="notification_preferences">
                                    @forelse(\CoralsNotification::getUserNotificationTemplates(user()) as $notifications_template)
                                        <div class="row">
                                            <div class="col-md-12">
                                                {!! CoralsForm::checkboxes(
                                                'notification_preferences['.$notifications_template->id .'][]',
                                                $notifications_template->friendly_name,
                                                false, $options = get_array_key_translation(config('notification.supported_channels')),
                                                $selected = $user->notification_preferences[$notifications_template->id] ?? [],
                                                ['checkboxes_wrapper'=>'span', 'label'=>['class' => 'm-r-10 w-200']])
                                                !!}
                                            </div>
                                        </div>
                                    @empty
                                        <h4>@lang('corals-admin::labels.auth.no_notification')</h4>
                                    @endforelse
                                </div>
                                <div class="tab-pane" id="reset_password">
                                    <div class="row">
                                        <div class="col-md-4">
                                            {!! CoralsForm::password('password','User::attributes.user.password') !!}
                                            {!! CoralsForm::password('password_confirmation','User::attributes.user.password_confirmation') !!}

                                            @if(\TwoFactorAuth::isActive())
                                                {!! CoralsForm::checkbox('two_factor_auth_enabled','User::attributes.user.two_factor_auth_enabled',\TwoFactorAuth::isEnabled($user)) !!}

                                                @if( $twoFaView = \TwoFactorAuth::TwoFADetailsView())
                                                    <div id="2fa-details"
                                                         style="display:{{\TwoFactorAuth::isEnabled($user) ? "block": "none"}}">
                                                        @include($twoFaView)
                                                    </div>
                                                @endif

                                            @endif
                                        </div>
                                        <div class="col-md-6 text-center">
                                            <i class="fa fa-lock" style="color:#7777770f; font-size: 10em;"></i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-12">
                                {!! CoralsForm::formButtons(trans('corals-admin::labels.auth.save',['title' => $title_singular]),[],['href'=>url('dashboard')]) !!}
                            </div>
                        </div>
                        {!! Form::close() !!}
                    </div>
                    @php \Actions::do_action('user_profile_tabs_content',user(),$active_tab) @endphp

                </div>
                <!-- /.tab-pane -->
            </div>
            <!-- /.nav-tabs-custom -->
        </div>
    </div>
    <!-- /.row -->
    <!-- /.row -->
    @include('User::users.profile.cropper_modal')

@endsection
@section('js')
    @include('User::users.profile.scripts')
@endsection

Spamworldpro Mini