templates/quater/index.html.twig line 1

Open in your IDE?
  1. {% extends 'layout/backEndLayout.html.twig' %}
  2. {% block content %}
  3.   
  4.         <div class="row mt-4">
  5.             <div class="col-1" >
  6.                 <a class="btn btn-info" href="{{ path('admin_quaters_new') }}">
  7.                     <i class="fa fa-plus"></i>
  8.                 </a>
  9.             </div>
  10.             <div class="col-11 jumbotron" >
  11.                  <div class="m-1 box-shadow">
  12.                     <div class="card-header">
  13.                          <h4 class="my-0 font-weight-normal text-center text-justify text-uppercase"> Liste des trimestres configures </h4>
  14.                     </div>
  15.                         <table  width="100%" class="table table-striped">
  16.                             <thead>
  17.                                 <tr>
  18.                                     <th>Annee</th>
  19.                                     <th>Trimestre</th>
  20.                                     
  21.                                     <th>Debut</th>
  22.                                     <th>Fin</th>
  23.                                     
  24.                                 
  25.                                     <th>Etat</th>
  26.                                     <th>Action</th>
  27.                                 </tr>
  28.                             </thead>
  29.                             <tbody>
  30.                                 {% for quater in quaters %}
  31.                                     <tr>
  32.                                         <td><a href="{{ path('admin_schoolyears_show', {id: quater.schoolYear.id}) }}">  {{ quater.schoolYear.wording }}<i class="fa fa-eye"></i></a> </td>
  33.                                         <td><a href="{{ path('admin_quaters_show', {id: quater.id}) }}">  {{ quater.wording }}<i class="fa fa-eye"></i></a> </td>
  34.                                     
  35.                                         <td>{% if quater.startDate %}{{ quater.startDate|date('Y-m-d') }}{% endif %}</td>
  36.                                         <td>{% if quater.endDate %}{{ quater.endDate|date('Y-m-d') }}{% endif %}</td>
  37.                                     
  38.                                         <td>{% if quater.activated %}<i class="fa fa-check-square-o"></i>{% else %}<i class="fa fa-square-o"></i>{% endif %}</td>
  39.                                         <td>
  40.                                             <div class="btn-group">
  41.                                                 <a class="btn btn-outline-info " href="{{ path('admin_quaters_show', {id: quater.id}) }}">
  42.                                                     <i class="fa fa-eye"></i>
  43.                                                 </a>
  44.                                                 <a class="btn btn-outline-warning " href="{{ path('admin_quaters_edit', {id: quater.id}) }}">
  45.                                                     <i class="fa fa-edit"></i> 
  46.                                                 </a>
  47.                                             
  48.                                             </div>
  49.                                         </td>
  50.                                     </tr>
  51.                                 {% endfor %}
  52.                             </tbody>
  53.                         </table>
  54.                    
  55.             </div>
  56.             
  57.         </div>
  58.    
  59. {% endblock %}