<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="utf-8">
    <!--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">-->

    <title>DIKEN</title>
    <meta name="description" content="Sistema Activo Fijo">
    <meta name="author" content="WebMachine">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <!-- Basic Styles -->
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo asset('css/bootstrap.min.css'); ?>">
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo asset('css/font-awesome.min.css'); ?>">

    <link rel="stylesheet" type="text/css" href="<?php echo asset('css/daterangepicker.css'); ?>" />

    <!-- SmartAdmin Styles : Caution! DO NOT change the order -->
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo asset('css/smartadmin-production-plugins.min.css'); ?>">
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo asset('css/smartadmin-production.min.css'); ?>">
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo asset('css/smartadmin-skins.min.css'); ?>">

    <!-- SmartAdmin RTL Support -->
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo asset('css/smartadmin-rtl.min.css'); ?>">

    <link rel="stylesheet" type="text/css" media="all" href="<?php echo asset('css/style.css'); ?>">

    <!-- Ayuda -->
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo asset('css/ayuda.css'); ?>">

    <!-- #FAVICONS -->
    <link rel="shortcut icon" href="<?php echo asset('img/favicon/favicon.ico'); ?>" type="image/x-icon">
    <link rel="icon" href="<?php echo asset('img/favicon/favicon.ico'); ?>" type="image/x-icon">

    <!-- #GOOGLE FONT -->
    <!--<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700,700i" rel="stylesheet">-->
    <link rel="stylesheet" href="<?php echo asset('css/google_font.css'); ?>">

    <?php echo $__env->yieldContent('styles'); ?>
</head>

<!--

TABLE OF CONTENTS.

Use search to find needed section.

===================================================================

|  01. #CSS Links                |  all CSS links and file paths  |
|  02. #FAVICONS                 |  Favicon links and file paths  |
|  03. #GOOGLE FONT              |  Google font link              |
|  04. #APP SCREEN / ICONS       |  app icons, screen backdrops   |
|  05. #BODY                     |  body tag                      |
|  06. #HEADER                   |  header tag                    |
|  07. #PROJECTS                 |  project lists                 |
|  08. #TOGGLE LAYOUT BUTTONS    |  layout buttons and actions    |
|  09. #MOBILE                   |  mobile view dropdown          |
|  10. #SEARCH                   |  search field                  |
|  11. #NAVIGATION               |  left panel & navigation       |
|  12. #RIGHT PANEL              |  right panel userlist          |
|  13. #MAIN PANEL               |  main panel                    |
|  14. #MAIN CONTENT             |  content holder                |
|  15. #PAGE FOOTER              |  page footer                   |
|  16. #SHORTCUT AREA            |  dropdown shortcuts area       |
|  17. #PLUGINS                  |  all scripts and plugins       |

===================================================================

-->

<!-- #BODY -->
<!-- Possible Classes

    * 'smart-style-{SKIN#}'
    * 'smart-rtl'         - Switch theme mode to RTL
    * 'menu-on-top'       - Switch to top navigation (no DOM change required)
    * 'no-menu'			  - Hides the menu completely
    * 'hidden-menu'       - Hides the main menu but still accessable by hovering over left edge
    * 'fixed-header'      - Fixes the header
    * 'fixed-navigation'  - Fixes the main menu
    * 'fixed-ribbon'      - Fixes breadcrumb
    * 'fixed-page-footer' - Fixes footer
    * 'container'         - boxed layout mode (non-responsive: will not work with fixed-navigation & fixed-ribbon)
-->
<body class="">

<!-- HEADER -->
<header id="header">
    <div id="logo-group">

        <!-- PLACE YOUR LOGO HERE -->
        <span id="logo" style="margin-top: 3px;"> <a href="<?php echo url('/'); ?>"><img src="<?php echo asset('img/logo_diken.png'); ?>" alt="Diken" style="width:90px;"></a> </span>
        <!-- END LOGO PLACEHOLDER -->
    </div>

    <!-- pulled right: nav area -->
    <div class="pull-right">

        <!-- collapse menu button -->
        <div id="hide-menu" class="btn-header pull-right">
            <span> <a href="javascript:void(0);" data-action="toggleMenu" title="Ocultar Menú"><i class="fa fa-reorder"></i></a> </span>
        </div>
        <!-- end collapse menu -->
        <!-- logout button -->
        <div id="logout" class="btn-header transparent pull-right">
            <span> <a href="<?php echo url('/logout'); ?>" title="Cerrar Sesión" data-action="userLogout" data-logout-msg=" "><i class="fa fa-sign-out"></i></a> </span>
            <form id="logout-form" action="<?php echo url('/logout'); ?>" method="POST" style="display: none;">

            </form>
        </div>
        <!-- end logout button -->

        <!-- fullscreen button -->
        <div id="fullscreen" class="btn-header transparent pull-right">
            <span> <a href="javascript:void(0);" data-action="launchFullscreen" title="Pantalla Completa"><i class="fa fa-arrows-alt"></i></a> </span>
        </div>
        <!-- end fullscreen button -->

    </div>
    <!-- end pulled right: nav area -->

</header>
<!-- END HEADER -->

<!-- Left panel : Navigation area -->
<!-- Note: This width of the aside area can be adjusted through LESS variables -->
<aside id="left-panel">

    <!-- User info -->
    <div class="login-info">
				<span> <!-- User image size is adjusted inside CSS, it should stay as it -->
					<a href="javascript:void(0);" id="show-shortcut">
                        <img src="<?php echo asset('img/avatars/male.png'); ?>" alt="me" class="online" />
						<span>
                            <?php if(isset( Auth::user()->NOMBRE_USUARIO )): ?>
                                <?php echo Auth::user()->NOMBRE_USUARIO; ?>

                            <?php endif; ?>
						</span>
                    </a>
				</span>
    </div>
    <!-- end user info -->

    <!-- NAVIGATION : This navigation is also responsive-->
    <?php if(isset( Auth::user()->NOMBRE_USUARIO )): ?>
         <?php echo $__env->make('subviews.sidebar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <?php endif; ?>

    <span class="minifyme" data-action="minifyMenu">
				<i class="fa fa-arrow-circle-left hit"></i>
			</span>

</aside>
<!-- END NAVIGATION -->

<!-- MAIN PANEL -->
<div id="main" role="main">

    <!-- RIBBON -->
    <div id="ribbon">

        <!-- breadcrumb -->
        <?php echo Breadcrumb::output('Inicio', '/'); ?>

                <!-- end breadcrumb -->

        <!-- You can also add more buttons to the
        ribbon for further usability

        Example below:

        <span class="ribbon-button-alignment pull-right">
        <span id="search" class="btn btn-ribbon hidden-xs" data-title="search"><i class="fa-grid"></i> Change Grid</span>
        <span id="add" class="btn btn-ribbon hidden-xs" data-title="add"><i class="fa-plus"></i> Add</span>
        <span id="search" class="btn btn-ribbon" data-title="search"><i class="fa-search"></i> <span class="hidden-mobile">Search</span></span>
        </span> -->

    </div>
    <!-- END RIBBON -->

    <!-- MAIN CONTENT -->
    <div id="content">

        <div class="row">
            <!--
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h1 class="page-title txt-color-blueDark"><i class="fa-fw fa fa-home"></i> Dashboard <span>> My Dashboard</span></h1>
</div>
            -->
            <!-- ALERTS -->
            <?php echo $__env->make('subviews.alerts', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        </div>

        <?php echo $__env->yieldContent('content'); ?>

    </div>
    <!-- END MAIN CONTENT -->
    <!-- AYUDA -->
</div>
<!-- END MAIN PANEL -->

<!-- PAGE FOOTER -->
<div class="page-footer">
    <div class="row">
        <div class="col-xs-12">
            <span class="txt-color-white">Sistema de Producción [<?php echo get_version(); ?>] <span class="hidden-xs"> - Diken</span> © <?php echo date('Y'); ?></span>
        </div>
    </div>
</div>
<!-- END PAGE FOOTER -->

<!--================================================== -->

<script>
    //<![CDATA[
    var webroot = "<?php echo url('/'); ?>/";
    //]]>
</script>

<!-- jQuery + jQueryUI -->
<script src="<?php echo asset('js/libs/jquery-2.1.1.min.js'); ?>"></script>

<script src="<?php echo asset('js/libs/jquery-ui-1.10.3.min.js'); ?>"></script>

<script src="<?php echo asset('js/plugin/jquery-barcode/jquery-barcode.js'); ?>"></script>
<script src="https://cdn.jsdelivr.net/npm/jsbarcode@3.11.0/dist/JsBarcode.all.min.js"></script>

<!-- IMPORTANT: APP CONFIG -->
<script src="<?php echo asset('js/app.config.js'); ?>"></script>

<!-- JS TOUCH : include this plugin for mobile drag / drop touch events-->
<script src="<?php echo asset('js/plugin/jquery-touch/jquery.ui.touch-punch.min.js'); ?>"></script>

<!-- BOOTSTRAP JS -->
<script src="<?php echo asset('js/bootstrap/bootstrap.min.js'); ?>"></script>

<!-- CUSTOM NOTIFICATION -->
<script src="<?php echo asset('js/notification/SmartNotification.min.js'); ?>"></script>

<!-- JARVIS WIDGETS -->
<script src="<?php echo asset('js/smartwidgets/jarvis.widget.min.js'); ?>"></script>

<!-- EASY PIE CHARTS -->
<script src="<?php echo asset('js/plugin/easy-pie-chart/jquery.easy-pie-chart.min.js'); ?>"></script>

<!-- SPARKLINES -->
<script src="<?php echo asset('js/plugin/sparkline/jquery.sparkline.min.js'); ?>"></script>

<!-- JQUERY VALIDATE -->
<script src="<?php echo asset('js/plugin/jquery-validate/jquery.validate.min.js'); ?>"></script>

<!-- JQUERY MASKED INPUT -->
<script src="<?php echo asset('js/plugin/masked-input/jquery.maskedinput.min.js'); ?>"></script>

<!-- JQUERY SELECT2 INPUT  -->
<script src="<?php echo asset('js/plugin/select2/select2.min.js'); ?>"></script>
<script src="<?php echo asset('js/plugin/select2/i18n/es.js'); ?>"></script>

<!-- DIALOG -->
<script src="<?php echo asset('js/plugin/jquery.confirm-master/jquery.confirm.js'); ?>"></script>

<!-- JQUERY UI + Bootstrap Slider -->
<script src="<?php echo asset('js/plugin/bootstrap-slider/bootstrap-slider.min.js'); ?>"></script>

<!-- browser msie issue fix -->
<script src="<?php echo asset('js/plugin/msie-fix/jquery.mb.browser.min.js'); ?>"></script>

<!-- FastClick: For mobile devices -->
<script src="<?php echo asset('js/plugin/fastclick/fastclick.min.js'); ?>"></script>

<!-- Moment library for date range picker-->
<script type="text/javascript" src="<?php echo asset('js/plugin/moment/moment.min.js'); ?>"></script>

<!-- Include Date Range Picker -->
<script type="text/javascript" src="<?php echo asset('js/plugin/bootstrap-daterangepicker/daterangepicker.js'); ?>"></script>

<!--[if IE 8]>

<h1>Your browser is out of date, please update your browser by going to www.microsoft.com/download</h1>

<![endif]-->

<!-- Ayuda -->
<script src="<?php echo asset('js/ayuda.js'); ?>"></script>

<!-- MAIN APP JS FILE -->
<script src="<?php echo asset('js/app.js'); ?>"></script>

<!-- UTILS JS FILE -->
<script src="<?php echo asset('js/utils.js'); ?>"></script>

<!-- GENERAL JS FILE -->
<script src="<?php echo asset('js/general.js'); ?>"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.2/jspdf.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js"></script>

<?php echo $__env->yieldContent('scripts'); ?>
</body>

</html>