{% extends "jocondelab/front_base.html" %}
{% load i18n %}

{% block js_import %}
    {{block.super}}
    <script type="text/javascript" src="{{STATIC_URL}}jocondelab/lib/jquery.mousewheel.js"></script>
{% endblock %}

{% block js_declaration %}
    {{block.super}}
    <script type="text/javascript">
        urls.ajax_years = "{% url 'ajax_years' %}";
    </script>
    <script type="text/javascript" src="{{STATIC_URL}}jocondelab/js/front-timeline.js"></script>
{% endblock %}

{% block css_declaration %}
    {{block.super}}
    <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}jocondelab/css/front-timeline.css"></script>
{% endblock %}

{% block title %}JocondeLab &raquo; {% trans 'Frise chronologique' %}{% endblock %}

{% block breadcrumbs %}<a href="{% url 'front_timeline' %}">{% trans 'Frise chronologique' %}</a>{% endblock %}

{% block main %}
            
            <h2 class="timeline-section-title">{% trans 'Rechercher par période nommée' %}</h2>
            <div class="timeline-container">
                <canvas class="timeline-canvas"></canvas>
                <ul class="timeline-list"></ul>
            </div>
            <h2 class="timeline-section-title">{% trans 'Rechercher par millésime' %}</h2>
            <div class="timeline-mill-slider"></div>
            <button class="timeline-mill-submit">
                {% trans 'Afficher les contenus de ' %}
                <span class="timeline-mill-from-year">0</span>
                {% trans ' à ' %}
                <span class="timeline-mill-to-year">0</span>
            </button>
            
            <div class="results"></div>
            
            <div class="loading-please-wait"><img src="{{STATIC_URL}}jocondelab/img/loader.gif" /></div>
            <p class="load-more"><a href="#">{% trans 'Afficher plus de résultats' %}</a></p>
            
{% endblock %}
