X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/b68f2803fc7ec87b8f12a2a888028a4908bcdb49..refs/pull/270/head:/resources/views/auth/login.blade.php diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index dbf6db87b..928565156 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,41 +1,45 @@ @extends('public') -@section('body-class', 'image-cover login') +@section('header-buttons') + @if(setting('registration-enabled', false)) + {{ trans('auth.sign_up') }} + @endif +@stop -@section('sidebar') - - - {{--
--}} - {{--
--}} - {{--
--}} - {{--
--}} - {{--Add new book--}} - {{--
--}} - {{--
--}} - {{--
--}} +@section('content')
-
-

Login

+
+

{{ title_case(trans('auth.log_in')) }}

-
+ {!! csrf_field() !!} -
- - @include('form/text', ['name' => 'email']) -
+ + @include('auth/forms/login/' . $authMethod)
- - @include('form/password', ['name' => 'password']) - Forgot Password? + + +
+
- +
+ + @if(count($socialDrivers) > 0) +
+

{{ trans('auth.social_login') }}

+ @if(isset($socialDrivers['google'])) + + @endif + @if(isset($socialDrivers['github'])) + + @endif + @endif