ldc-dam/resources/views/auth/login.blade.php
2022-06-20 14:00:52 +02:00

52 lines
2.3 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@extends('layouts.app')
@section('content')
<div class="login_container animated fadeIn">
<div class="col">
<img src="{!! asset('/assets/images/ldc-logo.jpg') !!}" alt="">
<h2>Gestion des médias</h2>
</div>
<div class="col">
<form method="POST" action="{{ route('login') }}">
@csrf
<h1>Connectez-vous</h1>
<p>Pour vous connecter, merci d’entrer votre login et votre mot de passe.</p>
<p>
<input id="matricule" type="text" class="form-control{{ $errors->has('matricule') ? ' is-invalid' : '' }}" name="matricule" value="{{ old('matricule') }}" placeholder="Login" autocomplete="matricule" required autofocus>
@if ($errors->has('matricule'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('matricule') }}</strong>
</span>
@endif
</p>
<p>
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="Mot de passe" required autocomplete="current-password" required>
@if ($errors->has('password'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</p>
<p>
<input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
<label class="form-check-label" for="remember">Se souvenir de moi </label>
</p>
<p>
<button type="submit" class="btn">Se connecter <i class="fa fa-long-arrow-right"></i></button>
@if (Route::has('password.request'))
<a class="btn btn-link" href="{{ route('password.request') }}">
{{ __('Forgot Your Password?') }}
</a>
@endif
</p>
<p class="admin_link">
Vous n'avez pas d'accès ? <a target="_blank" href="mailto:equipe.web@ldc.fr?subject=Demande d'accès au DAM">faites-en la demande</a>
</p>
</form>
</div>
</div>
@endsection