templates/content/email/envoie_mail_page.html.twig line 1

Open in your IDE?
  1. <header class="page-header page-header-compact page-header-light border-bottom bg-white mb-4 positionToHeader">
  2.     <div class="container-fluid px-4">
  3.         <div class="page-header-content">
  4.             <div class="row align-items-center justify-content-between pt-3">
  5.                 <div class="col-auto">
  6.                     <h1 class="text-center text-uppercase "><i class="bi bi-send"></i> Boîte de d'envoi</h1>
  7.                     <p class="text-center">Consulter vos message envoyé.</p>
  8.                 </div>
  9.                 <div class="col-12 col-xl-auto mb-3">
  10.                     <a class="btn btn-sm btn-primary " href="{{path('reception_mail')}}">
  11.                         <i class="bi bi-mailbox2"></i> &nbsp;
  12.                         Boîte de reception
  13.                     </a>
  14.                 </div>
  15.             </div>
  16.         </div>
  17.     </div>
  18. </header>
  19. <div class="container-xl px-4 mt-2 mb-4 h-100">
  20.     <div class="card mb-4">
  21.         <div class="card-header ">Message envoyé</div>
  22.         <div class="card-body text-center">
  23.             <table id="datatablesSimple">
  24.                 <thead>
  25.                     <tr>
  26.                         <th></th>
  27.                         <th>A</th>
  28.                         <th>Sujet</th>
  29.                         <th>Date</th>
  30.                     </tr>
  31.                 </thead>
  32.                 <tfoot>
  33.                     <tr>
  34.                         <th></th>
  35.                         <th>A</th>
  36.                         <th>Sujet</th>
  37.                         <th>Date</th>
  38.                     </tr>
  39.                 </tfoot>
  40.                 <tbody class="text-dark ">
  41.                     {% set i = 0%}
  42.                     {% for mail in app.user.emailsSend %}
  43.                     <tr>
  44.                         <td>
  45.                             <a href="{{path('mail_view',  {id : i})}}" class="_link">
  46.                                 <i class="bi bi-send-check" style="font-size: 2em; color: green;"></i>
  47.                             </a>
  48.                         </td>
  49.                         <td> <a href="{{path('mail_view',  {id : i})}}" class="_link">
  50.                                 {{mail.userPseudo}}
  51.                             </a>
  52.                         </td>
  53.                         <td>
  54.                             <a href="{{path('mail_view',  {id : i})}}" class="_link">
  55.                                 {{mail.title}}
  56.                             </a>
  57.                         </td>
  58.                         <td> <a href="{{path('mail_view',  {id : i})}}" class="_link">
  59.                                 {{mail.date|format_datetime(locale='fr')}}
  60.                             </a> </td>
  61.                     </tr>
  62.                     {% set i = i + 1 %}
  63.                     {% endfor %}
  64.                 </tbody>
  65.             </table>
  66.         </div>
  67.     </div>
  68. </div>
  69. <script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest" crossorigin="anonymous"></script>