Viewing file: f6d33c0865ea4fc0f71004419bb54b7cc4574334.php (6.01 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo app('translator')->get('translation.settings'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="position-relative mx-n4 mt-n4"> <div class="profile-wid-bg profile-setting-img"> <img src="<?php echo e(URL::asset('assets/images/profile-bg.jpg')); ?>" class="profile-wid-img" alt=""> <div class="overlay-content"> <div class="text-end p-3"> <div class="p-0 ms-auto rounded-circle profile-photo-edit"> <input id="profile-foreground-img-file-input" type="file" class="profile-foreground-img-file-input"> <label for="profile-foreground-img-file-input" class="profile-photo-edit btn btn-light"> <i class="ri-image-edit-line align-bottom me-1"></i> Change Cover </label> </div> </div> </div> </div> </div>
<div class="row"> <div class="col-xxl-3"> <div class="card mt-n5"> <div class="card-title"> <div class="d-flex align-items-center mb-0 mt-3 p-3"> <div class="flex-grow-1"> <h5 class="card-title mb-0">Change Passoword</h5> </div> </div> </div> <div class="card-body px-4"> <?php if($errors->any()): ?> <div class="alert alert-danger"> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <span class="each-error"><?php echo e($error); ?> </span><br/> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <?php if(session()->has('message')): ?> <div class="alert alert-success"> <?php echo e(session()->get('message')); ?>
</div> <?php endif; ?> <form action="<?php echo e(route('updatePassword')); ?>" method="post"> <?php echo csrf_field(); ?> <div class="row g-2"> <div class="col-lg-4"> <div> <label for="oldpasswordInput" class="form-label">Old Password <span class="text-danger">*</span></label> <input type="password" name="current_password" class="form-control" minlength="6" id="oldpasswordInput" placeholder="Enter current password" required> </div> </div> <!--end col--> <div class="col-lg-4"> <div> <label for="newpasswordInput" class="form-label">New Password <span class="text-danger">*</span></label> <input type="password" name="password" class="form-control" minlength="6" id="newpasswordInput" placeholder="Enter new password" required> </div> </div> <!--end col--> <div class="col-lg-4"> <div> <label for="confirmpasswordInput" class="form-label">Confirm Password <span class="text-danger">*</span></label> <input type="password" name="confirm_password" class="form-control" minlength="6" id="confirmpasswordInput" placeholder="Confirm password" required> </div> </div> <!--end col--> <div class="col-lg-12 pt-2"> <div class="text-end"> <button type="submit" class="btn btn-success">Change Password</button> </div> </div> <!--end col--> </div> <!--end row--> </form> </div> </div> <!--end card--> </div> <!--end col--> </div> <!--end row--> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script src="<?php echo e(URL::asset('assets/js/pages/profile-setting.init.js')); ?>"></script> <script src="<?php echo e(URL::asset('/assets/js/app.min.js')); ?>"></script> <script> var password = document.getElementById("newpasswordInput") , confirm_password = document.getElementById("confirmpasswordInput");
function validatePassword(){ if(password.value != confirm_password.value) { confirm_password.setCustomValidity("Passwords Don't Match"); } else { confirm_password.setCustomValidity(''); } }
password.onchange = validatePassword; confirm_password.onkeyup = validatePassword; </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/queuepro/resources/views/pages-profile-settings.blade.php ENDPATH**/ ?>
|