
{% extends 'layout.twig' %}

{% block body %}
	
    <div class="contenu clearfix "  id="marche">
                    <h1>
                    	{{'Gestion des Campagnes' | trad }}
                    </h1>
                    
		            {{ ariane() }}

                    <div class="tab-content" id ="refreshAjaxAcc">
                        <div id="creation_campagne" class="tab-pane fade in active clearfix">
                            <h2>
           	                    {{'Groupes de noteurs' | trad }}
                               <button class="button secondaire export" onClick="exportCSV('{{ path('Evaluation.Campagne.gestionCampagne') }}', 'filtre_acc');"> {{ 'Export' | trad }}</button>
     

                               	{{ Button('Ajouter', true,path('Evaluation.Campagne.creationCampagne')) }}

              
                            </h2>

                                {{ arianeSub() }}

                            
                            <form style="position: relative;margin-top: 52px;" method="post" name="filtre_acc" id="filtre_acc">
                                <div class="bg_form padding_form border_form">                   	


                            <div class="tab-content">
                                  <div id="utilisateurs-autorises" class="tab-pane fade in active padding15">

                                    <table class="table table-hover" id ="contenteTable">
                                      	<thead class="thead-dark">
                                            <tr>

                                                <th scope="col">{{ triTable('Groupe',  infoPagination.filter.tri_SOCIETE, 'Groupe') }}</th>
                                              
                                                
                                                <th scope="col" width="6%" class="white-tooltip align-center">
                                                	<span class="infos_tooltip left">
                                                        {{'Tout sélectionner' | trad }}
                                                    </span>
                                                	
                                                	<input type="checkbox" 
                                                        class="form-control checkbox" 
                                                        data-checkall-input="clcheckbox"
                                                    />
                                                </th>
                                            </tr>
                                      	</thead>
                                        <tbody>
                                            <tr class="recherche">
                                                
                                                <td>
                                                 {{ filterTable('CODE_STE', post.filter_CODE_STE, '' ,'contenteTable', path('Evaluation.Campagne.popupSociete'),'filtre_util') }}
                                                </td>
                                                <td></td>
                                            </tr>
                                             {% set compteur = 0 %}
                                             {% for noteur in noteur_liste %}
                                                <tr>
                                                    <td>{{ noteur.GROUPE }}</td>
                                                    <td class="align-center">
                                                        <input type="checkbox" 
                                                            class="form-control checkbox"
                                                            data-checkall="clcheckbox" 
                                                            value="{{ noteur.CODE_STE }}" 
                                                            name="clcheckbox[]" 
                                                        /></td>
                                                </tr>
                                                {% set compteur = compteur + 1 %}
                                            {% endfor %}
                         
                                         </tbody>
        							</table>
 
        						   <div class="modal-footer">
                                    <button type="button" class="button secondaire" data-dismiss="modal" onClick="desactivePopup();">{{'Annuler' |trad }}</button>
                                    <button type="button" class="button principal" id="send">{{'Enregistrer' |trad }}</button>
                                </div>
                                        

                                    </div>
        						</div>
        					</div>
                          </div>
                    </div>
                   	</form>


     
	</form>


    
</div>
{% endblock %}