diff --git a/app/Admin/bootstrap.php b/app/Admin/bootstrap.php index 40cf396..4f4db16 100644 --- a/app/Admin/bootstrap.php +++ b/app/Admin/bootstrap.php @@ -24,3 +24,4 @@ use Dcat\Admin\Show; * Admin::js('/packages/prettydocs/js/main.js'); * */ +app('view')->prependNamespace('admin', resource_path('views/admin')); diff --git a/app/AdminAgent/bootstrap.php b/app/AdminAgent/bootstrap.php index 40cf396..4f4db16 100644 --- a/app/AdminAgent/bootstrap.php +++ b/app/AdminAgent/bootstrap.php @@ -24,3 +24,4 @@ use Dcat\Admin\Show; * Admin::js('/packages/prettydocs/js/main.js'); * */ +app('view')->prependNamespace('admin', resource_path('views/admin')); diff --git a/app/AdminGuide/bootstrap.php b/app/AdminGuide/bootstrap.php index 40cf396..4f4db16 100644 --- a/app/AdminGuide/bootstrap.php +++ b/app/AdminGuide/bootstrap.php @@ -24,3 +24,4 @@ use Dcat\Admin\Show; * Admin::js('/packages/prettydocs/js/main.js'); * */ +app('view')->prependNamespace('admin', resource_path('views/admin')); diff --git a/app/AdminSettled/bootstrap.php b/app/AdminSettled/bootstrap.php index 40cf396..4f4db16 100644 --- a/app/AdminSettled/bootstrap.php +++ b/app/AdminSettled/bootstrap.php @@ -24,3 +24,4 @@ use Dcat\Admin\Show; * Admin::js('/packages/prettydocs/js/main.js'); * */ +app('view')->prependNamespace('admin', resource_path('views/admin')); diff --git a/app/AdminSupplier/bootstrap.php b/app/AdminSupplier/bootstrap.php index 40cf396..4f4db16 100644 --- a/app/AdminSupplier/bootstrap.php +++ b/app/AdminSupplier/bootstrap.php @@ -24,3 +24,4 @@ use Dcat\Admin\Show; * Admin::js('/packages/prettydocs/js/main.js'); * */ +app('view')->prependNamespace('admin', resource_path('views/admin')); diff --git a/resources/views/admin/layouts/container.blade.php b/resources/views/admin/layouts/container.blade.php new file mode 100644 index 0000000..5b88f95 --- /dev/null +++ b/resources/views/admin/layouts/container.blade.php @@ -0,0 +1,39 @@ +
+ + + +{!! admin_section(Dcat\Admin\Admin::SECTION['BODY_INNER_BEFORE']) !!} + +