alcatel/django/templates/recherche.html
changeset 37 3848e1813a30
parent 27 8ca7f2cea729
--- a/alcatel/django/templates/recherche.html	Mon Jul 22 14:56:35 2013 +0200
+++ b/alcatel/django/templates/recherche.html	Wed Aug 14 16:36:41 2013 +0200
@@ -13,7 +13,7 @@
      {% endblock %}
     
     {% block body %}
-    	<body onLoad="launchpage({{ request.session.json }});">
+    	<body onLoad="showResults({{ request.session.json }});loadStreamgraph({{ request.session.jsonStreamgraph }}); ">
     {% endblock %}
      {% block recherche %}
     <div class="recherche-wrap">
@@ -22,9 +22,7 @@
                     <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"/>
-                    	                   
-                        
+                   		<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" />
@@ -35,54 +33,5 @@
        {% endblock %}
 
 	 {% block contentleft %}
-      <div class="content-left">
-       <div class="widget-wrapper">
-            <div class="widget-wrap">
-             
-                <div class="widget affichage">
-                    <h3><a href="#">AFFICHAGE</a></h3>
-                    <div class="widget-inner">
-                        <ul class="clearfix">
-                            <li><a  title="Passer en vue Treemap" class="treemap active" href="" onClick="javascript:refreshview('treemap');return false;"><span class="visuel"></span><span class="fonction">Treemap</span> </a></li>
-                            <li id="listehref"><a   title="Passer en vue Liste" class="liste" href="" onClick="javascript:refreshview('liste');return false;"><span class="visuel"></span><span class="fonction">Liste</span> </a></li>
-                        </ul>
-                    </div>
-                </div><!-- affichage -->
-                            <div class="widget filtre">
-                                <h3><a href="#">FILTRES</a></h3>
-                                <div class="widget-inner">
-                                    <form id="ajax2" method="post" action="/recherche/" class="filtre-date">{% csrf_token %}
-                                    	<input type="hidden"  name="filtre"  value="ok">
-                                        <p>
-                                            <label for="">De :</label>
-                                            <input id="pickeddatebegin" type="text" name="from_date" class="dateBegin" value="07/01/2007"/>
-                                        </p>
-                                        <p>
-                                            <label for="">à :</label>
-                                            <input id="pickeddateend" type="text" name="to_date" class="dateEnd" value="12/01/2012"/>
-                                        </p>
-                                       
-                                    <!--/form-->
-                                    <h4>Catégories :</h4>                                    	
-                                        <p><input type="checkbox" name="categories" value="International" class="checkbox_category"/> <label for="">International</label> </p>
-                                        <p><input type="checkbox" name="categories" value="France" class="checkbox_category"/> <label for="">France</label> </p>
-                                        <p><input type="checkbox" name="categories" value="Economie" class="checkbox_category"/> <label for="">Economie</label> </p>
-                                        <p><input type="checkbox" name="categories" value="Culture" class="checkbox_category" /> <label for="">Culture</label> </p>
-                                    </form>
-                                </div>
-                            </div><!-- filtre -->
-                            <div class="widget links">
-                                <h3><a href="#">DOSSIER ASSOCIES</a></h3>
-                                <div class="widget-inner">
-                                    <ul>
-                                        <li><a href="#">« Corruption »</a></li>
-                                        <li><a href="#">« Corruption »</a></li>
-                                        <li><a href="#">« Corruption »</a></li>
-                                        <li><a href="#">« Corruption »</a></li>
-                                    </ul>
-                                </div>
-                            </div><!-- links -->
-                            </div>
-                        </div>
-       </div>
+     {{block.super}}
         {% endblock %}
\ No newline at end of file