Functionality Completed Design Pending
This commit is contained in:
parent
d2e7ddc115
commit
39f45d4c31
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
@section('content-wrapper')
|
||||
<div class="inner-section">
|
||||
|
||||
|
||||
@include ('admin::layouts.nav-aside')
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
|
@ -12,6 +12,6 @@
|
|||
@yield('content')
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
@stop
|
||||
|
|
@ -28,6 +28,7 @@
|
|||
{!! view_render_event('bagisto.admin.layout.body.before') !!}
|
||||
|
||||
<div id="app">
|
||||
<button type="button" id="randomButton">Random Button</button>
|
||||
|
||||
<flash-wrapper ref='flashes'></flash-wrapper>
|
||||
|
||||
|
|
@ -146,6 +147,24 @@
|
|||
});
|
||||
}
|
||||
});
|
||||
|
||||
$(document).ready(() => {
|
||||
$('#randomButton').on('click', () => {
|
||||
if ($('.aside-nav').is(':visible')) {
|
||||
$('.aside-nav').hide(function () {
|
||||
$('.content-wrapper').css({
|
||||
marginLeft: 'unset'
|
||||
});
|
||||
});
|
||||
} else {
|
||||
$('.aside-nav').show(function () {
|
||||
$('.content-wrapper').css({
|
||||
marginLeft: '280px'
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@stack('scripts')
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
@endif
|
||||
</ul>
|
||||
|
||||
<!-- <div class="close-nav-aside">
|
||||
{{-- <div class="close-nav-aside">
|
||||
<i class="icon angle-left-icon close-icon"></i>
|
||||
</div> -->
|
||||
</div> --}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue