confirm.blade.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!doctype html>
  2. <html lang="{{ str_replace('_', '-', app()->getLocale()) }}" dir="rtl">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- CSRF Token -->
  8. <meta name="csrf-token" content="{{ csrf_token() }}">
  9. <title>{{ __('تایید رمز عبور') }}</title>
  10. <!-- Fonts -->
  11. <link rel="dns-prefetch" href="//fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
  13. <!-- Styles -->
  14. <link href="{{ mix('css/panel.css') }}" rel="stylesheet">
  15. </head>
  16. <body>
  17. <div id="app">
  18. <section class="material-half-bg">
  19. <div class="cover"></div>
  20. </section>
  21. <section class="lockscreen-content">
  22. <div class="logo">
  23. <h1>Laravel</h1>
  24. </div>
  25. <div class="lock-box">
  26. <img class="rounded-circle user-image" src="https://s3.amazonaws.com/uifaces/faces/twitter/jsa/128.jpg">
  27. <h4 class="text-center user-name">{{ auth()->user()->name }}</h4>
  28. <p class="text-center text-muted">{{ __('لطفا قبل از ادامه، رمز عبور خود را تایید نمایید.') }}</p>
  29. <form method="POST" action="{{ route('password.confirm') }}">
  30. @csrf
  31. <div class="form-group">
  32. <label for="password">{{ __('رمز عبور') }}</label>
  33. <input id="password" type="password" class="form-control @error('password') is-invalid @enderror"
  34. name="password" required autocomplete="current-password">
  35. @error('password')
  36. <span class="invalid-feedback" role="alert">
  37. <strong>{{ $message }}</strong>
  38. </span>
  39. @enderror
  40. </div>
  41. <div class="form-group btn-container">
  42. <button type="submit" class="btn btn-primary btn-block">
  43. {{ __('تایید رمز عبور') }}
  44. </button>
  45. @if (Route::has('password.request'))
  46. <a class="btn btn-link" href="{{ route('password.request') }}">
  47. {{ __('رمز عبور خود را فراموش کرده‌ام') }}
  48. </a>
  49. @endif
  50. </div>
  51. </form>
  52. </div>
  53. </section>
  54. </div>
  55. <!-- Scripts -->
  56. <script src="{{ mix('js/panel.js') }}"></script>
  57. </body>
  58. </html>