| 
									
										
										
										
											2021-08-22 20:15:58 +08:00
										 |  |  | @extends('layouts.simple') | 
					
						
							| 
									
										
										
										
											2021-07-03 03:53:33 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | @section('body') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <div class="container very-small py-xl"> | 
					
						
							|  |  |  |         <div class="card content-wrap auto-height"> | 
					
						
							| 
									
										
										
										
											2021-08-08 21:24:44 +08:00
										 |  |  |             <h1 class="list-heading">{{ trans('auth.mfa_gen_backup_codes_title') }}</h1> | 
					
						
							|  |  |  |             <p>{{ trans('auth.mfa_gen_backup_codes_desc') }}</p> | 
					
						
							| 
									
										
										
										
											2021-07-03 03:53:33 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |             <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"> | 
					
						
							| 
									
										
										
										
											2021-08-08 21:24:44 +08:00
										 |  |  |                 <a href="{{ $downloadUrl }}" download="backup-codes.txt" class="button outline small">{{ trans('auth.mfa_gen_backup_codes_download') }}</a> | 
					
						
							| 
									
										
										
										
											2021-07-03 03:53:33 +08:00
										 |  |  |             </p> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             <p class="callout warning"> | 
					
						
							| 
									
										
										
										
											2021-08-08 21:24:44 +08:00
										 |  |  |                 {{ trans('auth.mfa_gen_backup_codes_usage_warning') }} | 
					
						
							| 
									
										
										
										
											2021-07-03 03:53:33 +08:00
										 |  |  |             </p> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-03 05:02:25 +08:00
										 |  |  |             <form action="{{ url('/mfa/backup_codes/confirm') }}" method="POST"> | 
					
						
							| 
									
										
										
										
											2021-07-03 03:53:33 +08:00
										 |  |  |                 {{ csrf_field() }} | 
					
						
							|  |  |  |                 <div class="mt-s text-right"> | 
					
						
							|  |  |  |                     <a href="{{ url('/mfa/setup') }}" class="button outline">{{ trans('common.cancel') }}</a> | 
					
						
							| 
									
										
										
										
											2021-08-08 21:24:44 +08:00
										 |  |  |                     <button class="button">{{ trans('auth.mfa_gen_confirm_and_enable') }}</button> | 
					
						
							| 
									
										
										
										
											2021-07-03 03:53:33 +08:00
										 |  |  |                 </div> | 
					
						
							|  |  |  |             </form> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @stop |