<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Kalendarz Dotacji</title>
    <%= csrf_meta_tags %>
    <%= csp_meta_tag %>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Prompt:300,400,400i,700&display=fallback">
    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= stylesheet_link_tag    'font_awesomeall', 'tempusdominus-bootstrap-4.min', 'select2.min', 'adminlte.min', 'main' %>
    <%= javascript_include_tag 'application', 'whcookies', 'data-turbolinks-track': 'reload' %>
  </head>

  <body class="layout-top-nav" style="height: auto;">
    <div class="wrapper">
        <nav class="main-header navbar navbar-expand-md navbar-light navbar-white">
          <div class="container">
            <a href="/" class="navbar-brand">
              <%= image_tag "kd_logo.png", class: "brand-image", alt: "Kalendarz dotacji", style: "opacity: .8" %>
            </a>
            <button class="navbar-toggler order-1" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse order-3" id="navbarCollapse">
              <ul class="navbar-nav">
                <li class="nav-item d-none d-sm-inline-block">
                  <a href="/" class="nav-link">Znajdź dotację dla swojej firmy</a>
                </li>
                <li class="nav-item d-none d-sm-inline-block">
                  <a href="/kontakt" class="nav-link">Kontakt</a>
                </li>
              </ul>

            </div>
          </div>
        </nav>
        </div>

  <div class="content-wrapper">
        <%= yield %>
  </div>


<%= javascript_include_tag 'jquery.min', 'bootstrap.bundle.min', 'bs-custom-file-input.min', 'moment-with-locales.min', 'select2.full.min', 'tempusdominus-bootstrap-4.min', 'adminlte.min', 'bootstrap-switch.min', 'form_calendar' %>
<script type="text/javascript">
  <%= yield :scripts %>
</script>
<script type="text/javascript">
  reloadFunctionsOnAjax();
</script>
</body>
</html>
