login.blade.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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, shrink-to-fit=no">
  6. <meta name="description" content="">
  7. <title>Login | {{ config('app.name') }}</title>
  8. <!-- Bootstrap core CSS -->
  9. <link href="{{ asset('css/app.css') }}" rel="stylesheet">
  10. <link href="{{ asset('css/style.css') }}" rel="stylesheet">
  11. <script src="{{ asset('js/app.js') }}" type="text/javascript"></script>
  12. </head>
  13. <body>
  14. <div class="login-container">
  15. <div class="container">
  16. <div class="row vh-100 flex-column align-items-center justify-content-center">
  17. <div class="col-md-4">
  18. <form class="form-signin" method="post" action="{{ route('login') }}">
  19. @csrf
  20. <div class="card">
  21. <div class="card-body">
  22. <div class="form-group">
  23. <label for="cell-number" class="">Cell Number</label>
  24. <input type="text" id="cell-number" name="cell-number" class="form-control" placeholder="Cell Number" value="{{old('cell-number')}}" required <?= old('cell-number') ? '' : 'autofocus' ?>>
  25. </div>
  26. <div class="form-group">
  27. <label for="password" class="">Password</label>
  28. <input type="password" id="password" name="password" class="form-control" placeholder="Password" required <?= old('cell-number') ? 'autofocus' : '' ?>>
  29. </div>
  30. @if(session()->has('message'))
  31. <div class="alert alert-warning">
  32. {{session('message')}}
  33. </div>
  34. @endif
  35. <button id="sign-in-btn" class="mt-2 btn btn-primary btn-block" type="submit">Sign in</button>
  36. </div>
  37. </div>
  38. </form>
  39. </div>
  40. <p class="text-center mt-5 mb-3 text-muted">&copy; {{ date('Y') }}</p>
  41. </div>
  42. </div>
  43. </div>
  44. </body>
  45. </html>