<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic"/>
<title>@yield('title_prefix', config('adminlte.title_prefix', ''))
@yield('title', config('adminlte.title', 'Ignite'))
@yield('title_postfix', config('adminlte.title_postfix', ''))</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" />
<meta name="csrf-token" content="{{ csrf_token() }}" />
<link rel="stylesheet" href="{{ asset('vendor/ignite/js/vendor/bootstrap/dist/css/bootstrap.min.css') }}"/>
<link rel="stylesheet" href="{{ asset('vendor/ignite/js/vendor/font-awesome/css/font-awesome.min.css') }}"/>
<link rel="stylesheet" href="{{ asset('vendor/ignite/js/vendor/ionicons/css/ionicons.min.css') }}"/>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.css"/>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/switchery/0.8.2/switchery.min.css"/>
<link rel="stylesheet" href="{{ asset('vendor/ignite/js/vendor/adminlte/css/AdminLTE.min.css') }}"/>
@yield('adminlte_css')
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition @yield('body_class')">
@yield('body')
<script src="{{ asset('vendor/ignite/js/vendor/jquery/dist/jquery.min.js') }}"></script>
<script src="{{ asset('vendor/ignite/js/vendor/bootstrap/dist/js/bootstrap.min.js') }}"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/switchery/0.8.2/switchery.min.js"></script>
@yield('adminlte_js')
<script>
jQuery(function($) {
    $('.select2').select2().on('select2:select', function() {
        $(this).focus();
    });
    var elems = Array.prototype.slice.call(document.querySelectorAll('.js-switch'));
    elems.forEach(function(html) {
        var switchery = new Switchery(html, {size: 'small'});
    });

    $('[data-toggle="tooltip"]').tooltip();
});
</script>
</body>
</html>
