mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
49 lines
1.7 KiB
PHP
49 lines
1.7 KiB
PHP
@extends('simple-layout')
|
|
|
|
@section('content')
|
|
|
|
<div class="container very-small">
|
|
|
|
<div class="my-l"> </div>
|
|
|
|
<div class="card content-wrap">
|
|
<h1 class="list-heading">{{ title_case(trans('auth.log_in')) }}</h1>
|
|
|
|
<form action="{{ baseUrl("/login") }}" method="POST" id="login-form" class="mt-l">
|
|
{!! csrf_field() !!}
|
|
|
|
<div class="stretch-inputs">
|
|
@include('auth/forms/login/' . $authMethod)
|
|
</div>
|
|
|
|
<div class="grid half large-gap v-center">
|
|
<div class="text-left ml-xxs">
|
|
@include('components.custom-checkbox', [
|
|
'name' => 'remember',
|
|
'checked' => false,
|
|
'value' => 'on',
|
|
'label' => trans('auth.remember_me'),
|
|
])
|
|
</div>
|
|
<div class="text-right">
|
|
<button class="button primary" tabindex="3">{{ title_case(trans('auth.log_in')) }}</button>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
@if(count($socialDrivers) > 0)
|
|
<hr class="my-l">
|
|
@foreach($socialDrivers as $driver => $name)
|
|
<div>
|
|
<a id="social-login-{{$driver}}" class="button block muted-light svg text-left" href="{{ baseUrl("/login/service/" . $driver) }}">
|
|
@icon('auth/' . $driver)
|
|
{{ trans('auth.log_in_with', ['socialDriver' => $name]) }}
|
|
</a>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
@stop |