<!DOCTYPE html>
<html lang="pl">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>crmPro</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="robots" content="all">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="/libraries/framework/vendor/jquery/jquery_ui/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/libraries/framework/vendor/plugins/datepicker/js/bootstrap-datetimepicker.js"></script>
    <script type="text/javascript" src="/libraries/framework/vendor/plugins/daterange/daterangepicker.js"></script>
    <script type="text/javascript" src="/libraries/datepicker/js/datepicker.min.js"></script>
    <script type="text/javascript" src="/libraries/datepicker/js/i18n/datepicker.pl.js"></script>
    <script type="text/javascript" src="/libraries/daterange/daterangepicker.js"></script>
    <script type="text/javascript" src="/libraries/jquery-confirm/jquery-confirm.min.js"></script>
    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="Stylesheet" type="text/css" href="/libraries/framework/vendor/jquery/jquery_ui/jquery-ui.structure.min.css">
    <link rel="Stylesheet" type="text/css" href="/libraries/framework/vendor/jquery/jquery_ui/jquery-ui.theme.min.css">
    <link rel="stylesheet" href="/libraries/framework/vendor/plugins/datepicker/css/bootstrap-datetimepicker.css">
    <link rel="Stylesheet" type="text/css" href="/libraries/framework/vendor/plugins/daterange/daterangepicker.css">
    <link rel="stylesheet" type="text/css" href="/libraries/datepicker/css/datepicker.min.css">
    <link rel="Stylesheet" type="text/css" href="/libraries/daterange/daterangepicker.css">
    <link rel="stylesheet" type="text/css" href="/libraries/jquery-confirm/jquery-confirm.min.css">
    <link rel="stylesheet" type="text/css" href="/layout/style.css">
  </head>
  <body class="cron-page">
    <div class="main">
      <? if ( $this -> alert ):?>
        <div class="alert"><?= $this -> alert;?></div>
      <? endif;?>
      <?= $this -> content;?>
    </div>
    <div class="default_popup">
      <div class="popup_content">
        <div class="popup_header">
          <div class="title"></div>
          <div class="close"><i class="fa fa-times"></i></div>
        </div>
        <div class="popup_body"></div>
      </div>
    </div>
    <script type="text/javascript">
      $( function() {
        $( 'input.date' ).datepicker({
          language: 'pl',
          autoClose: true
        });
      });

      $( 'body' ).on( 'click', '.default_popup .close', function(e) {
        e.preventDefault();
        $( '.default_popup .popup_body' ).empty();
        $( '.default_popup' ).hide();
        return false;
      });

      function show_default_popup( content ) {
        $( '.default_popup .popup_body' ).html( content );
        $( '.default_popup' ).fadeIn();
      }
    </script>
  </body>
</html>
