{% extends 'baseVisa.html.twig' %}{% block title %}QEBOK | {{ projet.nomDuProjet }}{% endblock %}{% block body %} {# {% if app.user and projet.dateFinPaiement < date() %} <div class="alert alert-info"> Le projet est en mode démo. </div> {% endif %} {% if app.user and projet.dateFinPaiement <= dateDans31Jours and projet.dateFinPaiement %} <div class="alert alert-info"> Le projet passera en mode démo dans {{ diff.days }} jours. </div> {% endif %}#} <div class="principal"> <div class="intro"> {% if app.user %} <div style="float:right"> <a href="{{ path('nouvelleExigence', {'code' : projet.code}) }}" class="bouton btn" style="padding-left:40px;"><span class="material-symbols-outlined" style="top:unset">Add</span>Ajouter une exigence</a> <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Autres actions </button> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a href="{{ path('listeExigences', {'code' : projet.code}) }}" class="dropdown-item"> <i class="fa upload"></i>Importer un tableau Excel d'exigences </a> <a href="{{ path('publipostage', {'code' : projet.code}) }}" class="dropdown-item" style="padding-left:40px;"> <span class="material-symbols-outlined" style="top:unset">visibility</span> Faire un publipostage</a> <a href="{{ path('index') }}" class="dropdown-item" style="padding-left:40px;"> <span class="material-symbols-outlined" style="top:unset">visibility</span> Voir tous les projets</a> <a href="{{ path('projetZip',{'idProjet' : idProjet}) }}" class="dropdown-item" style="padding-left:40px;"><span class="material-symbols-outlined" style="top:unset">Download</span> Télécharger les justificatifs par lot</a> <a href="{{ path('projetZipCicle',{'idProjet' : idProjet}) }}" class="dropdown-item" style="padding-left:40px;"><span class="material-symbols-outlined" style="top:unset">Download</span> Télécharger les justificatifs par cibles</a> </div> </div> {% endif %} <h1>Projet {{ projet.nomDuProjet }} - Liste des lots</h1> </div> <div class="row"> <div class="col-sm-12"> <table class="table table-borderless table-stripped table-hover"> <thead> <tr> <th class="text-start align-middle">N° Lot</th> <td class="text-start align-middle">Nom du lot et de l'entreprise</td> <td class="text-center align-middle">Justificatifs<br/>fournis</td> <td class="text-center align-middle">Justificatifs<br/>validés</td> <td> </td> </tr> </thead> <tbody> {% for item in listeLots %} {% set current = item.lot %} <tr> <td class="text-start align-middle"> {{ item.lot }}</td> <td style="max-width:200px;word-break: break-word" class="text-start align-middle">{{ item.sousLots|join(' / ') }}</td> <td class="text-center align-middle">{{ item.nbJustificatifs }} / {{ item.nbExigences }}</td> <td class="text-center align-middle">{{ item.nbValides }} / {{ item.nbExigences }}</td> <td class="text-right align-middle"> <a class="bouton" {#style="padding-left:40px;"#} href="{{ path('lot', {'lot' : item.lot, 'code' : projet.code}) }}">{#<span class="material-symbols-outlined" style="top:unset">visibility</span>#}Voir le lot</a> </td> </tr> {% endfor %} </tbody> </table> </div> </div> <BR>Taux d'éléments fournis :<div class="progress col-6 mx-auto"> <div class="progress-bar bg-success progress-bar-striped" role="progressbar" style="width: {{tauxJustifTotal}}%;" aria-valuenow={{tauxJustifTotal}} aria-valuemin="0" aria-valuemax="100">{{tauxJustifTotal}}%</div></div> </div> <div style="margin-bottom:25px"></div> <div class="principal"> <div class="intro"> <h1>Liste par cible environnementale</h1> </div> <div class="row"> <div class="col-sm-12"> <table class="table table-borderless table-stripped table-hover"> <thead> <tr> <th class="text-start align-middle">Cibles</th> <td class="text-center align-middle">Justificatifs<br/>fournis</td> <td class="text-center align-middle">Justificatifs<br/>validés</td> </tr> </thead> <tbody> {% for item in listeCibles %} {% set current = item.cibles %} <tr> <td class="text-start align-middle"> {{ item.cibles }}</td> <td class="text-center align-middle">{{ item.nbJustificatifs }} / {{ item.nbExigences }}</td> <td class="text-center align-middle">{{ item.nbValides }} / {{ item.nbExigences }}</td> <td class="text-right align-middle"> <a class="bouton" style="font-size:14px;padding: 10px 25px 10px 15px !important;" href="{{ path('cible', {'ciblePropre' : item.ciblePropre, 'code' : projet.code}) }}"> <span class="material-symbols-outlined" style="font-size:14px">visibility</span> </a> </td> </tr> {% endfor %} </tbody> </table> </div> </div> </div> <div><BR><BR><BR><BR><BR></div>{% endblock %}