From: Vincent Vanwaelscappel Date: Mon, 1 May 2023 09:34:02 +0000 (+0200) Subject: wip #5851 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e7838666e16e86ef7d7d75467992cfc825697987;p=fluidbook-toolbox.git wip #5851 @0.5 --- diff --git a/.env.dev b/.env.dev index 3fe996659..36f6aa771 100644 --- a/.env.dev +++ b/.env.dev @@ -5,6 +5,7 @@ APP_DEBUG=true DEBUGBAR_ENABLED=false APP_URL=https://dev.toolbox.fluidbook.com +HEADER_COLOR="#8C0025" LOG_CHANNEL=stack APP_LOG=daily diff --git a/.env.prod b/.env.prod index 10f269c9c..0d9e336ce 100644 --- a/.env.prod +++ b/.env.prod @@ -5,6 +5,7 @@ APP_DEBUG=true DEBUGBAR_ENABLED=false APP_URL=https://toolbox.fluidbook.com +HEADER_COLOR="#263340" LOG_CHANNEL=stack APP_LOG=daily diff --git a/resources/views/vendor/backpack/base/inc/head.blade.php b/resources/views/vendor/backpack/base/inc/head.blade.php new file mode 100644 index 000000000..b9e975c5e --- /dev/null +++ b/resources/views/vendor/backpack/base/inc/head.blade.php @@ -0,0 +1,33 @@ + + + + @if (config('backpack.base.meta_robots_content')) @endif + + {{-- Encrypted CSRF token for Laravel, in order for Ajax requests to work --}} + {{ isset($title) ? $title.' :: '.config('backpack.base.project_name') : config('backpack.base.project_name') }} + + + @yield('before_styles') + @stack('before_styles') + + @foreach(config('backpack.base.styles', []) as $path) + + @endforeach + + @foreach(config('backpack.base.mix_styles', []) as $path => $manifest) + + @endforeach + + @if(!empty(config('backpack.base.vite_styles', []))) + @vite(config('backpack.base.vite_styles', [])) + @endif + + @yield('after_styles') + @stack('after_styles') + + {{-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --}} + {{-- WARNING: Respond.js doesn't work if you view the page via file:// --}} + diff --git a/resources/views/vendor/backpack/base/layouts/plain.blade.php b/resources/views/vendor/backpack/base/layouts/plain.blade.php new file mode 100644 index 000000000..f05906df5 --- /dev/null +++ b/resources/views/vendor/backpack/base/layouts/plain.blade.php @@ -0,0 +1,27 @@ + + + + @include(backpack_view('inc.head')) + + + + @yield('header') + +
+ @yield('content') +
+ + + + @yield('before_scripts') + @stack('before_scripts') + + @include(backpack_view('inc.scripts')) + + @yield('after_scripts') + @stack('after_scripts') + + + diff --git a/resources/views/vendor/backpack/base/layouts/top_left.blade.php b/resources/views/vendor/backpack/base/layouts/top_left.blade.php index da40adad3..9675163bc 100644 --- a/resources/views/vendor/backpack/base/layouts/top_left.blade.php +++ b/resources/views/vendor/backpack/base/layouts/top_left.blade.php @@ -37,7 +37,7 @@ - + {{-- ./app-body --}}