3
0
Fork 0

Updated to Laravel 9, small fixes, and more

This commit is contained in:
SBDeveloper 2022-11-28 21:07:07 +01:00
parent 6fc52ee512
commit 9fd844ae1a
24 changed files with 5589 additions and 2557 deletions

View file

@ -1,26 +1,31 @@
@extends('layouts.default')
@extends('layouts.form')
@section('body')
<div class="page">
<div class="form">
<form method="post" action="{{ route('login') }}" action="{{ route('2fa.authenticate') }}">
@csrf
@component('components.title')
@endcomponent
<div class="login-page">
<div class="login-text">
@component('components.title')
@endcomponent
</div>
<div class="login-body">
<div>
<form method="post" action="{{ route('login') }}" action="{{ route('2fa.authenticate') }}">
@csrf
<div class="form-group @error('two_factor') has-error @enderror">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input id="two_factor" type="text" class="form-control" name="two_factor" required autocomplete="off" autofocus>
<label class="col-xs-12">
Token:
<input id="two_factor" type="text" class="form-input" name="two_factor" placeholder="123456" required autocomplete="off" autofocus>
</label>
<div class="col-xs-12">
<button class="btn btn-custom" style="width: 100%">{{ __('Authenticate') }}</button>
<a class="btn btn-link" style="margin-top: 1rem" href="{{ route('logout') }}">{{ __('Logout') }}</a>
</div>
@error('two_factor')
<span class="help-block" style="font-size: 12px">{{ $message }}</span>
@enderror
</div>
</form>
</div>
<button class="btn btn-custom" style="width: 100%">{{ __('Authenticate') }}</button>
<a class="btn btn-link" href="{{ route('logout') }}">{{ __('Logout') }}</a>
</form>
<div class="login-footer">
<span>Copyright &copy; 2019-{{ date('Y') }} <a href="https://www.iobyte.nl/"><img src="{{ asset('assets/img/logo.png') }}" alt="IOByte"></a>. All rights reserved.</span>
</div>
</div>
</div>
@endsection