ok
Direktori : /home2/selectio/www/billingsoftwarenew/core/resources/views/admin/ |
Current File : /home2/selectio/www/billingsoftwarenew/core/resources/views/admin/profile.blade.php |
@extends('admin.layouts.app') @section('panel') <div class="row gy-4"> <div class="col-xxl-3 col-xl-4 col-lg-5 col-md-5"> <div class="card b-radius--5 overflow-hidden"> <div class="d-flex p-3 bg--primary align-items-center"> <div class="avatar avatar--lg"> <img src="{{ getImage(getFilePath('adminProfile') . '/' . $admin->image, null, true) }}" alt="@lang('Image')"> </div> <h5 class="text--white ps-3">{{ __($admin->name) }}</h5> </div> <div class="card-body px-0"> <ul class="list-group list-group-flush"> <li class="list-group-item d-flex justify-content-between align-items-center"> @lang('Name') <span class="fw-bold">{{ __($admin->name) }}</span> </li> <li class="list-group-item d-flex justify-content-between align-items-center"> @lang('Username') <span class="fw-bold">{{ __($admin->username) }}</span> </li> <li class="list-group-item d-flex justify-content-between align-items-center"> @lang('Email') <span class="fw-bold">{{ $admin->email }}</span> </li> </ul> </div> </div> </div> <div class="col-xxl-9 col-xl-8 col-lg-7 col-md-7"> <div class="card"> <div class="card-header"> <h5 class="card-title">@lang('Update Profile')</h5> </div> <div class="card-body"> <form action="{{ route('admin.profile.update') }}" method="POST" enctype="multipart/form-data"> @csrf <div class="row"> <div class="col-xl-6"> <div class="form-group"> <div class="image-upload"> <div class="thumb"> <div class="avatar-preview"> <div class="profilePicPreview" style="background-image: url({{ getImage(getFilePath('adminProfile') . '/' . $admin->image, getFileSize('adminProfile')) }})"> <button type="button" class="remove-image"><i class="fa fa-times"></i></button> </div> </div> <div class="avatar-edit"> <input type="file" class="profilePicUpload" name="image" id="profilePicUpload1" accept=".png, .jpg, .jpeg"> <label for="profilePicUpload1" class="bg--primary">@lang('Upload Image')</label> <small class="mt-2 ">@lang('Supported files'): <b>@lang('jpeg'), @lang('jpg').</b> @lang('Image will be resized into 400x400px') </small> </div> </div> </div> </div> </div> <div class="col-xl-6"> <div class="form-group "> <label>@lang('Name')</label> <input class="form-control" type="text" name="name" value="{{ $admin->name }}" required> </div> <div class="form-group"> <label>@lang('Email')</label> <input class="form-control" type="email" name="email" value="{{ $admin->email }}" required> </div> </div> </div> <button type="submit" class="btn btn--primary h-45 w-100">@lang('Submit')</button> </form> </div> </div> </div> </div> @endsection @push('breadcrumb-plugins') <a href="{{ route('admin.password') }}" class="btn btn-sm btn-outline--primary"><i class="las la-key"></i>@lang('Password Setting')</a> @endpush