]> BookStack Code Mirror - bookstack/blob - resources/views/auth/login.blade.php
Merge pull request #5668 from bumperbox/patch-1
[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-message')
13
14             @include('auth.parts.login-form-' . $authMethod)
15
16             @if(count($socialDrivers) > 0)
17                 <hr class="my-l">
18                 @foreach($socialDrivers as $driver => $name)
19                     <div>
20                         <a id="social-login-{{$driver}}" class="button outline svg" href="{{ url("/login/service/" . $driver) }}">
21                             @icon('auth/' . $driver)
22                             <span>{{ trans('auth.log_in_with', ['socialDriver' => $name]) }}</span>
23                         </a>
24                     </div>
25                 @endforeach
26             @endif
27
28             @if(setting('registration-enabled') && config('auth.method') === 'standard')
29                 <div class="text-center pb-s">
30                     <hr class="my-l">
31                     <a href="{{ url('/register') }}">{{ trans('auth.dont_have_account') }}</a>
32                 </div>
33             @endif
34         </div>
35     </div>
36
37 @stop
Morty Proxy This is a proxified and sanitized view of the page, visit original site.