

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

Main page of django_consultant's website.

{% endcomment %}

{% block head %}
     {{block.super}}
     <link rel="stylesheet" href="{{ STATIC_URL }}css/dossiers.css" />
     <script type="text/javascript" src="{{ STATIC_URL }}libraries/jquery-1.6.4.min.js"></script>
     <script type="text/javascript" src="{{ STATIC_URL }}js/dossierdoc.js"></script>
    {% endblock %}
    
    {% block body %}
    	<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="#"  class="open">RECHERCHE</a></h3>
                                <div class="widget-inner">
                                    <form action="#" method="">
                                        <p class="clearfix">
                                            <input type="text" name="" placeholder="Rechercher" />
                                            <input type="submit" title="Rechercher"   value="" />
                                        </p>
                                    </form>
                                </div>
                            </div>
                            
                            <div id="dialog-form2" title="Modifier votre dossier documentaire">
                    <form id="ajaxdocumentaryfilemodify" method="post" action="/documentary_file_modify/?next=http://localhost:8000/documentary_files/">{% csrf_token %}
                        <fieldset>
                        <label for="title">Titre du dossier</label>
                        <input type="text" id="titlemodif" name="title" id="title" class="text ui-widget-content ui-corner-all" />
                        <label for="description">Description</label>
                        <input type="text" id="descriptionmodif" name="description" id="description" value="" class="text ui-widget-content ui-corner-all" />
                        <label for="description">Visibilité</label>
                        <br><br>
                        <input type="checkbox" id="visibility" name="visibility" > <label for="">Public (par défaut à privé)</label>
                         <input type="hidden" id="documentary_file_id"  name="documentary_file_id"/>
                         <input type="hidden" id="user"  name="user"/>
                        </fieldset>
                    </form>
                      </div>
                      <!-- recherche -->
                            <!--div class="widget classer">
                                <h3><a href="#">CLASSER</a></h3>
                                <div class="widget-inner">
                                    <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>
                                    </form>
                                </div>
                            </div!!><!-- classer -->
                            <!--div class="widget filtre">
                                <h3><a href="#">FILTRES</a></h3>
                                <div class="widget-inner">
                                    <form action="#" class="filtre-date">
                                        <p>
                                            <label for="">De :</label>
                                            <input type="text" name="dateBegin" class="dateBegin" />
                                        </p>
                                        <p>
                                            <label for="">à :</label>
                                            <input type="text" name="dateEnd" class="dateEnd" />
                                        </p>
                                    </form>
                                    <h4>Catégories :</h4>
                                    <form action="#" class="filtre-categorie">
                                        <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">
                                <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>
        {% endblock %}