diff --git a/resources/views/settings/password.blade.php b/resources/views/settings/password.blade.php index 6070a92c6..52782f102 100644 --- a/resources/views/settings/password.blade.php +++ b/resources/views/settings/password.blade.php @@ -1,38 +1,66 @@ -@extends('settings.template') +@extends('layouts.app') -@section('section') - -
-

Update Password

-
-
-
- @csrf -
- -
- -
+@section('content') +@if (session('status')) +
+ {{ session('status') }}
-
-
- -
- -
+@endif +@if ($errors->any()) +
+ @foreach($errors->all() as $error) +

{{ $error }} + @endforeach

-
- -
- -
+@endif +@if (session('error')) +
+ {{ session('error') }}
-
-
-
- +@endif + +
+
+
+
+
+
+
+

Update Password

+
+
+ + @csrf +
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+ +
+
- +
+
-@endsection \ No newline at end of file +@endsection diff --git a/resources/views/settings/security/2fa/edit.blade.php b/resources/views/settings/security/2fa/edit.blade.php index 8b895da07..803e43b2a 100644 --- a/resources/views/settings/security/2fa/edit.blade.php +++ b/resources/views/settings/security/2fa/edit.blade.php @@ -1,33 +1,42 @@ -@extends('settings.template') +@extends('layouts.app') -@section('section') +@section('content') +
+
+
+
+
+
+
+

Edit Two-Factor Authentication

+
-
-

Edit Two-Factor Authentication

-
- -
+
-

- To register a new device, you have to remove any active devices. -

+

+ To register a new device, you have to remove any active devices. +

-
-
- Authenticator App -
-
- -

- Added {{$user->{'2fa_setup_at'}->diffForHumans()}} -

-
- +
+
+ Authenticator App +
+
+ +

+ Added {{$user->{'2fa_setup_at'}->diffForHumans()}} +

+
+ +
+
+
+
- +
@endsection @push('scripts') @@ -79,4 +88,4 @@ $(document).ready(function() { }); -@endpush \ No newline at end of file +@endpush diff --git a/resources/views/settings/security/2fa/recovery-codes.blade.php b/resources/views/settings/security/2fa/recovery-codes.blade.php index 9b6c61e4a..9add9cade 100644 --- a/resources/views/settings/security/2fa/recovery-codes.blade.php +++ b/resources/views/settings/security/2fa/recovery-codes.blade.php @@ -1,32 +1,42 @@ -@extends('settings.template') +@extends('layouts.app') -@section('section') +@section('content') +
+
+
+
+
+
+
+

Two-Factor Authentication Recovery Codes

+
-
-

Two-Factor Authentication Recovery Codes

-
- -
- @if(count($codes) > 0) -

- Each code can only be used once. -

-
    - @foreach($codes as $code) -
  • {{$code}}
  • - @endforeach -
- @else -
-

You are out of recovery codes

-

Generate more recovery codes and store them in a safe place.

-

-

- @csrf - -
-

+
+ @if(count($codes) > 0) +

+ Each code can only be used once. +

+
    + @foreach($codes as $code) +
  • {{$code}}
  • + @endforeach +
+ @else +
+

You are out of recovery codes

+

Generate more recovery codes and store them in a safe place.

+

+

+ @csrf + +
+

+
+ @endif +
+
+
- @endif - -@endsection \ No newline at end of file +
+
+@endsection diff --git a/resources/views/settings/security/2fa/setup.blade.php b/resources/views/settings/security/2fa/setup.blade.php index d8b3290b2..39e83a9c6 100644 --- a/resources/views/settings/security/2fa/setup.blade.php +++ b/resources/views/settings/security/2fa/setup.blade.php @@ -1,85 +1,97 @@ -@extends('settings.template') +@extends('layouts.app') -@section('section') +@section('content') +
+
+
+
+
+
+
+

Setup Two-Factor Authentication

+
+
+
+ We only support Two-Factor Authentication via TOTP mobile apps. +
+
+
+ Step 1: Install compatible 2FA mobile app +
+
+
+

You will need to install a compatible mobile app, we recommend the following apps:

+ +
+
-
-

Setup Two-Factor Authentication

-
-
-
- We only support Two-Factor Authentication via TOTP mobile apps. -
-
-
- Step 1: Install compatible 2FA mobile app -
-
-
-

You will need to install a compatible mobile app, we recommend the following apps:

- -
-
+
+ +
+
+

Please scan the QR code and then enter the 6 digit code in the form below. Keep in mind the code changes every 30 seconds, and is only good for 1 minute.

+
+
+
+

QR Code

+ +
+
+

OTP Secret

+ +
+
+
+
+
+ + +
+ +
+
+
+
+
-
- -
-
-

Please scan the QR code and then enter the 6 digit code in the form below. Keep in mind the code changes every 30 seconds, and is only good for 1 minute.

-
-
-
-

QR Code

- -
-
-

OTP Secret

- -
-
-
-
-
- - -
- -
-
-
-
-
+
+
+ Step 3: Download Backup Codes +
+
+
+

Please store the following codes in a safe place, each backup code can be used only once if you do not have access to your 2FA mobile app.

-
-
- Step 3: Download Backup Codes -
-
-
-

Please store the following codes in a safe place, each backup code can be used only once if you do not have access to your 2FA mobile app.

+ + @foreach($backups as $code) +

{{$code}}

+ @endforeach +
+
+
- - @foreach($backups as $code) -

{{$code}}

- @endforeach -
-
-
+
+
+
+
+
+
@endsection @push('scripts') @@ -138,4 +150,4 @@ $(document).ready(function() { }); }); -@endpush \ No newline at end of file +@endpush