<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Smart Report Maker</title>

    <link rel="stylesheet" href="{{ get_asset('dist/css/all.min.css')}}">
    <link rel="stylesheet" href="{{ get_asset('dist/css/adminlte.min.css')}}">
    <link rel="stylesheet" href="{{ get_asset('dist/css/style.css')}}" />
    <link rel="stylesheet" href="{{ get_asset('dist/css/c3.min.css') }}" />
    @yield('styles')

<body style="background-color: #f4f6f9;">
    <div id="global-loader">
        <img src="{{get_asset('dist/images/loader.gif')}}" class="loader-img" alt="Loader">
        <div class="loader-text"></div>
    </div>

    <div class="content-wrapper" style="margin-left: 0;min-height:100%">
        @yield('content')

    </div>
</body>
<script src="{{ get_asset('dist/js/jquery.min.js')}}"></script>

<script>
    $(function() {
        // ______________LOADER
    $("#global-loader").fadeOut("slow");
    });

    window.addEventListener("beforeunload", function (event) {
        $("#global-loader").fadeIn();
    });
</script>

@yield('scripts')
