login.blade.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @extends('layouts.login')
  2. @section('content')
  3. <div id="formView">
  4. <div class="d-flex align-items-center flex-column text-center p-3">
  5. <div class="flex-grow-1 single-form-heading font-weight-medium">HR Portal</div>
  6. <p class="text-muted">Please enter your cell phone number below to receive an SMS token, then follow the prompts</p>
  7. </div>
  8. <form action="{{route('send-sms-auth-token')}}" class="form mx-2" method="post">
  9. <div class="icon_wrap">
  10. <img src="{{asset('/img/login_icon.svg')}}" alt="">
  11. </div>
  12. @csrf
  13. @if(session('message'))
  14. <div class="alert alert-info">{{session('message')}}</div>
  15. @endif
  16. <div class="form-group">
  17. <label>Phone Number</label>
  18. <input type="tel" class="form-control phone" name="cell_number" autocomplete="off" autofocus required value="{{old('cell_number')}}">
  19. <small class="d-block mt-2 mb-3 text-dark font-italic">
  20. *Your mobile provider's standard text messaging rates will apply.
  21. </small>
  22. </div>
  23. <div class="form-group">
  24. <div class="g-recaptcha" data-sitekey="{{config('services.recaptcha.key')}}">
  25. </div>
  26. </div>
  27. @error('g-recaptcha-response')
  28. <small>
  29. Please confirm your are not a robot.
  30. </small>
  31. @enderror
  32. <div class="row mb-4">
  33. <div class="col-12 text-center">
  34. <input type="submit" name="sendToken" value="Send SMS Token" class="btn btn-orange text-uppercase py-2 px-4">
  35. </div>
  36. </div>
  37. </form>
  38. </div>
  39. @endsection