@extends('layouts.app')
@section('css')
<link rel="stylesheet" href="{{asset('vendor/jquery-confirm2/dist/jquery-confirm.min.css')}}">
<link rel="stylesheet" href="{{asset('vendor/monkeymonk-jquery.loader/jquery.loader.css')}}">
@endsection
@section('content')
<div class="container">
  <div class="col-lg-6 col-md-8 ml-auto mr-auto">
    <form class="form" id="formulary">
      <div class="card card-login">
        <div class="card-header ">
          <div class="card-header">
            <h4 class="header text-center mt-0">Realizar Seguimiento</h4>
            <hr>
          </div>
        </div>
        <div class="card-body">
          <div class="form-group">
            <label>Codigo de Solicitud</label>
            <div class="input-group">
              <div class="input-group-prepend">
                <span class="input-group-text">
                  <i class="far fa-address-card"></i>
                </span>
              </div>
              <input type="text" class="form-control" name="codigo" placeholder="">
            </div>
          </div>
          <div class="form-group">
            <label>Constraseña</label>
            <div class="input-group">
              <div class="input-group-prepend">
                <span class="input-group-text">
                  <i class="nc-icon nc-key-25"></i>
                </span>
              </div>
              <input type="text" name="password" placeholder="" class="form-control">
            </div>
          </div>
          <div class="form-group">
            <div class="d-flex justify-content-center">
              <div class="g-recaptcha" data-sitekey="6LdtAfoSAAAAANbNT_vL65Gsi3WY4eBx3vX2-HUV" data-callback="correctCaptcha"></div>
            </div>
              <label id="recaptchaError" class="d-none invalid-feedback text-danger">Captcha requerido.</label>
          </div>
          <br>
          <button type="button" class="btn btn-success btn-block" id="validacion">
            <i class="fas fa-share-square"></i> Realizar Seguimiento
          </button>
            
        </div>
      </div>
    </form>
  </div>
</div>
@endsection
@section('scripts')
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script type="text/javascript" src="{{asset('vendor/jquery-confirm2/dist/jquery-confirm.min.js')}}"></script>
<script type="text/javascript" src="{{asset('vendor/jquery-validation/dist/jquery.validate.min.js')}}"></script>
<!-- <script type="text/javascript" src="{{asset('vendor/jquery-validation/dist/additional-methods.min.js')}}"></script> -->
<script type="text/javascript" src="{{asset('js/validator.setDefaults.js')}}"></script>
<!-- <script type="text/javascript">
  $.validator.addMethod('filesize', function (value, element, param) {
      console.log(element.files[0].size);
      return this.optional(element) || (element.files[0].size <= param)
  }, 'File size must be less than {0}');
</script> -->

<script type="text/javascript" src="{{asset('vendor/monkeymonk-jquery.loader/jquery.loader.js')}}"></script>
<script type="text/javascript" src="{{asset('js/web/seguimiento/index.js')}}"></script>
@endsection
