2019-02-03 12:34:15 -05:00
|
|
|
@extends('simple-layout')
|
2015-09-05 12:42:05 -04:00
|
|
|
|
2015-09-04 12:16:58 -04:00
|
|
|
@section('content')
|
2015-08-05 15:59:39 -04:00
|
|
|
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="container very-small">
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="my-l"> </div>
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-04-21 07:45:09 -04:00
|
|
|
<div class="card content-wrap auto-height">
|
2019-09-14 09:12:39 -04:00
|
|
|
<h1 class="list-heading">{{ Str::title(trans('auth.log_in')) }}</h1>
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-08-04 09:26:39 -04:00
|
|
|
<form action="{{ url('/login') }}" method="POST" id="login-form" class="mt-l">
|
2019-02-03 12:34:15 -05:00
|
|
|
{!! csrf_field() !!}
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="stretch-inputs">
|
2019-04-07 07:00:09 -04:00
|
|
|
@include('auth.forms.login.' . $authMethod)
|
2019-02-03 12:34:15 -05:00
|
|
|
</div>
|
|
|
|
|
2019-03-30 10:27:00 -04:00
|
|
|
<div class="grid half collapse-xs gap-xl v-center">
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="text-left ml-xxs">
|
|
|
|
@include('components.custom-checkbox', [
|
|
|
|
'name' => 'remember',
|
|
|
|
'checked' => false,
|
|
|
|
'value' => 'on',
|
|
|
|
'label' => trans('auth.remember_me'),
|
|
|
|
])
|
2017-08-26 08:24:55 -04:00
|
|
|
</div>
|
2019-04-21 07:45:09 -04:00
|
|
|
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="text-right">
|
2019-10-17 09:19:35 -04:00
|
|
|
<button class="button">{{ Str::title(trans('auth.log_in')) }}</button>
|
2019-02-03 12:34:15 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-02-03 12:34:15 -05:00
|
|
|
@if(count($socialDrivers) > 0)
|
|
|
|
<hr class="my-l">
|
|
|
|
@foreach($socialDrivers as $driver => $name)
|
|
|
|
<div>
|
2019-08-04 09:26:39 -04:00
|
|
|
<a id="social-login-{{$driver}}" class="button outline block svg" href="{{ url("/login/service/" . $driver) }}">
|
2018-02-17 08:30:52 -05:00
|
|
|
@icon('auth/' . $driver)
|
2017-08-26 08:24:55 -04:00
|
|
|
{{ trans('auth.log_in_with', ['socialDriver' => $name]) }}
|
|
|
|
</a>
|
2019-02-03 12:34:15 -05:00
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@endif
|
2019-04-21 07:45:09 -04:00
|
|
|
|
2019-08-05 14:06:39 -04:00
|
|
|
@if($samlEnabled)
|
2019-11-17 08:26:43 -05:00
|
|
|
<hr class="my-l">
|
|
|
|
<div>
|
|
|
|
<a id="saml-login" class="button outline block svg" href="{{ url("/saml2/login") }}">
|
2019-11-17 11:07:06 -05:00
|
|
|
@icon('saml2')
|
2019-11-17 08:26:43 -05:00
|
|
|
{{ trans('auth.log_in_with', ['socialDriver' => config('saml2.name')]) }}
|
|
|
|
</a>
|
|
|
|
</div>
|
2019-08-05 14:06:39 -04:00
|
|
|
@endif
|
|
|
|
|
2019-12-22 08:17:14 -05:00
|
|
|
@if(setting('registration-enabled') && config('auth.method') !== 'ldap')
|
2019-05-07 17:07:50 -04:00
|
|
|
<div class="text-center pb-s">
|
2019-04-21 07:45:09 -04:00
|
|
|
<hr class="my-l">
|
2019-08-04 09:26:39 -04:00
|
|
|
<a href="{{ url('/register') }}">{{ trans('auth.dont_have_account') }}</a>
|
2019-04-21 07:45:09 -04:00
|
|
|
</div>
|
|
|
|
@endif
|
2015-09-05 12:42:05 -04:00
|
|
|
</div>
|
2015-08-05 15:59:39 -04:00
|
|
|
</div>
|
|
|
|
|
2019-08-05 14:06:39 -04:00
|
|
|
@stop
|