mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-25 11:45:58 +00:00
![Dan Brown](/assets/img/avatar_default.png)
- Primarily moved and re-organised view files. - Included readme within views to document the convention. - Fixed some issues with page field select list in previous commit. - Tweaked some route names while going through. - Split some views out further. Closes #2805
36 lines
1.2 KiB
PHP
36 lines
1.2 KiB
PHP
@extends('layouts.simple')
|
|
|
|
@section('content')
|
|
|
|
<div class="container very-small">
|
|
|
|
<div class="my-l"> </div>
|
|
|
|
<div class="card content-wrap auto-height">
|
|
<h1 class="list-heading">{{ Str::title(trans('auth.log_in')) }}</h1>
|
|
|
|
@include('auth.parts.login-form-' . $authMethod)
|
|
|
|
@if(count($socialDrivers) > 0)
|
|
<hr class="my-l">
|
|
@foreach($socialDrivers as $driver => $name)
|
|
<div>
|
|
<a id="social-login-{{$driver}}" class="button outline svg" href="{{ url("/login/service/" . $driver) }}">
|
|
@icon('auth/' . $driver)
|
|
<span>{{ trans('auth.log_in_with', ['socialDriver' => $name]) }}</span>
|
|
</a>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
|
|
@if(setting('registration-enabled') && config('auth.method') === 'standard')
|
|
<div class="text-center pb-s">
|
|
<hr class="my-l">
|
|
<a href="{{ url('/register') }}">{{ trans('auth.dont_have_account') }}</a>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|