{% extends "base.html" %}
{% comment %}

Main page of django_consultant's website.

{% endcomment %}
	{% block head %}
     {{block.super}}
       <script type="text/javascript" src="{{ STATIC_URL }}libraries/jquery-1.6.4.min.js"></script>
       <script type="text/javascript" src="{{ STATIC_URL }}js/recherche.js"></script>
       <link rel="stylesheet" href="{{ STATIC_URL }}css/home.css" />
       <link rel="stylesheet" href="{{ STATIC_URL }}css/article.css" />
     {% endblock %}
    
    {% block body %}
    	<body onLoad="showResults({{ request.session.json }});loadStreamgraph({{ request.session.jsonStreamgraph }}); ">
    {% endblock %}
     {% block recherche %}
    <div class="recherche-wrap">
    
                    <h1><img src="{{ STATIC_URL }}img/mediapart-by-periplus.jpg" alt="" /></h1>
                    <form id="ajax1" method="post" action="/recherche/">{% csrf_token %}
                    	<input type="hidden"  name="filtre"  value="nok">
                    	<input type="hidden" id="from_date" name="from_date" value="07/01/2007"/>
                   		<input type="hidden" id="to_date" name="to_date"  value="12/01/2012"/>       
                        <p >
                            <a href="#" class="photo"></a>
                            <input name="recherche" placeholder="Rechercher" class="input-recherche" type="text" />
                            <input id="recherche_button" type="button" value="" class="recherche-submit"/>
                        </p>
                    </form>
                </div>
       {% endblock %}

	 {% block contentleft %}
     {{block.super}}
        {% endblock %}