No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

login.blade.php 8.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>{{$title ?? ''}}</title>
  8. <link href="{{ asset('assets') }}/css/bootstrap.min.css" rel="stylesheet">
  9. <link href="{{ asset('assets') }}/vendor/nucleo/css/nucleo.css" rel="stylesheet">
  10. <style>
  11. body{
  12. background-color: #f0f0f0;
  13. }
  14. .form-group {
  15. margin-bottom: 1.5rem;
  16. }
  17. .form-control:focus{
  18. background-color: #f5f5f5 !important;
  19. }
  20. .input-group-prepend {
  21. margin-right: -1px;
  22. }
  23. .input-group-prepend, .input-group-append {
  24. display: flex;
  25. }
  26. .input-group-alternative .form-control, .input-group-alternative .input-group-text {
  27. border: 0;
  28. box-shadow: none;
  29. }
  30. .input-group > .form-control, .input-group > .custom-select, .input-group > .custom-file {
  31. position: relative;
  32. width: 1%;
  33. margin-bottom: 0;
  34. flex: 1 1 auto;
  35. }
  36. .form-control {
  37. font-size: .875rem;
  38. }
  39. .form-control {
  40. font-size: 1rem;
  41. line-height: 1.5;
  42. display: block;
  43. width: 100%;
  44. height: calc(2.75rem + 2px);
  45. padding: .625rem .75rem;
  46. transition: all .2s cubic-bezier(.68, -.55, .265, 1.55);
  47. color: #000;
  48. border: 1px solid #cad1d7;
  49. border-radius: .375rem;
  50. background-color: #f5f5f5;
  51. background-clip: padding-box;
  52. box-shadow: none;
  53. }
  54. input, button, select, optgroup, textarea {
  55. font-family: inherit;
  56. font-size: inherit;
  57. line-height: inherit;
  58. margin: 0;
  59. }
  60. .input-group .form-control:not(:first-child) {
  61. padding-left: 0;
  62. border-left: 0;
  63. }
  64. .input-group-text {
  65. font-size: 1rem;
  66. font-weight: 400;
  67. line-height: 1.5;
  68. display: flex;
  69. margin-bottom: 0;
  70. padding: .625rem .75rem;
  71. text-align: center;
  72. white-space: nowrap;
  73. color: #adb5bd;
  74. border: 1px solid #cad1d7;
  75. border-radius: .375rem;
  76. background-color: #f5f5f5;
  77. align-items: center;
  78. }
  79. input:-webkit-autofill,
  80. input:-webkit-autofill:hover,
  81. input:-webkit-autofill:focus,
  82. textarea:-webkit-autofill,
  83. textarea:-webkit-autofill:hover,
  84. textarea:-webkit-autofill:focus,
  85. select:-webkit-autofill,
  86. select:-webkit-autofill:hover,
  87. select:-webkit-autofill:focus {
  88. border: none;
  89. -webkit-text-fill-color: none;
  90. -webkit-box-shadow: none;
  91. transition: background-color 5000s ease-in-out 0s;
  92. }
  93. .shadow{
  94. box-shadow: 0 2px 4px 0 rgba(181,181,181,.7);
  95. }
  96. .btn-primary{
  97. background-color: #5e72e4;
  98. }
  99. .login-title h2{
  100. color: #404040;
  101. }
  102. .navbar{
  103. background-color: #fafafa;
  104. }
  105. .navbar-brand img{
  106. height: 46px;
  107. }
  108. .login-title h3{
  109. font-weight: 700;
  110. font-size: 1.5em;
  111. }
  112. .join{
  113. width: 75%;
  114. font-size: 14px;
  115. line-height: normal;
  116. margin: auto;
  117. display: flex;
  118. align-items: center;
  119. padding: 2rem 0;
  120. }
  121. .join .text{
  122. color: #7c7c7c;
  123. line-height: normal;
  124. width: 50%;
  125. }
  126. .join .line{
  127. display: inline-block;
  128. border: .5px solid rgba(0, 0, 0, 0.16);
  129. width: 30%;
  130. }
  131. .vh-100{
  132. height: 100vh;
  133. }
  134. @media (min-width: 768px){
  135. .navbar-brand-img {
  136. max-height: 10.5rem;
  137. }
  138. }
  139. </style>
  140. </head>
  141. <body>
  142. <div class="container vh-100">
  143. <div class="row justify-content-center align-items-center h-100">
  144. <div class="col-lg-6">
  145. <div class="login-box p-5 shadow bg-white rounded text-center">
  146. <div class="login-title text-center">
  147. <img src="{{ asset('assets/img/logo/logo.png') }}" class="navbar-brand-img" alt="...">
  148. <h3 class="font-weight-normal mb-5">Login Admin</h3>
  149. </div>
  150. <div class="d-flex justify-content-center align-items-center">
  151. <form class="w-75" role="form" method="POST" action="{{ route('auth.action_login') }}">
  152. @csrf
  153. @if(session('message'))
  154. {!! session('message') !!}
  155. @endif
  156. <div class="form-group{{ $errors->has('email') ? ' has-danger' : '' }} mb-3">
  157. <div class="input-group input-group-alternative">
  158. <div class="input-group-prepend">
  159. <span class="input-group-text"><i class="ni ni-email-83"></i></span>
  160. </div>
  161. <input name="email" class="pl-1 form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ __('Email') }}" type="text" name="email" value="{{ old('email') }}" value="admin@argon.com" required autofocus>
  162. </div>
  163. </div>
  164. <div class="form-group{{ $errors->has('password') ? ' has-danger' : '' }} mb-2">
  165. <div class="input-group input-group-alternative">
  166. <div class="input-group-prepend">
  167. <span class="input-group-text"><i class="ni ni-lock-circle-open"></i></span>
  168. </div>
  169. <input class="pl-1 form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="{{ __('Password') }}" type="password" required>
  170. </div>
  171. </div>
  172. <div class="text-right mb-2">
  173. <a href="{{ route('password.request') }}" >
  174. <small>Lupa Password?</small>
  175. </a>
  176. </div>
  177. {{-- <div class="custom-control custom-control-alternative custom-checkbox">
  178. <input class="custom-control-input" name="remember" id="customCheckLogin" type="checkbox" {{ old('remember') ? 'checked' : '' }}>
  179. <label class="custom-control-label" for="customCheckLogin">
  180. <span class="text-muted">{{ __('Remember me') }}</span>
  181. </label>
  182. </div> --}}
  183. <div class="text-center">
  184. <button type="submit" class="btn btn-primary py-2 w-100">{{ __('Masuk') }}</button>
  185. </div>
  186. </form>
  187. </div>
  188. <!-- <div class="join text-center">
  189. <span class="line"></span>
  190. <span class="text">Belum memiliki akun?</span>
  191. <span class="line"></span>
  192. </div>
  193. <a href="https://wa.link/r2j794" class="btn btn-success w-75 py-2">{{ __('Hubungi Kami Sekarang') }}</a> -->
  194. </div>
  195. </div>
  196. </div>
  197. </div>
  198. <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
  199. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  200. <link href="{{ asset('assets') }}/js/bootstrap.min.js">
  201. </body>
  202. </html>