mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-12 05:23:40 +08:00
a61c9c5e98
- 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('body')
|
|
<div class="container very-small py-xl">
|
|
|
|
<div class="card content-wrap auto-height">
|
|
<h1 class="list-heading">{{ trans('auth.mfa_verify_access') }}</h1>
|
|
<p class="mb-none">{{ trans('auth.mfa_verify_access_desc') }}</p>
|
|
|
|
@if(!$method)
|
|
<hr class="my-l">
|
|
<h5>{{ trans('auth.mfa_verify_no_methods') }}</h5>
|
|
<p class="small">{{ trans('auth.mfa_verify_no_methods_desc') }}</p>
|
|
<div>
|
|
<a href="{{ url('/mfa/setup') }}" class="button outline">{{ trans('common.configure') }}</a>
|
|
</div>
|
|
@endif
|
|
|
|
@if($method)
|
|
<hr class="my-l">
|
|
@include('mfa.parts.verify-' . $method)
|
|
@endif
|
|
|
|
@if(count($otherMethods) > 0)
|
|
<hr class="my-l">
|
|
@foreach($otherMethods as $otherMethod)
|
|
<div class="text-center">
|
|
<a href="{{ url("/mfa/verify?method={$otherMethod}") }}">{{ trans('auth.mfa_verify_use_' . $otherMethod) }}</a>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
|
|
</div>
|
|
</div>
|
|
@stop
|