alcatel/django/templates/dossiersdocumentaire.html
changeset 37 3848e1813a30
parent 27 8ca7f2cea729
child 42 de4e97ded3c6
--- a/alcatel/django/templates/dossiersdocumentaire.html	Mon Jul 22 14:56:35 2013 +0200
+++ b/alcatel/django/templates/dossiersdocumentaire.html	Wed Aug 14 16:36:41 2013 +0200
@@ -18,21 +18,35 @@
     	<body onLoad="dossiers({{ request.session.json3 }});">
     {% endblock %}
     
-    
+     
     {% block frise %}
          <div class="header-documentaire">
           <a class="retour" href="#">« Retour</a>
           <h2>Tous les Dossiers Documentaires : «Rechercher»</h2>
         </div>
     {% endblock %}
-                
+     
+       {% block query %}                   
+                     <form id="ajaxtreemapdoc" method="post" action="/">{% csrf_token %}
+               			<input type="hidden"  id="filtre"      name="filtre"  value="nok">
+                        <input type="hidden"  id="requestType" name="requestType"  value="treemap">
+                        <input type="hidden"  id="refresh"     name="refresh"  value="nok">   
+                        
+                        <p >
+                            <a href="#" class="photo"></a>
+                            <input id="recherche_id" name="recherche" placeholder="Rechercher" class="input-recherche" type="text" title="Rechercher"/>
+                            <input id="recherche_button_doc" type="button" value="" class="recherche-submit"/>
+                            
+                        </p>
+                    </form>
+                         {% endblock %}
 	 {% block contentleft %}
             <div class="content-left documentaire">
             
               <div class="widget-wrapper">
                         <div class="widget-wrap">
                             <div class="widget recherche">
-                                <h3><a href="#">RECHERCHE</a></h3>
+                                <h3><a href="#"  class="open">RECHERCHE</a></h3>
                                 <div class="widget-inner">
                                     <form action="#" method="">
                                         <p class="clearfix">
@@ -42,7 +56,7 @@
                                     </form>
                                 </div>
                             </div><!-- recherche -->
-                            <div class="widget classer">
+                            <!--div class="widget classer">
                                 <h3><a href="#">CLASSER</a></h3>
                                 <div class="widget-inner">
                                     <form action="#" class="filtre-categorie">
@@ -51,8 +65,8 @@
                                         <p><input type="checkbox"> <label for="">International</label> </p>
                                     </form>
                                 </div>
-                            </div><!-- classer -->
-                            <div class="widget filtre">
+                            </div!!><!-- classer -->
+                            <!--div class="widget filtre">
                                 <h3><a href="#">FILTRES</a></h3>
                                 <div class="widget-inner">
                                     <form action="#" class="filtre-date">
@@ -67,13 +81,44 @@
                                     </form>
                                     <h4>Catégories :</h4>
                                     <form action="#" class="filtre-categorie">
-                                        <p><input type="checkbox"> <label for="">International</label> </p>
-                                        <p><input type="checkbox"> <label for="">International</label> </p>
-                                        <p><input type="checkbox"> <label for="">International</label> </p>
+                                        <p><input type="checkbox" checked="checked"> <label for="">International</label> </p>
+                                        <p><input type="checkbox" checked="checked"> <label for="">France</label> </p>
+                                        <p><input type="checkbox" checked="checked"> <label for="">Economie</label> </p>
+                                        <p><input type="checkbox" checked="checked"> <label for="">Culture</label> </p>
+                                    </form>
+                                </div>
+                            </div--><!-- filtre -->
+                            
+                             <div class="widget filtre">
+                                <h3><a href="#" class="open">FILTRES</a></h3>
+                                <div class="widget-inner">    	
+                                     <form id="ajaxfiltrestreamgraph" method="post" action="/">{% csrf_token %}
+                                        <input type="hidden" id="requestType"  name="requestType"  value="streamgraph"/>
+                                        <input type="hidden" id="filtre" name="filtre"  value="ok"/>
+                                        <input type="hidden" id="dossierDoc" name="dossierDoc"  value="{{request.get_full_path}}"/>
+                                     </form>
+                     
+                                    <form id="ajaxfiltretreemap" method="post" action="/" class="filtre-date">{% csrf_token %}
+                                    	<input type="hidden" id="requestType" name="requestType"  value="treemap">
+                                    	<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="categories1" value="International" class="checkbox_category" checked="checked"/> <label for="">International</label> </p>
+                                        <p><input type="checkbox" name="categories2" value="France"        class="checkbox_category" checked="checked"/> <label for="">France</label> </p>
+                                        <p><input type="checkbox" name="categories3" value="Economie"      class="checkbox_category" checked="checked"/> <label for="">Economie</label> </p>
+                                        <p><input type="checkbox" name="categories4" value="Culture"       class="checkbox_category" checked="checked"/> <label for="">Culture</label> </p>
                                     </form>
                                 </div>
                             </div><!-- filtre -->
-                            <div class="widget links">
+                            <!--div class="widget links">
                                 <h3><a href="#">DOSSIER ASSOCIES</a></h3>
                                 <div class="widget-inner">
                                     <ul>
@@ -83,7 +128,7 @@
                                         <li><a href="#">« Corruption »</a></li>
                                     </ul>
                                 </div>
-                            </div><!-- links -->
+                            </div--><!-- links -->
                             </div>
                         </div>
                         </div>