From ab010e3f1d8ae0b47ff34f716bec37ed83ed5569 Mon Sep 17 00:00:00 2001 From: JordanViknar <74505993+JordanViknar@users.noreply.github.com> Date: Tue, 16 Apr 2024 17:25:25 +0200 Subject: [PATCH] fix: Fixes for various admin pages --- resources/views/admin.blade.php | 2 +- resources/views/admin_contacts.blade.php | 172 +++++++++++------------ resources/views/admin_products.blade.php | 10 +- 3 files changed, 95 insertions(+), 89 deletions(-) diff --git a/resources/views/admin.blade.php b/resources/views/admin.blade.php index c63b80b..d612a61 100644 --- a/resources/views/admin.blade.php +++ b/resources/views/admin.blade.php @@ -8,7 +8,7 @@ Gestionnaire Produits & Catégories - + Gestionnaire Contacts diff --git a/resources/views/admin_contacts.blade.php b/resources/views/admin_contacts.blade.php index 10bf424..6df97f1 100644 --- a/resources/views/admin_contacts.blade.php +++ b/resources/views/admin_contacts.blade.php @@ -1,99 +1,99 @@

Gestionnaire formulaires de contact

@foreach($errors->all() as $error) -
- Croix blanche -

{{$error}}

-
+
+ Croix blanche +

{{$error}}

+
@endforeach -
-
-
- Search icon - -
-
-
- - - - - - - +
+
+
+ Search icon + +
+
+
+
IdSubject
+ + + + + + - - @foreach(\App\Models\ContactForm::all() as $contact) - - - - - @endforeach - -
IdSubject
{{ $contact->id }}{{ $contact->subject }}
-
-
+ + @foreach(\App\Models\ContactForm::all() as $contact) + + {{ $contact->id }} + {{ $contact->subject }} + + @endforeach + + +
+ -
-
-

Veuillez sélectionner un utilisateur

-
- +
diff --git a/resources/views/admin_products.blade.php b/resources/views/admin_products.blade.php index 2b466bd..5c38d4a 100644 --- a/resources/views/admin_products.blade.php +++ b/resources/views/admin_products.blade.php @@ -1,4 +1,10 @@

Gestionnaire produits

+@foreach($errors->all() as $error) +
+ Croix blanche +

{{$error}}

+
+@endforeach
@foreach(\App\Models\Category::all()->sortBy('name') as $category) @@ -63,8 +69,8 @@
- - + +