From fe95942c8cd9657b6abdd2603588405f59263da0 Mon Sep 17 00:00:00 2001 From: Ibrahim Khalil Date: Wed, 22 Nov 2023 13:40:04 +0600 Subject: [PATCH] u 22nov2023 --- .../views/backend/adminDashboard.blade.php | 25 +------------------ resources/views/backend/layouts/app.blade.php | 23 ++++++++++++++++- .../views/backend/layouts/appAuth.blade.php | 10 +++++++- resources/views/backend/user/create.blade.php | 25 ------------------- resources/views/backend/user/edit.blade.php | 22 +--------------- resources/views/backend/user/index.blade.php | 23 ----------------- .../views/backend/user/profile.blade.php | 10 +++----- .../views/courseCategory/create.blade.php | 19 -------------- resources/views/courseCategory/edit.blade.php | 19 -------------- .../views/courseCategory/index.blade.php | 18 ------------- 10 files changed, 37 insertions(+), 157 deletions(-) diff --git a/resources/views/backend/adminDashboard.blade.php b/resources/views/backend/adminDashboard.blade.php index c6dc8fe..399c38a 100644 --- a/resources/views/backend/adminDashboard.blade.php +++ b/resources/views/backend/adminDashboard.blade.php @@ -2,19 +2,13 @@ @section('title', 'Admin Dashboard') @push('styles') - - - - @endpush @section('content') - +
@@ -538,22 +532,10 @@ class="la la-trash-o">
- @endsection @push('scripts') - - - - - - - @@ -565,9 +547,4 @@ class="la la-trash-o"> - - - - - @endpush \ No newline at end of file diff --git a/resources/views/backend/layouts/app.blade.php b/resources/views/backend/layouts/app.blade.php index a26b164..011a49c 100644 --- a/resources/views/backend/layouts/app.blade.php +++ b/resources/views/backend/layouts/app.blade.php @@ -7,8 +7,13 @@ {{ENV('APP_NAME')}} | @yield('title') + + + + + - @stack('styles') + @stack('styles') @@ -440,8 +445,15 @@ class="feather feather-log-out"> Sidebar end ***********************************--> + + @yield('content') + + + + + + + + + + @stack('scripts') {{-- TOASTER --}} diff --git a/resources/views/backend/layouts/appAuth.blade.php b/resources/views/backend/layouts/appAuth.blade.php index 6f5ff95..1d7cff2 100644 --- a/resources/views/backend/layouts/appAuth.blade.php +++ b/resources/views/backend/layouts/appAuth.blade.php @@ -13,9 +13,17 @@ - + + + @yield('content') + + diff --git a/resources/views/backend/user/create.blade.php b/resources/views/backend/user/create.blade.php index 65b6e9a..7cc2b7c 100644 --- a/resources/views/backend/user/create.blade.php +++ b/resources/views/backend/user/create.blade.php @@ -2,11 +2,6 @@ @section('title', 'Add User') @push('styles') - - - - - @@ -14,9 +9,6 @@ @section('content') -
@@ -155,27 +147,10 @@
- @endsection @push('scripts') - - - - - - - - - - - - diff --git a/resources/views/backend/user/edit.blade.php b/resources/views/backend/user/edit.blade.php index 233dc3c..5683148 100644 --- a/resources/views/backend/user/edit.blade.php +++ b/resources/views/backend/user/edit.blade.php @@ -16,9 +16,6 @@ @section('content') -
@@ -162,27 +159,10 @@
- @endsection @push('scripts') - - - - - - - - - - - - @@ -190,4 +170,4 @@ -@endpush \ No newline at end of file +@endpush \ No newline at end of file diff --git a/resources/views/backend/user/index.blade.php b/resources/views/backend/user/index.blade.php index 7ffd700..dfa11a0 100644 --- a/resources/views/backend/user/index.blade.php +++ b/resources/views/backend/user/index.blade.php @@ -2,19 +2,12 @@ @section('title', 'User List') @push('styles') - - - - @endpush @section('content') -
@@ -169,28 +162,12 @@ class="la la-trash-o">
- @endsection @push('scripts') - - - - - - - - - - - @endpush \ No newline at end of file diff --git a/resources/views/backend/user/profile.blade.php b/resources/views/backend/user/profile.blade.php index 5fa946a..11b29b8 100644 --- a/resources/views/backend/user/profile.blade.php +++ b/resources/views/backend/user/profile.blade.php @@ -4,9 +4,6 @@ @section('content') -
@@ -406,8 +403,9 @@ class="form-control">
- @endsection + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/views/courseCategory/create.blade.php b/resources/views/courseCategory/create.blade.php index 4062e5b..ba5825a 100644 --- a/resources/views/courseCategory/create.blade.php +++ b/resources/views/courseCategory/create.blade.php @@ -2,11 +2,6 @@ @section('title', 'Add Category') @push('styles') - - - - - @@ -94,20 +89,6 @@ @endsection @push('scripts') - - - - - - - - - - - - diff --git a/resources/views/courseCategory/edit.blade.php b/resources/views/courseCategory/edit.blade.php index bfb4ab7..c68c26e 100644 --- a/resources/views/courseCategory/edit.blade.php +++ b/resources/views/courseCategory/edit.blade.php @@ -2,11 +2,6 @@ @section('title', 'Edit Category') @push('styles') - - - - - @@ -97,20 +92,6 @@ @endsection @push('scripts') - - - - - - - - - - - - diff --git a/resources/views/courseCategory/index.blade.php b/resources/views/courseCategory/index.blade.php index 1886295..cc88e6a 100644 --- a/resources/views/courseCategory/index.blade.php +++ b/resources/views/courseCategory/index.blade.php @@ -2,12 +2,8 @@ @section('title', 'Category List') @push('styles') - - - - @endpush @section('content') @@ -170,21 +166,7 @@ class="la la-trash-o"> @endsection @push('scripts') - - - - - - - - - - - - @endpush \ No newline at end of file