Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/resources/views/front/reset-password.blade.php
Назад
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css"> {{-- <link rel="stylesheet" href="./login.html"> <link rel="stylesheet" href="./register.html"> --}} <link rel="stylesheet" href="{{asset('/css/main.css')}}"> <title>SOMNI RESET PASSWORD</title> </head> <body class="login-body"> <div class="login-main"> <div class="login-container"> <div class="container h-100"> <div class="row h-100 justify-content-center flex-column align-items-center p20"> <div class="col-md-7 col-lg-7 col-xl-7 col-sm-12 col-12"> <div class="login-logo"> <a href="{{route('home')}}"> <img src="{{asset(trans('login_web.somni_logo.content'))}}" alt="" class="img-fluid"> </a> </div> <div class="login-welcome"> <h3>{{trans('login_web.somni_reset_password_heading.content')}}</h3> </div> {{-- @if($errors->any()) @foreach($errors->all() as $error) <label class="row justify-content-center custom_error">{{ $error }}</label> @endforeach @endif --}} {{-- @if(Session::has('error')) <label class="row justify-content-center custom_error">{{ Session::get('error') }}</label> @endif @if(Session::has('success')) <label class="row justify-content-center custom_success">{{ Session::get('success') }}</label> @endif --}} <div class="row justify-content-center"> <div class="col-md-10"> <form action="{{route('reset.password.save')}}" method="POST"> @csrf <input type="hidden" name="token" value="{{$token}}" /> <div class="login-fields"> <label for="">{{trans('login_web.somni_login_label_email.content')}}</label> <input type="email" placeholder="Enter your email address" name="email" required> @if(Session::has('error')) <label class="error">{{ Session::get('error') }}</label> @endif {{-- @error('error') <label class="error">{{ $message }}</label> @enderror --}} </div> <div class="login-fields"> <label for="">{{trans('login_web.somni_login_label_password.content')}}</label> <input type="password" class="password-field" placeholder="••••••••" name="password" id="password" required> @error('password') <label class="error">{{ $message }}</label> @enderror <div class="eye-pass"> <svg class="password-toggle" xmlns="http://www.w3.org/2000/svg" width="23" height="23" viewBox="0 0 23 23" fill="none"> <path class="eye-icon" fill-rule="evenodd" clip-rule="evenodd" d="M6.8883 11.4988C6.8883 8.95726 8.9556 6.8891 11.4999 6.8891C14.0416 6.8891 16.1088 8.95721 16.1088 11.4988C16.1088 14.041 14.0416 16.1083 11.4999 16.1083C8.95556 16.1083 6.8883 14.041 6.8883 11.4988ZM1.28138 11.0591C1.12235 11.3467 1.12235 11.651 1.28138 11.9389C3.34594 15.6463 7.26115 17.9494 11.4999 17.9494C15.7359 17.9494 19.6512 15.6463 21.7158 11.9389C21.8775 11.651 21.8775 11.3467 21.7158 11.0591C19.6512 7.35166 15.736 5.04883 11.4999 5.04883C7.26115 5.04883 3.34594 7.35166 1.28138 11.0591ZM11.4999 8.39982C9.78909 8.39982 8.39898 9.78988 8.39898 11.4988C8.39898 13.2078 9.78904 14.5979 11.4999 14.5979C13.208 14.5979 14.5981 13.2078 14.5981 11.4988C14.5981 9.78988 13.208 8.39982 11.4999 8.39982Z" fill="#3155F4" /> </svg> </div> </div> <div class="login-fields"> <label for="">{{trans('login_web.somni_login_label_confirm-password.content')}}</label> <input type="password" class="password-field" placeholder="••••••••" name="password_confirmation" id="confirmPassword" required> @error('confirm_password') <label class="error">{{ $message }}</label> @enderror <div class="eye-pass"> <svg class="password-toggle" xmlns="http://www.w3.org/2000/svg" width="23" height="23" viewBox="0 0 23 23" fill="none"> <path class="eye-icon" fill-rule="evenodd" clip-rule="evenodd" d="M6.8883 11.4988C6.8883 8.95726 8.9556 6.8891 11.4999 6.8891C14.0416 6.8891 16.1088 8.95721 16.1088 11.4988C16.1088 14.041 14.0416 16.1083 11.4999 16.1083C8.95556 16.1083 6.8883 14.041 6.8883 11.4988ZM1.28138 11.0591C1.12235 11.3467 1.12235 11.651 1.28138 11.9389C3.34594 15.6463 7.26115 17.9494 11.4999 17.9494C15.7359 17.9494 19.6512 15.6463 21.7158 11.9389C21.8775 11.651 21.8775 11.3467 21.7158 11.0591C19.6512 7.35166 15.736 5.04883 11.4999 5.04883C7.26115 5.04883 3.34594 7.35166 1.28138 11.0591ZM11.4999 8.39982C9.78909 8.39982 8.39898 9.78988 8.39898 11.4988C8.39898 13.2078 9.78904 14.5979 11.4999 14.5979C13.208 14.5979 14.5981 13.2078 14.5981 11.4988C14.5981 9.78988 13.208 8.39982 11.4999 8.39982Z" fill="#3155F4"></path> </svg> </div> </div> <div class="d-flex justify-content-between"> <p class="trouble-link"><a href="{{route('web.login')}}">Already have an Account?</a> </p> </div> <div class="log-login-button"> <button type="submit" class="submit-login-btn">Save</button> </div> <div class="register-link"> <p>{{trans('login_web.somni_login_new_to_somni.content')}} <a href="{{route('register.select')}}">{{trans('login_web.somni_login_register_now_link.content')}}</a></p> </div> </form> </div> </div> </div> </div> </div> </div> <div class="copyright-sec login-copyright-sec"> <div class="row m-0"> <div class="col-md-12 col-lg-6 col-sm-12 col-12"> <div class="copyright-text"> <p> © 2024 Somni. All Rights Reserved. </p> </div> </div> <div class="col-md-12 col-lg-6 col-sm-12 col-12"> <div class="cpt-text-main"> <div class="copyright-text"> <p> Privacy Policy </p> </div> <div class="copyright-text"> <p class="m-0"> Terms of Service </p> </div> </div> </div> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script> <script src="{{asset('/js/jquery-validate.js')}}"></script> <script src="{{asset('/js/login.js')}}"></script> <script> //HM , Code for passwords and confirm password match const passwordField = document.getElementById("password"); const confirmPasswordField = document.getElementById("confirmPassword"); // const form = document.getElementById("registrationForm"); function checkPasswordMatch() { // console.log('check pass') const password = passwordField.value; const confirmPassword = confirmPasswordField.value; if (password === confirmPassword) { return true; } else { return false; } } </script> @if(session('status')) <script> toastr.options = { "closeButton": true, "debug": false, "newestOnTop": false, "progressBar": false, "positionClass": "toast-top-right", "preventDuplicates": false, "onclick": null, "showDuration": "300", "hideDuration": "1000", "timeOut": "5000", "extendedTimeOut": "1000", "showEasing": "swing", "hideEasing": "linear", "showMethod": "fadeIn", "hideMethod": "fadeOut" } toastr.success('{{ session("status") }}'); </script> @endif @if($errors->has('email')) <script> toastr.options = { "closeButton": true, "debug": false, "newestOnTop": false, "progressBar": false, "positionClass": "toast-top-right", "preventDuplicates": false, "onclick": null, "showDuration": "300", "hideDuration": "1000", "timeOut": "5000", "extendedTimeOut": "1000", "showEasing": "swing", "hideEasing": "linear", "showMethod": "fadeIn", "hideMethod": "fadeOut" } toastr.error(' {{ $errors->first("email") }}'); </script> @endif </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка