Enable logins using pilot ID #698

This commit is contained in:
Nabeel Shahzad
2020-05-16 11:46:25 -04:00
parent 00505a1607
commit b9aeda1cba
16 changed files with 234 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ return [
'newestpilots' => 'Newest Pilots',
'profile' => 'Profile',
'email' => 'Email',
'pilot_id' => 'Pilot ID',
'register' => 'Register',
'login' => 'Log In',
'logout' => 'Log Out',
@@ -48,6 +49,7 @@ return [
'inactive' => 'Inactive',
'yes' => 'Yes',
'no' => 'No',
'or' => 'or',
'days' => [
'mon' => 'Monday',
'tues' => 'Tuesday',

View File

@@ -10,6 +10,7 @@ return [
'newestpilots' => 'Nuevos pilotos',
'profile' => 'Perfil',
'email' => 'Email',
'pilot_id' => 'Pilot ID',
'register' => 'Registrarse',
'login' => 'Iniciar sesión',
'logout' => 'Cerrar sesión',
@@ -48,6 +49,7 @@ return [
'inactive' => 'Inactivo',
'yes' => 'Sí',
'no' => 'No',
'or' => 'o',
'days' => [
'mon' => 'lunes',
'tues' => 'martes',

View File

@@ -10,6 +10,7 @@ return [
'newestpilots' => 'Ultimi Piloti',
'profile' => 'Profilo',
'email' => 'Email',
'pilot_id' => 'Pilot ID',
'login' => 'Accesso',
'logout' => 'Uscita',
'register' => 'Registrazione',
@@ -48,6 +49,7 @@ return [
'inactive' => 'Inattivo',
'yes' => 'Sì',
'no' => 'No',
'or' => 'o',
'days' => [
'mon' => 'Lunedì',
'tues' => 'Martedì',

View File

@@ -21,7 +21,7 @@
{{
Form::text('email', old('email'), [
'id' => 'email',
'placeholder' => __('common.email'),
'placeholder' => __('common.email').' '.__('common.or').' '.__('common.pilot_id'),
'class' => 'form-control',
'required' => true,
])

View File

@@ -0,0 +1 @@
{{ $slot }}: {{ $url }}

View File

@@ -0,0 +1 @@
{{ $slot }}

View File

@@ -0,0 +1 @@
[{{ $slot }}]({{ $url }})

View File

@@ -0,0 +1,9 @@
{!! strip_tags($header) !!}
{!! strip_tags($slot) !!}
@isset($subcopy)
{!! strip_tags($subcopy) !!}
@endisset
{!! strip_tags($footer) !!}

View File

@@ -0,0 +1,27 @@
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ config('app.name') }}
@endcomponent
@endslot
{{-- Body --}}
{{ $slot }}
{{-- Subcopy --}}
@isset($subcopy)
@slot('subcopy')
@component('mail::subcopy')
{{ $subcopy }}
@endcomponent
@endslot
@endisset
{{-- Footer --}}
@slot('footer')
@component('mail::footer')
© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
@endcomponent
@endslot
@endcomponent

View File

@@ -0,0 +1 @@
{{ $slot }}

View File

@@ -0,0 +1 @@
{{ $slot }}

View File

@@ -0,0 +1 @@
{{ $slot }}