<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

	<title>@yield('title')</title>

  <!-- Global stylesheets -->
  <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900" rel="stylesheet" type="text/css">
  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css">

  <link href="{!! asset('assets/icons/icomoon/styles.min.css') !!}" rel="stylesheet" type="text/css">
  <link href="{!! asset('assets/css/bootstrap.min.css') !!}" rel="stylesheet" type="text/css">
  <link href="{!! asset('assets/css/bootstrap_limitless.min.css') !!}" rel="stylesheet" type="text/css">
  <link href="{!! asset('assets/css/bootstrap-select.min.css') !!}" rel="stylesheet" type="text/css">
  <link href="{!! asset('assets/css/layout.min.css') !!}" rel="stylesheet" type="text/css">
  <link href="{!! asset('assets/css/components.min.css') !!}" rel="stylesheet" type="text/css">
  <link href="{!! asset('assets/css/colors.min.css') !!}" rel="stylesheet" type="text/css">
  <link rel="stylesheet" type="text/css" href="{!! asset('assets/css/style.css') !!}">
  <link rel="stylesheet" type="text/css" href="{!! asset('assets/css/jquery.nestable.min.css') !!}">
  <!--link rel="stylesheet" type="text/css" href="{!! asset('assets/sweetalert/sweetalert.css') !!}"-->
  <!-- /global stylesheets -->
  <!-- JS -->
  <script type="text/javascript" src="{!! asset('assets/js/jquery-3.3.1.min.js') !!}"></script>
  <script src="{!! asset('assets/js/bootstrap.bundle.min.js') !!}"></script>
  <script src="{!! asset('assets/js/bootstrap-select.min.js') !!}"></script>
  <script src="{!! asset('assets/js/plugins/loaders/blockui.min.js') !!}"></script>
  <script src="{!! asset('assets/js/plugins/ui/ripple.min.js') !!}"></script>
  <script src="{!! asset('assets/js/plugins/notifications/jgrowl.min.js') !!}"></script>
  <script src="{!! asset('assets/js/plugins/notifications/noty.min.js') !!}"></script>
  <script src="{!! asset('assets/datatables/datatables.min.js') !!}"></script>
  <script src="{!! asset('assets/sweetalert/sweetalert2.min.js') !!}"></script>
  <script src="{!! asset('assets/forms/select2.min.js') !!}"></script>
  <script src="{!! asset('assets/js/plugins/ui/sticky.min.js') !!}"></script>
  <script src="{!! asset('assets/js/navbar_multiple_sticky.js') !!}"></script>
  <script src="{!! asset('assets/js/jquery.nestable.min.js') !!}"></script>
  <!--script src="//code.jquery.com/ui/1.12.1/jquery-ui.js"></script-->

  <!--/JS -->
  <!--Estilos bootstrap-->
  <link rel="stylesheet" type="text/css" href="{!! asset('assets/time/css/bootstrap-datepicker.css') !!}">
  <!--/ estilos bootstrap-->

  <!--Estilos icons-->
  <link rel="stylesheet" type="text/css" href="{!! asset('assets/icons/css/all.min.css') !!}">

	<meta name="csrf-token" content="{{ csrf_token() }}" />
  @yield('scripts_url')
</head>
<body >

  @if(isset($errordb))
    <div class="alert alert-danger mb-0">
      <span class="text-uppercase font-weight-bold">* La conexion a la base de  datos  resulto fallida, por favor  rectifique sus datos, para cambiar datos   <a href="error/" >Click Aqui</a> </span> 
    </div>
  @endif
  @include('layouts.nav')
  <!-- Page content -->
  <div class="page-content">
    @include('layouts.sidebar')
    <div class="content-wrapper">
      <!-- Page header -->
      @if (Auth::user())
        @include('layouts.header')
      @endif
      <!-- /page header -->
      <div class="content">
      	@yield('content')
      </div>
    </div>
  </div>
  <!-- /page content -->

  <!--scripts bootstrap-->
	<!--script type="text/javascript" src="{!! asset('assets/js/bootstrap.min.js') !!}"></script-->
  <script src="{!! asset('assets/time/js/bootstrap-datepicker.min.js') !!}"></script>
  <!--scripts icons -->
  <script src="{!! asset('assets/icons/js/all.min.js') !!}"></script>
  <script type="text/javascript" src="{!! asset('assets/views_functions/ajax.js') !!}"></script>
  <script src="{!! asset('assets/js/app.js') !!}"></script>
	@yield('scripts')
</body>
</html>