<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title>DP STD - Administrace</title>

    <!-- Scripts -->
    <script src="{{ asset('public/js/app.js') }}" defer></script>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

    <!-- Styles -->
    <link href="{{ asset('public/css/app.css') }}" rel="stylesheet">
    <link href="//db.onlinewebfonts.com/c/a78cfad3beb089a6ce86d4e280fa270b?family=Calibri" rel="stylesheet" type="text/css"/>

    <!-- Head Contents -->
    @stack('headersStyles')

</head>
<body>
    <div id="app">
        <main>
        @yield('adminContent')
        @yield('content')
        </main>
    </div>

@stack('headerScripts')

<script type="application/javascript">
    $(document).ready(function() {
        $('#table').dataTable( {
            "language": {
                "url": "https://cdn.datatables.net/plug-ins/1.10.20/i18n/Czech.json"
            },
            'aoColumnDefs': [{
                'bSortable': false,
                'aTargets': ['nosort']
            }]
        } );
    } );
</script>
</body>

</html>
