관리-도구
편집 파일: 4188d104f752a2da48e5735a203b8fb3.php
<?php $auth = auth('admin')->user(); ?> <?php if (isset($component)) { $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb = $attributes; } ?> <?php $component = Modules\LMS\View\Components\Dashboard\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('dashboard-layout'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Modules\LMS\View\Components\Dashboard\Layout::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->slot('title', null, []); ?> <?php echo e(translate('Profile Update')); ?> <?php $__env->endSlot(); ?> <!-- BREADCRUMB --> <form action="<?php echo e(route('admin.profile.update')); ?>" method="post" class="form"> <?php echo csrf_field(); ?> <div class="grid grid-cols-12 gap-x-4"> <input type="hidden" name="id" value="<?php echo e($auth->id ?? ''); ?>"> <div class="col-span-full md:col-span-8 card"> <div class="grid grid-cols-2 gap-x-4 gap-y-6 mt-7"> <div class="col-span-full xl:col-auto leading-none"> <label class="form-label"><?php echo e(translate('Name')); ?> <span class="require-field"><b>*</b></span></label> <input type="text" name="name" value="<?php echo e($auth->name ?? ''); ?>" class="form-input"> <span class="text-danger error-text name_err"></span> </div> <div class="col-span-full xl:col-auto leading-none"> <label class="form-label"><?php echo e(translate('Email')); ?> <span class="require-field"><b>*</b></span></label> <input type="text" name="email" value="<?php echo e($auth->email ?? ''); ?>" class="form-input"> <span class="text-danger error-text email_err"></span> </div> <div class="col-span-full xl:col-auto leading-none"> <label class="form-label"><?php echo e(translate('Phone')); ?> <span class="require-field"><b>*</b></span></label> <input type="text" name="phone" value="<?php echo e($auth->phone ?? ''); ?>" class="form-input"> <span class="text-danger error-text phone_err"></span> </div> </div> <label class="form-label mt-7"> <b><?php echo e(translate('Change Password')); ?></b></label> <div class="grid grid-cols-2 gap-x-4 gap-y-6"> <div class="col-span-full xl:col-auto leading-none"> <label class="form-label"><?php echo e(translate('Password')); ?> <span class="require-field"><b>*</b></span></label> <input type="password" name="password" class="form-input"> <span class="text-danger error-text password_err"></span> </div> <div class="col-span-full xl:col-auto leading-none"> <label class="form-label"><?php echo e(translate('Confirm Password')); ?> <span class="require-field"><b>*</b></span></label> <input type="password" name="password_confirmation" class="form-input"> </div> </div> </div> <div class="col-span-full md:col-span-4 card"> <p class="text-xs text-gray-500 dark:text-dark-text leading-none font-semibold mb-3"> <?php echo e(translate('Profile Image')); ?>(100x100) </p> <label for="profileImg" class="dropzone-wrappe file-container ac-bg text-xs leading-none font-semibold mb-3 cursor-pointer w-full h-[200px] flex flex-col items-center justify-center gap-2.5 border border-dashed border-gray-900 rounded-10 dk-theme-card-square"> <input type="file" hidden name="image" id="profileImg" class="dropzone dropzone-image img-src peer/file"> <span class="flex-center flex-col peer-[.uploaded]/file:hidden"> <img src="<?php echo e(asset('lms/assets/images/icons/upload-file.svg')); ?>" alt="file-icon" class="size-8 lg:size-auto"> <div class="text-gray-500 dark:text-dark-text mt-2"> <?php echo e(translate('Choose file')); ?></div> </span> </label> <div class="preview-zone dropzone-preview"> <div class="box box-solid"> <div class="box-body flex items-center gap-2 flex-wrap"> <?php if(isset($auth) && fileExists('lms/admins/', $auth?->profile_img) == true && $auth?->profile_img !== ''): ?> <div class="img-thumb-wrapper"> <button class="remove"> <i class="ri-close-line text-inherit text-[13px]"></i> </button> <img class="img-thumb" width="100" src="<?php echo e(asset('storage/lms/admins/' . $auth->profile_img)); ?>" /> </div> <?php endif; ?> </div> </div> </div> <span class="text-danger error-text image_err"></span> </div> </div> <div class="card flex justify-end"> <button type="submit" class="btn b-solid btn-primary-solid dk-theme-card-square"> <?php echo e(translate('Update')); ?> </button> </div> </form> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?> <?php $attributes = $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb; ?> <?php unset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb); ?> <?php endif; ?> <?php if (isset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?> <?php $component = $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb; ?> <?php unset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb); ?> <?php endif; ?> <?php /**PATH D:\www\edulab\Modules\LMS\resources\views\portals\admin\profile\form.blade.php ENDPATH**/ ?>