<!doctype html>
<html lang="nl">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="gojl7YX42hQPNJrYQacfuHEZ5vtxJ9mfYqexteye">

    <title>MegaSchutting</title>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
    
    <!-- Styles -->
            <link href="https://megaoffice.mega-schutting.nl/css/app.css?v=2" rel="stylesheet">
    
    

    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
</head>
<body >


    <div id="app" class="wrapper wrapper-full-page">
        <main class="py-4">
                <div class="container pt-4 mt-4">
        <div class="row justify-content-center pt-4">
            <div class="col-lg-4 col-md-6 col-sm-10 ml-auto mr-auto">
                <div class="card card-login">
                    <div class="card-header">
                        <h3 class="header text-center">Toegang tot MegaOffice</h3>
                    </div>

                    <div class="card-body">
                        <form method="POST" action="https://megaoffice.mega-schutting.nl/access">
                            <input type="hidden" name="_token" value="gojl7YX42hQPNJrYQacfuHEZ5vtxJ9mfYqexteye" autocomplete="off">
                            <div class="form-group row">
                                <label for="email" class="col-md-6 col-form-label text-md-left">E-mailadres</label>

                                <div class="col-md-12">
                                    <input id="email" type="email" class="form-control " name="email" value="" required autocomplete="email" autofocus>

                                                                    </div>
                            </div>

                            <div class="form-group row mb-0">
                                <div class="col-md-12">
                                    <button type="submit" class="btn btn-primary">Code opvragen</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
        </main>
    </div>

    <link href="/css/admin_global.css?v=6" rel="stylesheet">

   <div class="modal fade" id="inlineformModal" tabindex="-1" aria-labelledby="inlineformModalLabel" aria-hidden="true" >
    <div class="modal-dialog modal-lg">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="inlineformModalLabel">Inline bewerken</h5>
          <div style="margin-bottom: -10px;">
              <i class="fas fa-expand-arrows-alt pe-2"></i>
              <button type="button" class="btn-close btn btn-link text-dark" data-dismiss="modal" aria-label="Close">
                <i class="fas fa-times"></i>
              </button>
          </div>
        </div>
        <div class="modal-body">
          ...
        </div>
        
      </div>
    </div>
  </div>

             <script src="https://megaoffice.mega-schutting.nl/js/app.js?v=9"></script>
         <script src="https://megaoffice.mega-schutting.nl/js/admin_global.js?v=220320299"></script>
   <script src="https://megaoffice.mega-schutting.nl/js/admin_realtime.js?v=9"></script>

      
           <link href="/css/admin_guest.css" rel="stylesheet">
       <script>
    $(document).ready(function(){

        $("#datasearch").on('dblclick', 'input[name=from]', function(){
            if($(this).attr('type') == 'date'){
              if($(this).val() == ''){
                var d = new Date();
                var m = (d.getMonth()+1);
                if(m <= 9){ m = '0' + m; }
                $(this).val("" + d.getFullYear() + "-" + m + "-" + d.getDate());
                $(this).trigger('change');
              }
            }
        });
        $("#datasearch").on('dblclick', 'input[name=to]', function(){
            if($(this).attr('type') == 'date'){
              if($(this).val() == ''){

                var from = $(this).closest('#datasearch').find('input[name=from]').val();
                if(from != ''){
                  $(this).val("" + from);
                } else {
                  var d = new Date();
                  var m = (d.getMonth()+1);
                  if(m <= 9){ m = '0' + m; }
                  $(this).val("" + d.getFullYear() + "-" + m + "-" + d.getDate());
                }
                $(this).trigger('change');
              }
            }
        });
    });
 </script>
</body>
</html>
