2019-02-03 18:34:15 +01:00
|
|
|
@extends('simple-layout')
|
2015-09-05 18:42:05 +02:00
|
|
|
|
2015-09-04 18:16:58 +02:00
|
|
|
@section('content')
|
2015-08-05 21:59:39 +02:00
|
|
|
|
2019-02-03 18:34:15 +01:00
|
|
|
<div class="container very-small">
|
2017-08-26 14:24:55 +02:00
|
|
|
|
2019-02-03 18:34:15 +01:00
|
|
|
<div class="my-l"> </div>
|
2017-08-26 14:24:55 +02:00
|
|
|
|
2019-04-21 13:45:09 +02:00
|
|
|
<div class="card content-wrap auto-height">
|
2019-02-03 18:34:15 +01:00
|
|
|
<h1 class="list-heading">{{ title_case(trans('auth.log_in')) }}</h1>
|
2017-08-26 14:24:55 +02:00
|
|
|
|
2019-04-16 13:18:51 +02:00
|
|
|
<form action="{{ baseUrl('/login') }}" method="POST" id="login-form" class="mt-l">
|
2019-02-03 18:34:15 +01:00
|
|
|
{!! csrf_field() !!}
|
2017-08-26 14:24:55 +02:00
|
|
|
|
2019-02-03 18:34:15 +01:00
|
|
|
<div class="stretch-inputs">
|
2019-04-07 13:00:09 +02:00
|
|
|
@include('auth.forms.login.' . $authMethod)
|
2019-02-03 18:34:15 +01:00
|
|
|
</div>
|
|
|
|
|
2019-03-30 15:27:00 +01:00
|
|
|
<div class="grid half collapse-xs gap-xl v-center">
|
2019-02-03 18:34:15 +01: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 14:24:55 +02:00
|
|
|
</div>
|
2019-04-21 13:45:09 +02:00
|
|
|
|
2019-02-03 18:34:15 +01:00
|
|
|
<div class="text-right">
|
|
|
|
<button class="button primary" tabindex="3">{{ title_case(trans('auth.log_in')) }}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
2017-08-26 14:24:55 +02:00
|
|
|
|
2019-02-03 18:34:15 +01:00
|
|
|
@if(count($socialDrivers) > 0)
|
|
|
|
<hr class="my-l">
|
|
|
|
@foreach($socialDrivers as $driver => $name)
|
|
|
|
<div>
|
2019-04-07 12:34:40 +02:00
|
|
|
<a id="social-login-{{$driver}}" class="button outline block svg" href="{{ baseUrl("/login/service/" . $driver) }}">
|
2018-02-17 14:30:52 +01:00
|
|
|
@icon('auth/' . $driver)
|
2017-08-26 14:24:55 +02:00
|
|
|
{{ trans('auth.log_in_with', ['socialDriver' => $name]) }}
|
|
|
|
</a>
|
2019-02-03 18:34:15 +01:00
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@endif
|
2019-04-21 13:45:09 +02:00
|
|
|
|
|
|
|
@if(setting('registration-enabled', false))
|
|
|
|
<div class="text-center">
|
|
|
|
<hr class="my-l">
|
|
|
|
<a href="{{ baseUrl('/register') }}">{{ trans('auth.dont_have_account') }}</a>
|
|
|
|
</div>
|
|
|
|
@endif
|
2015-09-05 18:42:05 +02:00
|
|
|
</div>
|
2015-08-05 21:59:39 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|