]> BookStack Code Mirror - bookstack/blob - resources/views/mfa/verify.blade.php
respective book and chapter structure added.
[bookstack] / resources / views / mfa / verify.blade.php
1 @extends('layouts.simple')
2
3 @section('body')
4     <div class="container very-small py-xl">
5
6         <div class="card content-wrap auto-height">
7             <h1 class="list-heading">{{ trans('auth.mfa_verify_access') }}</h1>
8             <p class="mb-none">{{ trans('auth.mfa_verify_access_desc') }}</p>
9
10             @if(!$method)
11                 <hr class="my-l">
12                 <h5>{{ trans('auth.mfa_verify_no_methods') }}</h5>
13                 <p class="small">{{ trans('auth.mfa_verify_no_methods_desc') }}</p>
14                 <div>
15                     <a href="{{ url('/mfa/setup') }}" class="button outline">{{ trans('common.configure') }}</a>
16                 </div>
17             @endif
18
19             @if($method)
20                 <hr class="my-l">
21                 @include('mfa.parts.verify-' . $method)
22             @endif
23
24             @if(count($otherMethods) > 0)
25                 <hr class="my-l">
26                 @foreach($otherMethods as $otherMethod)
27                     <div class="text-center">
28                         <a href="{{ url("/mfa/verify?method={$otherMethod}") }}">{{ trans('auth.mfa_verify_use_' . $otherMethod) }}</a>
29                     </div>
30                 @endforeach
31             @endif
32
33         </div>
34     </div>
35 @stop