<!DOCTYPE html>
<html lang="{{ config('app.locale') }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel='shortcut icon' type='image/x-icon' href='{{ asset('img/themes/' . config('constants.TEMAS')[config('constants.GENERAL.TEMA')] . '/favicon.ico') }}' />
    @yield('meta')

    <title>{{ config('constants.SISTEMAS')[config('constants.GENERAL.SISTEMA')] }}</title>

    <link href="{{asset('plugins/bootstrap/css/bootstrap.css')}}" rel="stylesheet" type="text/css"/>
    <link href="{{asset('plugins/bootstrap-datepicker/css/bootstrap-datepicker3.css')}}" rel="stylesheet" type="text/css"/>
    <link href="{{asset('plugins/font-awesome/css/font-awesome.min.css')}}" rel="stylesheet" type="text/css"/>
    <link href="{{asset('plugins/simple-line-icons/simple-line-icons.min.css')}}" rel="stylesheet" type="text/css"/>
    <link href="{{asset('plugins/sweet-alert/sweetalert.css')}}" rel="stylesheet" type="text/css" />
    @yield('plugins-css')

    <link href="{{asset('css/plugins.min.css')}}" rel="stylesheet" type="text/css"/>
    <link href="{{asset('css/themes/' . config('constants.TEMAS')[config('constants.GENERAL.TEMA')] . '/master.css')}}" rel="stylesheet" type="text/css"/>
    @yield('main-css')
</head>

@yield('body')

<script src="{{asset('plugins/jquery/jquery.min.js')}}" type="text/javascript"></script>
<script src="{{asset('plugins/bootstrap/js/bootstrap.js')}}" type="text/javascript"></script>
<script src="{{asset('plugins/bootstrap-datepicker/js/bootstrap-datepicker.min.js')}}" type="text/javascript"></script>
<script src="{{asset('plugins/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js')}}" type="text/javascript"></script>
<script src="{{asset('plugins/jquery-validation/js/jquery.validate.min.js')}}" type="text/javascript"></script>
<script src="{{asset('plugins/jquery-validation/js/additional-methods.min.js')}}" type="text/javascript"></script>
<script src="{{asset('plugins/jquery-validation/js/localization/messages_es_PE.js')}}" type="text/javascript"></script>
<script src="{{asset('plugins/sweet-alert/sweetalert.min.js')}}" type="text/javascript"></script>
@yield('plugins-js')
@include('sweet::alert')
<script src="{{asset('js/app.js')}}" type="text/javascript"></script>
@yield('main-js')

<!--<script>
    var message = '{{ url('messages/update/list') }}';
    var messageread = '{{ url('messages') }}';
</script>-->
</html>