File manager - Edit - /var/www/html/portal/storage/framework/views/fb07a85c19743e35ec00413ed43d483c.php
Back
<?php $__env->startSection("title", env("APP_NAME") . " :: Alterar Senha"); ?> <?php $__env->startSection('content'); ?> <div class="container-fluid px-1"> <div class="row"> <div class="col-12"> <div class="card shadow mx-0"> <?php $headLine = "<i class='fa-solid fa-key'></i> Alterar Senha"; ?> <?php echo $__env->make('components.buttons._headLineButtonsBackAdd', [ 'headLine' => __($headLine), "permission" => "GUEST", ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <div class="card-body"> <form action="<?php echo e(route('admin.password')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <?php echo method_field('post'); ?> <?php echo $__env->make("errors.messageFlash", array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('components.modal._modelProfile', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <hr> <div class="row"> <div class="col-sm-12 col-md-4"> <!-- Campo Senha atual --> <?php echo $__env->make('components.inputs._inputType',[ "for" => null, "label" => "Senha atual", "name" => "current_password", "id" => null, "required" => true, "type" => 'password', "old" => old('current_password'), "oninput" => null, "readonly" => false, "small" => null, "toggleButton" => true, "toggleButtonId" => 'togglePasswordCurrent', "toggleButtonFontawesome" => '<i class="fas fa-eye"></i>', "inputGroup" => true, ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="col-sm-12 col-md-4"> <!-- Campo Nova senha --> <?php echo $__env->make('components.inputs._inputType',[ "for" => null, "label" => "Nova senha", "name" => "password", "id" => null, "required" => true, "type" => 'password', "old" => old('password'), "oninput" => null, "readonly" => false, "small" => null, "toggleButton" => true, "toggleButtonId" => 'togglePassword', "toggleButtonFontawesome" => '<i class="fas fa-eye"></i>', "inputGroup" => true, ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="col-sm-12 col-md-4"> <!-- Campo Repetir Senha --> <?php echo $__env->make('components.inputs._inputType',[ "for" => null, "label" => "Repetir senha", "name" => "password_repeat", "id" => null, "required" => true, "type" => 'password', "old" => old('password_repeat'), "oninput" => null, "readonly" => false, "small" => null, "toggleButton" => true, "toggleButtonId" => 'togglePasswordRepeat', "toggleButtonFontawesome" => '<i class="fas fa-eye"></i>', "inputGroup" => true, ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> </div> <div class="row"> <div class="col-12"> <?php echo $__env->make('components.buttons._backAndSend', [ 'textSend' => 'Atualizar', ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> </div> </form> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <script> document.addEventListener("DOMContentLoaded", function () { let togglePasswordCurrent = document.getElementById('togglePasswordCurrent'); let passwordFieldCurrent = document.getElementById('current_password'); let togglePassword = document.getElementById('togglePassword'); let passwordField = document.getElementById('password'); let togglePasswordRepeat = document.getElementById('togglePasswordRepeat'); let passwordFieldRepeat = document.getElementById('password_repeat'); togglePasswordCurrent.addEventListener('click', function() { let icon = this.querySelector('i'); if (passwordFieldCurrent.type === 'password') { passwordFieldCurrent.type = 'text'; icon.classList.remove('fa-eye'); icon.classList.add('fa-eye-slash'); } else { passwordFieldCurrent.type = 'password'; icon.classList.remove('fa-eye-slash'); icon.classList.add('fa-eye'); } }); togglePassword.addEventListener('click', function() { let icon = this.querySelector('i'); if (passwordField.type === 'password') { passwordField.type = 'text'; icon.classList.remove('fa-eye'); icon.classList.add('fa-eye-slash'); } else { passwordField.type = 'password'; icon.classList.remove('fa-eye-slash'); icon.classList.add('fa-eye'); } }); togglePasswordRepeat.addEventListener('click', function() { let icon = this.querySelector('i'); if (passwordFieldRepeat.type === 'password') { passwordFieldRepeat.type = 'text'; icon.classList.remove('fa-eye'); icon.classList.add('fa-eye-slash'); } else { passwordFieldRepeat.type = 'password'; icon.classList.remove('fa-eye-slash'); icon.classList.add('fa-eye'); } }); }); </script> <?php echo $__env->make('layouts.admin.theme', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/portal/resources/views/admin/password.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings