{% load i18n authentic2 staticfiles %}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href='//fonts.googleapis.com/css?family=Domine:400,700|Open+Sans:400,600,700,800|PT+Sans+Narrow:400,700' rel='stylesheet' type='text/css'>
    {#<link rel="stylesheet" href="{{ STATIC_URL }}authentic2/css/style.css" />#}
    <title>{% block title %}Authentic2 - {{ request.get_host }}{% endblock %}</title>
    {% block extra_scripts %}
    {% endblock %}
    {% addtoblock "css" %}
        <link rel="stylesheet" href="{{ STATIC_URL }}authentic2/css/app.css" />
        <link rel="stylesheet" href="{{ STATIC_URL }}authentic2/css/minimal.css" />
        <link rel="stylesheet" href="{{ STATIC_URL }}authentic2/css/inscription.css" />
    {% endaddtoblock %}

    {% addtoblock "js" %}
        <script src="{{ STATIC_URL }}authentic2/js/foundation/foundation.js"></script>
        <script src="{{ STATIC_URL }}authentic2/js/foundation/foundation.alert.js"></script>
    {% endaddtoblock %}

    {% renderblock "css" %}
    {% renderblock "js" %}
</head>

<body  {% block bodyargs %}{% endblock %}>
    <div id="page" class="body_content">
        <div class="row">
            <div class="columns small-10 small-centered">
                <div class="columns small-12 titlebox text-center">
                    <a href="/">
                        {% block header %}
                            <img src="{% static 'authentic2/images/solutions.png' %}" alt="Les Echos Solutions" />
                        {% endblock %}
                    </a>
                </div>

                {% block messages %}
                    {% if messages %}
                        {% for message in messages %}
                            <div class="row">
                                <div class="columns small-12 text-center">
                                    <div data-alert class="login-alert-box success radius {% if message.tags %}{{ message.tags }}{% endif %}">
                                        {{ message }}<a href="#" class="close">&times;</a>
                                    </div>
                                </div>
                            </div>
                        {% endfor %}
                    {% endif %}
                {% endblock %}

                <div id="content">
                    {% if request.user.is_authenticated %}
                    <div class="row">
                        <div class="text-center columns small-12 small-centered">
                            <div id="user">
                            {% block user %}
                                <p title="{% blocktrans with last_login=request.session.last_login %}Last login {{ last_login }}{% endblocktrans %}">
                                {% blocktrans with request.user.get_full_name as username %} Bonjour {{ username }}.{% endblocktrans %}
                                    <a id="logout" href="{% url 'auth_logout' %}">{% trans "Logout" %}</a>
                                </p>
                            {% endblock %}
                            </div>
                        </div>
                    </div>
                    {% endif %}
                {% block content %}{% endblock %}
                <div class="columns small-12 unpadded med_margins">
                    <div class="columns small-12 medium-6 unpadded">
                        <img src="{% static 'authentic2/images/les-echos-events.png' %}" />
                    </div>
                    <div class="columns small-12 medium-6 unpadded text-right">
                        <img src="{% static 'authentic2/images/les-echos-etudes.png' %}" />
                    </div>
                </div>

                <div id="footer">
                    {% block footer %}{% endblock %}
                </div>
            </div>
        </div>
    </div>
    {% block js-endpage %}
    {% renderblock "js-endpage" %}
    {% endblock %}
</body>

</html>
