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 424edcf6..b35ba222 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 582209f2..5f49a623 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 f29062e1..a88ee301 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 c0ceff7d..5bca3ea6 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 afbef71e..228fa6f2 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 a78b9c24..61c1b1d6 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 a95405c8..709b47ba 100644 --- a/resources/views/components/backend/section-header.blade.php +++ b/resources/views/components/backend/section-header.blade.php @@ -24,7 +24,27 @@
@else