partial blade styling..
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
@yield('content')
|
||||
|
||||
@stack('content_content_end')
|
||||
|
||||
<notifications></notifications>
|
||||
|
||||
<form id="form-dynamic-component" method="POST" action="#"></form>
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
@stack('header_start')
|
||||
|
||||
<div id="header" class="header pb-6">
|
||||
<div class="container-fluid content-layout">
|
||||
<div class="header-body">
|
||||
<div class="row py-4 align-items-center">
|
||||
<div class="col-xs-12 col-sm-4 col-md-5 align-items-center">
|
||||
<h2 class="d-inline-flex mb-0 long-texts">@yield('title')</h2>
|
||||
@yield('dashboard_action')
|
||||
</div>
|
||||
<div id="header" class="header pb-6">
|
||||
<div class="container-fluid content-layout">
|
||||
<div class="header-body">
|
||||
<div class="row py-4 align-items-center">
|
||||
<div class="col-xs-12 col-sm-4 col-md-5 align-items-center">
|
||||
<h2 class="d-inline-flex mb-0 long-texts">@yield('title')</h2>
|
||||
@yield('dashboard_action')
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-8 col-md-7">
|
||||
<div class="text-right">
|
||||
@stack('header_button_start')
|
||||
<div class="col-xs-12 col-sm-8 col-md-7">
|
||||
<div class="text-right">
|
||||
@stack('header_button_start')
|
||||
|
||||
@yield('new_button')
|
||||
@yield('new_button')
|
||||
|
||||
@stack('header_button_end')
|
||||
@stack('header_button_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stack('header_end')
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
'use strict';
|
||||
|
||||
var Layout = (function() {
|
||||
|
||||
function pinSidenav() {
|
||||
$('.sidenav-toggler').addClass('active');
|
||||
$('.sidenav-toggler').data('action', 'sidenav-unpin');
|
||||
@@ -43,7 +42,7 @@
|
||||
|
||||
var $sidenavState = Cookies.get('sidenav-state') ? Cookies.get('sidenav-state') : 'pinned';
|
||||
|
||||
if($(window).width() > 1200) {
|
||||
if ($(window).width() > 1200) {
|
||||
if($sidenavState == 'pinned') {
|
||||
pinSidenav()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user