diff --git a/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php b/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php index 8e66319..e609e26 100644 --- a/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php +++ b/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php @@ -1,7 +1,7 @@ - {{ config('app.name') }} - @yield('htmlheader_title', 'Your title here') + {{ config('app.name') }} - @yield('htmlheader_title','Your title here') @@ -46,4 +46,4 @@ @endif - \ No newline at end of file + diff --git a/resources/themes/architect/views/layouts/app.blade.php b/resources/themes/architect/views/layouts/app.blade.php new file mode 100644 index 0000000..2d83dd6 --- /dev/null +++ b/resources/themes/architect/views/layouts/app.blade.php @@ -0,0 +1,45 @@ + + + @section('htmlheader') + @include('architect::layouts.partials.htmlheader') + @show + + +
+ @include('architect::layouts.partials.topmenu') + + {{-- + @include('architect::layouts.partials.controlsidebar') + --}} + +
+ @include('architect::layouts.partials.sidebarmenu') + +
+
+ @include('architect::layouts.partials.contentheader') + + +
+
+ + @yield('main-content') +
+
+
+ + @include('architect::layouts.partials.contentfooter') +
+
+
+ + @section('scripts') + @include('architect::layouts.partials.scripts') + + {{-- Scripts --}} + {!! Asset::scripts() !!} + + @yield('page-scripts') + @show + + diff --git a/resources/themes/architect/views/layouts/partials/contentfooter.blade.php b/resources/themes/architect/views/layouts/partials/contentfooter.blade.php new file mode 100644 index 0000000..e7799c4 --- /dev/null +++ b/resources/themes/architect/views/layouts/partials/contentfooter.blade.php @@ -0,0 +1,29 @@ + \ No newline at end of file diff --git a/resources/themes/architect/views/layouts/partials/contentheader.blade.php b/resources/themes/architect/views/layouts/partials/contentheader.blade.php new file mode 100644 index 0000000..de4d992 --- /dev/null +++ b/resources/themes/architect/views/layouts/partials/contentheader.blade.php @@ -0,0 +1,44 @@ +
+
+
+
+ +
+
+ @yield('page_title','Page Title') +
+ @yield('page_subtitle','Page Sub Title') +
+
+
+
+ {{-- + + --}} + +
+
+
diff --git a/resources/themes/architect/views/layouts/partials/controlsidebar.blade.php b/resources/themes/architect/views/layouts/partials/controlsidebar.blade.php new file mode 100644 index 0000000..643aabb --- /dev/null +++ b/resources/themes/architect/views/layouts/partials/controlsidebar.blade.php @@ -0,0 +1,195 @@ +
+ +
+
+
+

Layout Options

+
+
    +
  • +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    Fixed Header
    +
    Makes the header top fixed, always visible!
    +
    +
    +
    +
  • +
  • +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    Fixed Sidebar
    +
    Makes the sidebar left fixed, always visible!
    +
    +
    +
    +
  • +
  • +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    Fixed Footer
    +
    Makes the app footer bottom fixed, always visible!
    +
    +
    +
    +
  • +
+
+

+
Header Options
+ +

+
+
    +
  • +
    Choose Color Scheme
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
  • +
+
+

+
Sidebar Options
+ +

+
+
    +
  • +
    Choose Color Scheme +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
  • +
+
+

+
Main Content Options
+ +

+
+
    +
  • +
    Page Section Tabs +
    +
    +
    + + +
    +
    +
  • +
+
+
+
+
+
diff --git a/resources/themes/architect/views/layouts/partials/htmlheader.blade.php b/resources/themes/architect/views/layouts/partials/htmlheader.blade.php new file mode 100644 index 0000000..8cbd4d2 --- /dev/null +++ b/resources/themes/architect/views/layouts/partials/htmlheader.blade.php @@ -0,0 +1,53 @@ + + + + + + + {{ config('app.name') }} - @yield('htmlheader_title','Your title here') + + + + + + + + + {{-- + + + --}} + + + + + @if(file_exists('css/print.css')) + + + @endif + + + {!! Asset::styles() !!} + + + + + @if(file_exists('css/fixes.css')) + + + @endif + + @if(file_exists('css/custom.css')) + + + @endif + diff --git a/resources/themes/architect/views/layouts/partials/scripts.blade.php b/resources/themes/architect/views/layouts/partials/scripts.blade.php new file mode 100644 index 0000000..045027d --- /dev/null +++ b/resources/themes/architect/views/layouts/partials/scripts.blade.php @@ -0,0 +1,96 @@ +{{-- + +--}} + + + + + + +@if(file_exists('js/custom.js')) + + +@endif diff --git a/resources/themes/architect/views/layouts/partials/sidebarmenu.blade.php b/resources/themes/architect/views/layouts/partials/sidebarmenu.blade.php new file mode 100644 index 0000000..418bb71 --- /dev/null +++ b/resources/themes/architect/views/layouts/partials/sidebarmenu.blade.php @@ -0,0 +1,85 @@ + diff --git a/resources/themes/architect/views/layouts/partials/topmenu.blade.php b/resources/themes/architect/views/layouts/partials/topmenu.blade.php new file mode 100644 index 0000000..7a63997 --- /dev/null +++ b/resources/themes/architect/views/layouts/partials/topmenu.blade.php @@ -0,0 +1,91 @@ +
+ +
+
+ +
+
+
+ + + +
+
+
+
+
+ + +
+ +
+ + +
+ +
+
+
+
+
+
+ + +
+
+ + +
+
+
+
+
+
diff --git a/src/Providers/LeenooksServiceProvider.php b/src/Providers/LeenooksServiceProvider.php index 43d1b9f..1743c0e 100644 --- a/src/Providers/LeenooksServiceProvider.php +++ b/src/Providers/LeenooksServiceProvider.php @@ -27,6 +27,8 @@ class LeenooksServiceProvider extends ServiceProvider $this->loadViewsFrom($this->_path.'/resources/themes/adminlte/views/', 'adminlte'); $this->loadTranslationsFrom($this->_path.'/resources/themes/adminlte/lang/', 'adminlte_lang'); + $this->loadViewsFrom($this->_path.'/resources/themes/architect/views/', 'architect'); + // Enable a Collect::recursive() function \Illuminate\Support\Collection::macro('recursive', function () { return $this->map(function ($value) {