<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]>
<!-->
<html class="no-js">
<!--<![endif]-->
    <head>
        {% block header %}
            <title>{% block title %}Phraseanet{% endblock title %}</title>

            {% block header_meta %}
                <meta charset="utf-8">
                <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
                <meta content="{{ meta_description }}" name="description"/>
                <meta http-equiv="X-UA-Compatible" content="chrome=1">
                <meta content="{{ meta_keywords }}" name="keywords"/>
                <meta content="phraseanet" name="generator"/>
            {% endblock header_meta %}

            {% block header_rss %}{% endblock %}

            {% block favicon %}
                <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
            {% endblock favicon %}

            {% block header_stylesheet %}
                <link rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/geonames/geonames.css' }) }}">
                <link rel="stylesheet" href="{{ path('minifier', { 'g' : 'authentication_css' }) }}">
                <!--[if IE 7]>
                    <link rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/font-awesome/css/font-awesome-ie7.min.css' }) }}">
                <![endif]-->
            {% endblock header_stylesheet %}

            {% block header_javascript %}
                 <!--[if lte IE 8]>
                    <script type="text/javascript" src="{{ path('minifier', {'f' : 'assets/json2/json2.js'}) }}"></script>
                <![endif]-->

                {# include backbone templates #}
                {% include "login/common/templates.html.twig" %}

                <script type="text/javascript" src="{{ path('minifier', {'g' : 'authentication'}) }}"></script>
            {% endblock header_javascript %}
        {% endblock header %}
    </head>
    <body>
        {% block google_chrome_frame %}
        <!--[if lt IE 7]>
            <div class="ie6-special">
                <div class="ie6-container">
                    <table>
                        <tr>
                            <td style="width:350px;">
                                <img src="/skins/login/img/ie6dead.png" />
                            </td>
                            <td>
                                <h1>
                                    {% block main_title %}{% endblock %}
                                </h1>
                                <p>
                                    {% trans %}Mettez à jour votre navigateur ou téléchargez un navigateur plus récent.{% endtrans %}
                                </p>
                                <p>
                                    {% trans %}Si vous ne pouvez pas installer un autre navigateur, utilisez Google Chrome Frame.{% endtrans %}
                                </p>
                                <p class="links">
                                    <a href="https://www.google.com/chrome">
                                        {% trans %}Installer Google Chrome{% endtrans %}
                                    </a><br/>
                                    <a href="https://www.google.com/chromeframe">
                                        {% trans %}Installer Google Chrome Frame{% endtrans %}
                                    </a>
                                </p>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        <![endif]-->
        {% endblock google_chrome_frame %}

        {% block container %}
            <div class="container">
                {% block content_scaffholding %}{% endblock %}
                {% block footer_scaffholding %}
                    <div class="row-fluid">
                       <div class="span12">
                           <div class="footer well-small">
                               {% block footer %}
                                   <div class="row-fluid">
                                       <div class="span9" >
                                           {% block footer_content %}
                                               <div class="footer-block">
                                                   <ul class="inline footer-list unstyled">
                                                       <li class="item-first" >
                                                          <a href="{{ path("homepage") }}">{% trans "Home" %}</a>
                                                       </li>
                                                       <li>
                                                          <a href="#">{% trans "Help" %}</a>
                                                       </li>
                                                       {% if has_terms_of_use %}
                                                           <li>
                                                               {% block tou_link %}
                                                                   <a href="{{ path("login_cgus") }}" target="_blank">{% trans "Terms of use" %}</a>
                                                               {% endblock tou_link %}
                                                           </li>
                                                       {% endif %}
                                                       <li>
                                                           {% block copyright %}
                                                              &copy; Copyright <a href="http://www.alchemy.fr" target="_blank">Alchemy</a> 2005-{{ "now"|date("Y") }}
                                                           {% endblock copyright %}
                                                       </li>
                                                   </ul>
                                               </div>
                                           {% endblock footer_content %}
                                       </div>
                                       <div class="span3">
                                           <div class="footer-block text-right">
                                               {% block footer_logo %}<a href="https://www.phraseanet.com" target="_blank">Phraseanet</a>{% endblock footer_logo %}
                                           </div>
                                       </div>
                                   </div>
                               {% endblock footer %}
                           </div>
                       </div>
                   </div>
                {% endblock footer_scaffholding %}
            </div><!--/.fluid-container-->
        {% endblock %}
        {% block analytics %}
            {% include 'common/analytics.html.twig' %}
        {% endblock analytics %}

        {% block scripts %}{% endblock scripts %}
    </body>
</html>
