<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>{{ trans('global.global_title') }}</title>

    <!-- Bootstrap -->
    <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="<?php echo url('/'); ?>/accets/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/nprogress/nprogress.css" rel="stylesheet"> -->
    <!-- iCheck -->
    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/iCheck/skins/flat/green.css" rel="stylesheet"> -->
    <!-- bootstrap-progressbar -->
    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet"> -->
    <!-- JQVMap -->
    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/> -->
    <!-- bootstrap-daterangepicker -->
    <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
    <!-- Select2 -->
    <link href="<?php echo url('/'); ?>/accets/vendors/select2/dist/css/select2.min.css" rel="stylesheet">

    <!-- Custom Theme Style -->
    <link href="<?php echo url('/'); ?>/accets/build/css/custom.min.css" rel="stylesheet">

    <!-- Datepicker -->
    <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap-datepicker/css/bootstrap-datepicker.css" rel="stylesheet">

    <!-- Datetimepicker -->
    <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet">

    <!-- Chosen -->
    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/chosen/chosen.css" rel="stylesheet"> -->
    <script src="<?php echo url('/'); ?>/accets/vendors/jquery/dist/jquery.min.js"></script>
    <?php
    $contr = Request::segment(1);
    $action = Request::segment(2);
    $contrnew = $contr . '/' . $action;
    ?>
    @include('partials.head')
   
  </head>
     @include('partials.sidebar')

 


      <div class = "container">
        <div class="right_col panel" role="main">

        <div class="row x_panel">
        @yield('content')
    </div></div>
      </div>




        <!-- footer content -->
        <footer>
          <div class="pull-right">
            Admin Template by <a href="http://togglebytes.com/">Togglebytes Technologies</a>
          </div>
          <div class="clearfix"></div>
        </footer>
        <!-- /footer content -->
      </div>
    </div>

    <!-- jQuery -->
    
    <!-- Bootstrap -->
    <script src="<?php echo url('/'); ?>/accets/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/fastclick/lib/fastclick.js"></script> -->
    <!-- Select2 -->
    <script src="<?php echo url('/'); ?>/accets/vendors/select2/dist/js/select2.full.min.js"></script>
    <script type="text/javascript">
      $(document).ready(function(){
        $(".select2").select2({placeholder: "Select",});
        setTimeout(function(){$(".alert").fadeOut(200);},3000);
      });
    </script>
    
    <script src="<?php echo url('/'); ?>/accets/vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
    <script src="<?php echo url('/'); ?>/accets/vendors/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
    <script src="<?php echo url('/'); ?>/accets/vendors/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script src="<?php echo url('/'); ?>/accets/vendors/chosen/chosen.jquery.js"></script>
    <!-- Custom Theme Scripts -->
    <script src="<?php echo url('/'); ?>/accets/build/js/custom.min.js"></script>
    @include('partials.javascripts')
    <script type="text/javascript">
      $(".date").datepicker({
        format: 'yyyy-mm-dd'
      });
      $('.datetime').datetimepicker({
        format: 'YYYY-MM-DD HH:mm:ss'
      });
      $('.timepicker').datetimepicker({
        format: 'HH:mm:ss'
      });
      $('input[type="checkbox"]').click(function(){

        if($(this).val() == 1)
        {
            $(this).val(0);

        }
        else
        {
            $(this).val(1);
        }
    });
    </script>
    <script src="<?php echo url('/'); ?>/accets/recordDel.js"></script>
  </body>
</html>