mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-27 19:06:23 +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
37 lines
1.3 KiB
PHP
37 lines
1.3 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_gen_backup_codes_title') }}</h1>
|
|
<p>{{ trans('auth.mfa_gen_backup_codes_desc') }}</p>
|
|
|
|
<div class="text-center mb-xs">
|
|
<div class="text-bigger code-base p-m" style="column-count: 2">
|
|
@foreach($codes as $code)
|
|
{{ $code }} <br>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
|
|
<p class="text-right">
|
|
<a href="{{ $downloadUrl }}" download="backup-codes.txt" class="button outline small">{{ trans('auth.mfa_gen_backup_codes_download') }}</a>
|
|
</p>
|
|
|
|
<p class="callout warning">
|
|
{{ trans('auth.mfa_gen_backup_codes_usage_warning') }}
|
|
</p>
|
|
|
|
<form action="{{ url('/mfa/backup_codes/confirm') }}" method="POST">
|
|
{{ csrf_field() }}
|
|
<div class="mt-s text-right">
|
|
<a href="{{ url('/mfa/setup') }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
<button class="button">{{ trans('auth.mfa_gen_confirm_and_enable') }}</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|