bookstack/resources/views/auth/login.blade.php

36 lines
1.2 KiB
PHP
Raw Normal View History

@extends('simple-layout')
2015-09-06 00:42:05 +08:00
2015-09-05 00:16:58 +08:00
@section('content')
2015-08-06 03:59:39 +08:00
<div class="container very-small">
<div class="my-l">&nbsp;</div>
<div class="card content-wrap auto-height">
2019-09-14 21:12:39 +08:00
<h1 class="list-heading">{{ Str::title(trans('auth.log_in')) }}</h1>
2020-02-02 18:59:03 +08:00
@include('auth.forms.login.' . $authMethod)
@if(count($socialDrivers) > 0)
<hr class="my-l">
@foreach($socialDrivers as $driver => $name)
<div>
<a id="social-login-{{$driver}}" class="button outline block svg" href="{{ url("/login/service/" . $driver) }}">
2018-02-17 21:30:52 +08:00
@icon('auth/' . $driver)
<span>{{ trans('auth.log_in_with', ['socialDriver' => $name]) }}</span>
</a>
</div>
@endforeach
@endif
2020-02-02 18:59:03 +08:00
@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
2015-09-06 00:42:05 +08:00
</div>
2015-08-06 03:59:39 +08:00
</div>
2019-08-06 02:06:39 +08:00
@stop