From b0e04c8bcbe4d23988f2e5cb851b2fb885337031 Mon Sep 17 00:00:00 2001 From: Nasir Khan Saikat Date: Mon, 20 May 2024 13:09:56 +0600 Subject: [PATCH 1/5] update index layout header --- .../views/backend/categories/index.blade.php | 31 +------------------ .../categories/index_datatable.blade.php | 31 +------------------ .../views/backend/posts/index.blade.php | 31 +------------------ .../backend/posts/index_datatable.blade.php | 31 +------------------ .../views/backend/tags/index.blade.php | 31 +------------------ .../backend/tags/index_datatable.blade.php | 31 +------------------ .../backend/section-header.blade.php | 22 ++++++++++++- 7 files changed, 27 insertions(+), 181 deletions(-) diff --git a/Modules/Category/Resources/views/backend/categories/index.blade.php b/Modules/Category/Resources/views/backend/categories/index.blade.php index 424edcf6c..b35ba2224 100644 --- a/Modules/Category/Resources/views/backend/categories/index.blade.php +++ b/Modules/Category/Resources/views/backend/categories/index.blade.php @@ -15,36 +15,7 @@
- - {{ __($module_title) }} {{ __($module_action) }} - - - @can('add_' . $module_name) - - @endcan - - @can('restore_' . $module_name) -
- - -
- @endcan -
-
+
diff --git a/Modules/Category/Resources/views/backend/categories/index_datatable.blade.php b/Modules/Category/Resources/views/backend/categories/index_datatable.blade.php index 582209f2c..5f49a6236 100644 --- a/Modules/Category/Resources/views/backend/categories/index_datatable.blade.php +++ b/Modules/Category/Resources/views/backend/categories/index_datatable.blade.php @@ -15,36 +15,7 @@
- - {{ __($module_title) }} {{ __($module_action) }} - - - @can('add_' . $module_name) - - @endcan - - @can('restore_' . $module_name) -
- - -
- @endcan -
-
+
diff --git a/Modules/Post/Resources/views/backend/posts/index.blade.php b/Modules/Post/Resources/views/backend/posts/index.blade.php index f29062e11..a88ee3011 100644 --- a/Modules/Post/Resources/views/backend/posts/index.blade.php +++ b/Modules/Post/Resources/views/backend/posts/index.blade.php @@ -15,36 +15,7 @@
- - {{ __($module_title) }} {{ __($module_action) }} - - - @can('add_' . $module_name) - - @endcan - - @can('restore_' . $module_name) -
- - -
- @endcan -
-
+
diff --git a/Modules/Post/Resources/views/backend/posts/index_datatable.blade.php b/Modules/Post/Resources/views/backend/posts/index_datatable.blade.php index c0ceff7de..5bca3ea61 100644 --- a/Modules/Post/Resources/views/backend/posts/index_datatable.blade.php +++ b/Modules/Post/Resources/views/backend/posts/index_datatable.blade.php @@ -15,36 +15,7 @@
- - {{ __($module_title) }} {{ __($module_action) }} - - - @can('add_' . $module_name) - - @endcan - - @can('restore_' . $module_name) -
- - -
- @endcan -
-
+
diff --git a/Modules/Tag/Resources/views/backend/tags/index.blade.php b/Modules/Tag/Resources/views/backend/tags/index.blade.php index afbef71eb..228fa6f27 100644 --- a/Modules/Tag/Resources/views/backend/tags/index.blade.php +++ b/Modules/Tag/Resources/views/backend/tags/index.blade.php @@ -15,36 +15,7 @@
- - {{ __($module_title) }} {{ __($module_action) }} - - - @can('add_' . $module_name) - - @endcan - - @can('restore_' . $module_name) -
- - -
- @endcan -
-
+
diff --git a/Modules/Tag/Resources/views/backend/tags/index_datatable.blade.php b/Modules/Tag/Resources/views/backend/tags/index_datatable.blade.php index a78b9c247..61c1b1d67 100644 --- a/Modules/Tag/Resources/views/backend/tags/index_datatable.blade.php +++ b/Modules/Tag/Resources/views/backend/tags/index_datatable.blade.php @@ -15,36 +15,7 @@
- - {{ __($module_title) }} {{ __($module_action) }} - - - @can('add_' . $module_name) - - @endcan - - @can('restore_' . $module_name) -
- - -
- @endcan -
-
+
diff --git a/resources/views/components/backend/section-header.blade.php b/resources/views/components/backend/section-header.blade.php index a95405c88..709b47ba0 100644 --- a/resources/views/components/backend/section-header.blade.php +++ b/resources/views/components/backend/section-header.blade.php @@ -24,7 +24,27 @@
@else