From 091e0b2cb2141a4ec3b9992437c806a7e636c5be Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 26 Apr 2023 02:56:59 -0600 Subject: [PATCH] Update sudo mode checkpoint view design --- resources/views/auth/checkpoint.blade.php | 43 ++++++- resources/views/auth/sudo.blade.php | 131 ++++++++++++++++------ 2 files changed, 134 insertions(+), 40 deletions(-) diff --git a/resources/views/auth/checkpoint.blade.php b/resources/views/auth/checkpoint.blade.php index 373633859..480be02d6 100644 --- a/resources/views/auth/checkpoint.blade.php +++ b/resources/views/auth/checkpoint.blade.php @@ -24,13 +24,24 @@
-
+ @csrf
- + + @if ($errors->has('code')) @@ -42,7 +53,12 @@
- @@ -66,3 +82,24 @@
@endsection + +@push('scripts') + +@endpush diff --git a/resources/views/auth/sudo.blade.php b/resources/views/auth/sudo.blade.php index ccaf6cc39..34b206671 100644 --- a/resources/views/auth/sudo.blade.php +++ b/resources/views/auth/sudo.blade.php @@ -1,47 +1,104 @@ @extends('layouts.blank') +@push('styles') + + +@endpush + @section('content') -
-
-
-
- -

Confirm password to continue

-
-
-
- - @csrf +
+
+
+
+
+ + + +

Sudo Mode

+

Confirm password to continue

+
+
+
+ + @csrf -
- +
+ + - @if ($errors->has('password')) - - {{ $errors->first('password') }} - - @endif -
+ @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
-
-
- - -
-
+
+
+ + +
+
-
-
- +
+
+ -
-
- -
-
-
-
+
+
+ +
+
+ +
+

+ Logged in as: {{request()->user()->username}} +

+ +
+ @csrf + +
+
+
+
+
@endsection + +@push('scripts') + +@endpush