From 035d2fd93a523c4cd539898dd55b88c536e638d6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 31 Jan 2019 13:11:58 -0700 Subject: [PATCH] Update admin partials --- .../views/admin/partial/sidebar.blade.php | 36 +--------- .../admin/partial/template-full.blade.php | 26 ++++++++ .../views/admin/partial/template.blade.php | 4 +- .../views/admin/partial/topnav.blade.php | 65 +++++++++++++++++++ 4 files changed, 95 insertions(+), 36 deletions(-) create mode 100644 resources/views/admin/partial/template-full.blade.php create mode 100644 resources/views/admin/partial/topnav.blade.php diff --git a/resources/views/admin/partial/sidebar.blade.php b/resources/views/admin/partial/sidebar.blade.php index 7ccbd8ddf..e33075f23 100644 --- a/resources/views/admin/partial/sidebar.blade.php +++ b/resources/views/admin/partial/sidebar.blade.php @@ -1,37 +1,3 @@
- + @yield('menu')
\ No newline at end of file diff --git a/resources/views/admin/partial/template-full.blade.php b/resources/views/admin/partial/template-full.blade.php new file mode 100644 index 000000000..193f1a42d --- /dev/null +++ b/resources/views/admin/partial/template-full.blade.php @@ -0,0 +1,26 @@ +@extends('layouts.app') + +@section('content') + +@include('admin.partial.topnav') + +
+
+
+
+
+
+ @if (session('status')) +
+ {{ session('status')}} +
+ @endif + @yield('section') +
+
+
+
+
+
+ +@endsection \ No newline at end of file diff --git a/resources/views/admin/partial/template.blade.php b/resources/views/admin/partial/template.blade.php index 3f93d88e8..4f8b0b959 100644 --- a/resources/views/admin/partial/template.blade.php +++ b/resources/views/admin/partial/template.blade.php @@ -1,7 +1,9 @@ @extends('layouts.app') @section('content') -@yield('header') + +@include('admin.partial.topnav') +
diff --git a/resources/views/admin/partial/topnav.blade.php b/resources/views/admin/partial/topnav.blade.php new file mode 100644 index 000000000..29a76e283 --- /dev/null +++ b/resources/views/admin/partial/topnav.blade.php @@ -0,0 +1,65 @@ + + +@push('styles') + +@endpush \ No newline at end of file