You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.6 KiB
55 lines
1.6 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="x-csrf-token" content="{{ csrf_token() }}">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
<title>@yield('title', Option::get('app_name', 'Aplikasi Laravel'))</title>
|
|
|
|
@yield('ext_css')
|
|
{!! Html::style('assets/css/app.css') !!}
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
|
|
@include('layouts.partials.sidebar')
|
|
|
|
<div id="page-wrapper">
|
|
<div class="container-fluid">
|
|
@yield('content')
|
|
</div>
|
|
<!-- /.container-fluid -->
|
|
</div>
|
|
<!-- /#page-wrapper -->
|
|
@include('layouts.partials.footer')
|
|
</div>
|
|
<!-- /#wrapper -->
|
|
|
|
{!! Html::script(url('assets/js/jquery.js')) !!}
|
|
{!! Html::script(url('assets/js/bootstrap.min.js')) !!}
|
|
@include('layouts.partials.noty')
|
|
{!! Html::script(url('assets/js/plugins/metisMenu/metisMenu.min.js')) !!}
|
|
@yield('ext_js')
|
|
{!! Html::script(url('assets/js/sb-admin-2.js')) !!}
|
|
|
|
<script type="text/javascript">
|
|
(function() {
|
|
$("div.alert.notifier, div.alert.add-cart-notifier").delay(5000).slideUp('slow');
|
|
$.ajaxSetup({
|
|
headers: {
|
|
'X-CSRF-Token': $('meta[name="x-csrf-token"]').attr('content')
|
|
},
|
|
beforeSend: function(xhr){
|
|
xhr.setRequestHeader('Authorization', 'Bearer ' + "{{ auth()->user()->api_token }}");
|
|
}
|
|
});
|
|
})();
|
|
</script>
|
|
|
|
@yield('script')
|
|
|
|
</body>
|
|
</html>
|