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


<!-- Mirrored from www.radixtouch.in/templates/logicswave/ality/source/light/auth-login.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 02 Sep 2020 20:05:51 GMT -->
<head>
  <meta charset="UTF-8">
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport">
  <title>Login | EasyShop</title>
  <!-- General CSS Files -->
  <link rel="stylesheet" href="{{asset('assets/css/app.min.css')}}"> 
  <link rel="stylesheet" href="{{asset('assets/bundles/bootstrap-social/bootstrap-social.css')}}">
  <!-- Template CSS -->
  <link rel="stylesheet" href="{{asset('assets/css/style.css')}}"> 
  <link rel="stylesheet" href="{{asset('assets/css/components.css')}}">
  <!-- Custom style CSS -->
  <link rel="stylesheet" href="{{asset('assets/css/custom.css')}}">
  <link rel='shortcut icon' type='image/x-icon' href='assets/img/favicon.ico' />
  
</head>

<body>
  <div class="loader"></div>
  <div id="app">
    <section class="section">
      <div class="container mt-5">
	  <br> <br>
        <div class="row">
          <div class="col-12 col-sm-8 offset-sm-2 col-md-6 offset-md-3 col-lg-6 offset-lg-3 col-xl-4 offset-xl-4">
            <div class="card card-primary" style="margin-top:-25px;">
			@if (session('status'))
                        <div class="alert alert-success" style="font-size: 15px; background-color: #328039; color: white">
                            <i class="ti-check"></i> {{ session('status') }}
                        </div>
                    @endif

                    @if (session('error'))
                        <div class="alert alert-danger" style="font-size: 15px; background-color: #fb5757; color: white">
                            <i class="ti-na"></i> {{ session('error') }}
                        </div>
                    @endif
                    @if ($errors->any())
                        <div class="alert alert-danger" style="font-size: 15px; background-color: #fb5757; color: white" >
                            <ul>
                                @foreach ($errors->all() as $error)
                                    <li> <i class="ti-na"></i> {{ $error }}</li>
                                @endforeach
                            </ul>
                        </div>
                    @endif
             <!-- <div class="card-header">
				<h3 style="text-align:center;margin-left:105px;"><img src="{{asset('assets/img/logo1.jpeg')}}" style="text-align:center;"/></h3><br/>
				<h5 style="text-align:center;margin-left:-85px;margin-top:90px">Authentification</h5>
              </div> -->
			  <div class="card-body">
			  <img alt="EasyShop" src="{{asset('assets/img/login.png')}}" style="margin-left:15px">
			  </div>
              <div class="card-body">
				@php
						$now = Carbon\Carbon::now();
						$dateRestant = Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $datefinCarbon)->toDateString();
						$dateActCarbon = Carbon\Carbon::parse($dateRestant);
						$diff1 = $dateActCarbon->diffInDays($now);
						@endphp
						@if (30 >= $diff1)
						<font color="red">Votre licence expire dans *** {{$diff1}} jours *** </font>
						@endif
                <form method="post" action="{{route('loginPost')}}" class="needs-validation" novalidate="">
				 {{csrf_field()}}
                  <div class="form-group">
                    <label for="email">Login/ Nom d'utilisateur</label>
                    <input id="email" type="text" class="form-control" name="email" tabindex="1" required autofocus>
                    <div class="invalid-feedback">
                      Veuillez saisir votre email !
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="d-block">
                      <label for="password" class="control-label">Mot de passe</label>
                      <div class="float-right">
                        <a href="{{route('forgot_password')}}" class="text-small">
                          Mot de passe oublié?
                        </a>
                      </div>
                    </div>
                    <input id="password" type="password" class="form-control" name="password" tabindex="2" required>
                    <div class="invalid-feedback">
                       Veuillez saisir votre mot de passe !
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="custom-control custom-checkbox">
                      <input type="checkbox" name="remember" class="custom-control-input" tabindex="3" id="remember-me">
                      <label class="custom-control-label" for="remember-me">Souvenir de moi</label>
                    </div>
                  </div>
                  <div class="form-group">
                    <button type="submit" class="btn btn-primary btn-lg btn-block" tabindex="4">
                      Connecter
                    </button>
                  </div>
                </form>
               
              </div>
            </div>
            
          </div>
        </div>
      </div>
    </section>
  </div>
  <!-- General JS Scripts -->
  <script src="{{asset('assets/js/app.min.js')}}"></script> 
  <!-- JS Libraies -->
  <!-- Page Specific JS File -->
  <!-- Template JS File -->
  <script src="{{asset('assets/js/scripts.js')}}"></script>
  <!-- Custom JS File -->
  <script src="{{asset('assets/js/custom.js')}}"></script>
</body>


<!-- Mirrored from www.radixtouch.in/templates/logicswave/ality/source/light/auth-login.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 02 Sep 2020 20:05:51 GMT -->
</html>