templates/list/participantsList.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block page_title %}Liste des invitées{% endblock %}
  3. {% block active_list_invites 'active' %}
  4.     {% block stylesheets %}
  5.         <style>
  6.             .dataTables_length, .dataTables_filter, .dataTables_paginate, .dataTables_info {
  7.                 margin-right: 1.5rem !important;
  8.                 margin-left: 1.5rem !important;
  9.             }
  10.         </style>
  11.     {% endblock %}
  12.     {% block content %}
  13.         <!-- BEGIN: Content-->
  14.         <div class="app-content content ">
  15.             <div class="content-overlay"></div>
  16.             <div class="header-navbar-shadow"></div>
  17.             <div class="content-wrapper container-xxl p-0">
  18.                 <div class="content-body">
  19.                     <!-- users list start -->
  20.                     <section class="app-user-list">
  21.                         <div class="row">
  22.                             <div class="col-lg-3 col-sm-6">
  23.                                 <div class="card">
  24.                                     <div class="card-body d-flex align-items-center justify-content-between">
  25.                                         <div>
  26.                                             <h3 class="fw-bolder mb-75">{{ admins }}</h3>
  27.                                             <span>Comptes Admin</span>
  28.                                         </div>
  29.                                         <div class="avatar bg-light-primary p-50">
  30.                                             <span class="avatar-content">
  31.                                                 <i data-feather="user" class="font-medium-4"></i>
  32.                                             </span>
  33.                                         </div>
  34.                                     </div>
  35.                                 </div>
  36.                             </div>
  37.                             <div class="col-lg-3 col-sm-6">
  38.                                 <div class="card  bg-light-success">
  39.                                     <div class="card-body d-flex align-items-center justify-content-between">
  40.                                         <div>
  41.                                             <h3 class="fw-bolder mb-75">{{ invites }}</h3>
  42.                                             <span>Participants</span>
  43.                                         </div>
  44.                                         <div class="avatar bg-light-success p-50">
  45.                                             <span class="avatar-content">
  46.                                                 <i data-feather="user-check" class="font-medium-4"></i>
  47.                                             </span>
  48.                                         </div>
  49.                                     </div>
  50.                                 </div>
  51.                             </div>
  52.                             <div class="col-lg-3 col-sm-6">
  53.                                 <div class="card">
  54.                                     <div class="card-body d-flex align-items-center justify-content-between">
  55.                                         <div>
  56.                                             <h3 class="fw-bolder mb-75">{{ agents }}</h3>
  57.                                             <span>Organisateurs</span>
  58.                                         </div>
  59.                                         <div class="avatar bg-light-primary p-50">
  60.                                             <span class="avatar-content">
  61.                                                 <i data-feather="user" class="font-medium-4"></i>
  62.                                             </span>
  63.                                         </div>
  64.                                     </div>
  65.                                 </div>
  66.                             </div>
  67.                         </div>
  68.                         {{ include('include/_flash_messages.html.twig') }}
  69.                         <!-- list and filter start -->
  70.                         <div class="card">
  71.                             <div class="card-body border-bottom">
  72.                                 <h4 class="card-title">Liste des invités <span class="badge bg-primary">
  73.                                         <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-star me-25"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>
  74.                                         <span>PARTICIPANTS</span>
  75.                                     </span>
  76.                                 </h4>
  77.                                 <p>Filter et rechercher les comptes invitées PARTICIPANTS et lister ces informations et permissions d'accées</p>
  78.                                 <div class="row">
  79.                                     <div class="col-md-4 user_role"></div>
  80.                                     <div class="col-md-4 user_plan"></div>
  81.                                     <div class="col-md-4 user_status"></div>
  82.                                 </div>
  83.                             </div>
  84.                             <div class="card-datatable table-responsive pt-0">
  85.                                 <table class="user-list-table table">
  86.                                     <thead class="table-light">
  87.                                         <tr>
  88.                                             <th>Reference</th>
  89.                                             <th>Nom et prénom</th>
  90.                                             <th>Title</th>
  91.                                             <th>Category</th>
  92.                                             <th>Actions</th>
  93.                                         </tr>
  94.                                     </thead>
  95.                                     <tbody>
  96.                                         {% for user in users %}
  97.                                             <tr>
  98.                                                 <td>
  99.                                                     <div class="d-flex justify-content-left align-items-center">
  100.                                                         <div class="d-flex flex-column">
  101.                                                             {{ user.reference }}
  102.                                                         </div>
  103.                                                     </div>
  104.                                                 </td>
  105.                                                 <td>
  106.                                                     <div class="d-flex justify-content-left align-items-center">
  107.                                                         <div class="avatar-wrapper">
  108.                                                             <div class="me-1">
  109.                                                                 <img src="{{ asset('images/icon/ticket.png') }}" alt="Avatar" height="36" width="36">
  110.                                                             </div>
  111.                                                         </div>
  112.                                                         <div class="d-flex flex-column">
  113.                                                             <a href="" class="user_name text-truncate text-body"><span class="fw-bolder">{{ user.name }}</span>
  114.                                                             </a>
  115.                                                             <small class="emp_post text-muted"> | {{ user.id }}</small>
  116.                                                         </div>
  117.                                                     </div>
  118.                                                 </td>
  119.                                                 <td>
  120.                                                     {{ user.title }}
  121.                                                     <small class="emp_post text-muted"> {{ user.organization }}</small>
  122.                                                 </td>
  123.                                                 <td>
  124.                                                     {{ user.equipe.name }}
  125.                                                     <small class="emp_post text-muted"> {{ user.equipe.badge }}</small>
  126.                                                 </td>
  127.                                                 <td>
  128.                                                     <div class="dropdown">
  129.                                                         <button type="button" class="btn btn-sm dropdown-toggle hide-arrow py-0 waves-effect waves-float waves-light" data-bs-toggle="dropdown">
  130.                                                             <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-vertical"><circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle></svg>
  131.                                                         </button>
  132.                                                         <div class="dropdown-menu dropdown-menu-end">
  133.                                                             <a class="dropdown-item" href="{{ path('admin_edit_visitor',{'id':user.id}) }}">
  134.                                                                 <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2 me-50"><path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></path></svg>
  135.                                                                 <span>Modifier</span>
  136.                                                             </a>
  137.                                                             <a target="_blank" class="dropdown-item" href="{{ path('admin_generate_badge',{'id':user.id}) }}">
  138.                                                                 <i data-feather='credit-card'></i>
  139.                                                                 <span class=" mx-50" >Genaration</span>
  140.                                                             </a>
  141.                                                             <a target="_blank" class="dropdown-item" href="{{ path('admin_show_badge9x14',{'id':user.id}) }}">
  142.                                                                 <i data-feather='credit-card'></i>
  143.                                                                 <span class=" mx-50" >Badge</span>
  144.                                                             </a>
  145.                                                         </div>
  146.                                                     </div>
  147.                                                 </td>
  148.                                             </tr>
  149.                                         {% endfor %}
  150.                                     </tbody>
  151.                                 </table>
  152.                             </div>
  153.                         </div>
  154.                         <!-- list and filter end -->
  155.                     </section>
  156.                     <!-- users list ends -->
  157.                 </div>
  158.             </div>
  159.         </div>
  160.         <!-- END: Content-->
  161.     {% endblock %}
  162.     {% block javascripts %}
  163.         <script>
  164.             $(document).ready(function () {
  165.                 $('.user-list-table').DataTable();
  166.             });
  167.         </script>
  168.     {% endblock %}