{% load static menu_tags %}
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{% block title %}{% endblock %} | K-Fêt - ENS Ulm</title>

    <meta name="theme-color" content="#a00e26">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="icon" sizes="96x96" href="{% static 'kfet/img/favicon.png' %}">

    {# CSS #}
    <link type="text/css" rel="stylesheet" href="{% static 'fonts/Roboto/roboto.css' %}" />
    <link rel="stylesheet" type="text/css" href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'vendor/jquery/jquery-ui.min.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'kfet/vendor/jquery/jquery-confirm.min.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'kfet/css/index.css' %}">

    {# JS #}
    <script type="text/javascript" src="{% static 'kfet/vendor/js.cookie.js' %}"></script>
    <script type="text/javascript" src="{% static 'vendor/jquery/jquery-3.3.1.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'vendor/bootstrap/js/bootstrap.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'vendor/jquery/jquery-ui.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/vendor/jquery/jquery-confirm.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/vendor/jquery/jquery.tablesorter.combined.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/vendor/reconnecting-websocket.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/vendor/moment/moment.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/vendor/moment/fr.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/js/kfet.js' %}"></script>

    {% include "kfetopen/init.html" %}

    {% block extra_head %}{% endblock %}

    {# Vieux IE pas comprendre HTML5 et Media Queries #}
    <!--[if lt IE 9]>
        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
  {% flat_menu "kfet-nav" template="kfet/base_nav.html" apply_active_classes=True %}
  <div class="container-fluid">
    {% block header %}
    {% if not page or not page.no_header %}
      <header class="row">
        <div class="header {% block header-class %}{% endblock %}">
          <h1>
            {% block header-title %}{% endblock %}
          </h1>
        </div>
      </header>
    {% endif %}
    {% endblock %}

    {% block content %}{% endblock %}

    {% block footer %}
    {% endblock footer %}
  </div>

  <div class="help">
    <div class="help-box col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2">
      <div class="help-content">
        <h2>Aide</h2>
        {% block help %}{% endblock %}
      </div>
    </div>
  </div>
</body>
</html>
