]> BookStack Code Mirror - bookstack/blob - resources/views/auth/login.blade.php
de99bb3f29feeb55babaa3f13020c474978f4a1f
[bookstack] / resources / views / auth / login.blade.php
1 @extends('layouts.simple')
2
3 @section('content')
4
5     <div class="container very-small">
6
7         <div class="my-l">&nbsp;</div>
8
9         <div class="card content-wrap auto-height">
10             <h1 class="list-heading">{{ Str::title(trans('auth.log_in')) }}</h1>
11
12             @include('auth.parts.login-form-' . $authMethod)
13
14             @if(count($socialDrivers) > 0)
15                 <hr class="my-l">
16                 @foreach($socialDrivers as $driver => $name)
17                     <div>
18                         <a id="social-login-{{$driver}}" class="button outline svg" href="{{ url("/login/service/" . $driver) }}">
19                             @icon('auth/' . $driver)
20                             <span>{{ trans('auth.log_in_with', ['socialDriver' => $name]) }}</span>
21                         </a>
22                     </div>
23                 @endforeach
24             @endif
25
26             @if(setting('registration-enabled') && config('auth.method') === 'standard')
27                 <div class="text-center pb-s">
28                     <hr class="my-l">
29                     <a href="{{ url('/register') }}">{{ trans('auth.dont_have_account') }}</a>
30                 </div>
31             @endif
32         </div>
33     </div>
34
35 @stop