{% 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 rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link href='https://fonts.googleapis.com/css?family=Roboto:400,700|Roboto+Mono:400,700|Roboto+Slab:400,700' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" style="text/css" href="{% static 'kfet/css/jquery-ui.min.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'kfet/css/jquery-confirm.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'kfet/css/index.css' %}">

    {# JS #}
    <script type="text/javascript" src="{% static "kfet/js/js.cookie.js" %}"></script>
    <script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <script type="text/javascript" src="{% static 'kfet/js/jquery-ui.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/js/jquery-confirm.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/js/reconnecting-websocket.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/js/moment.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/js/moment-fr.js' %}"></script>
    <script type="text/javascript" src="{% static 'kfet/js/moment-timezone-with-data-2010-2020.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>
