<!DOCTYPE html>
<html lang="en">

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <title> Login</title>
  <link rel="stylesheet" href="vendors/feather/feather.css">
  <link rel="stylesheet" href="vendors/ti-icons/css/themify-icons.css">
  <link rel="stylesheet" href="{{ url('/')}}/vendors/typicons/typicons.css">
  <link rel="stylesheet" href="{{ url('/')}}/vendors/css/vendor.bundle.base.css">
  <!-- endinject -->
  <!-- plugin css for this page -->
  <!-- End plugin css for this page -->
  <!-- inject:css -->
  <link rel="stylesheet" href="{{ url('/')}}/css/vertical-layout-light/style.css">
  <!-- endinject -->
  <!-- endinject -->
  <link rel="shortcut icon" href="{{url('/')}}/{{ $set->fav }}" />
  <link rel="stylesheet" href="alert/css/alertify.min.css" />
	<link rel="stylesheet" href="alert/css/themes/default.min.css" />
	<script src="alert/alertify.min.js"></script>
	
  <meta name="csrf-token" content="{{ csrf_token() }}">
</head>

<body>
  <div class="container-scroller">
  <div class="container-fluid page-body-wrapper full-page-wrapper">
      <div class="content-wrapper d-flex align-items-center auth px-0" style="background-image:url('assets/img/about/bg5.png');background-repeat:no-repeat;background-size:cover;">
        <div class="row w-100 mx-0">
          <div class="col-lg-4 mx-auto">
            <div class="auth-form-light text-left py-5 px-4 px-sm-5">
              <div class="brand-logo">
                <a href="{{url('/')}}"><img src="{{url('/')}}/{{ $set->image }}" alt="logo"></a>
              </div>
              <h4 align="center"> Login to your Dashboard </h4>
              <h6 align="center" class="font-weight-light">Sign in to your dashboard</h6>
              <form class="pt-3" method="post" action="{{route('login.submit')}}">
                    @csrf
                <div class="form-group">
                  <input type="email" class="form-control form-control-lg" name="email" id="exampleInputEmail1" placeholder="Email Address">
                </div>
                <div class="form-group">
                  <input type="password" class="form-control form-control-lg" name="password" id="exampleInputPassword1" placeholder="Password">
                </div>
                <div class="mt-3">
                  <button type="submit" class="btn btn-block btn-primary btn-lg font-weight-medium auth-form-btn">SIGN IN</button>
                </div>
                <div class="my-2 d-flex justify-content-between align-items-center">
                  <div class="form-check">
                    <label class="form-check-label text-muted">
                      <input type="checkbox" class="form-check-input">
                      Keep me signed in
                    </label>
                  </div>
                  <!--<a href="#" class="auth-link text-black">Forgot password?</a>-->
                </div>
                <div class="mb-2">
                  <a href="{{ route('register') }}" class="auth-link text-black">Don't have an Account? Register Here</a>
                </div>
                
              </form>
            </div>
          </div>
        </div>
      </div>
      <!-- content-wrapper ends -->
    </div>
    <!-- page-body-wrapper ends -->
  </div>
  <!-- container-scroller -->
  <!-- plugins:js -->
  <script src="vendors/js/vendor.bundle.base.js"></script>
  <!-- endinject -->
  <!-- Plugin js for this page -->
  <!-- End plugin js for this page -->
  <!-- inject:js -->
  <script src="js/off-canvas.js"></script>
  <script src="js/hoverable-collapse.js"></script>
  <script src="js/template.js"></script>
  <script src="js/settings.js"></script>
  <script src="js/todolist.js"></script>
  <!-- endinject -->
  @if (session('success'))
    <script>
     alertify.success("{{ session('success') }}");
      //toastr.success("{{ session('success') }}");
    </script>    
@endif

@if (session('alert'))
    <script>
     alertify.error("{{ session('alert') }}");
      toastr.warning("{{ session('alert') }}");
    </script>
@endif
</body>

</html>
