From 25822351efc73de9d052b4bd0054ed8ebc167e7a Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 20 Oct 2022 14:56:43 +1100 Subject: [PATCH] Added new index layout Added new index layout for the index pages of the CRUD as it includes vue.js for the confirm delete modal --- resources/views/layouts/index.blade.php | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 resources/views/layouts/index.blade.php diff --git a/resources/views/layouts/index.blade.php b/resources/views/layouts/index.blade.php new file mode 100644 index 0000000..6f73821 --- /dev/null +++ b/resources/views/layouts/index.blade.php @@ -0,0 +1,39 @@ + + + + + + + @if(isset(Auth::user()->api_token)) + + @endif + + @yield('title') - @if (config()->has('app.name')){{ config('app.name') }} @else My idlers @endif + + @if(Session::get('dark_mode')) + + @else + + @endif + + + + @yield('css_style') + + + +
+ @include('layouts.navigation') +
+
+

+ @yield('header') +

+
+
+ @yield('content') +
+ +@yield('scripts') + +