{% extends 'base.html.twig' %}{% block page_title %}Liste des invitées{% endblock %}{% block active_list_invites 'active' %} {% block stylesheets %} <style> .dataTables_length, .dataTables_filter, .dataTables_paginate, .dataTables_info { margin-right: 1.5rem !important; margin-left: 1.5rem !important; } </style> {% endblock %} {% block content %} <!-- BEGIN: Content--> <div class="app-content content "> <div class="content-overlay"></div> <div class="header-navbar-shadow"></div> <div class="content-wrapper container-xxl p-0"> <div class="content-body"> <!-- users list start --> <section class="app-user-list"> <div class="row"> <div class="col-lg-3 col-sm-6"> <div class="card"> <div class="card-body d-flex align-items-center justify-content-between"> <div> <h3 class="fw-bolder mb-75">{{ admins }}</h3> <span>Comptes Admin</span> </div> <div class="avatar bg-light-primary p-50"> <span class="avatar-content"> <i data-feather="user" class="font-medium-4"></i> </span> </div> </div> </div> </div> <div class="col-lg-3 col-sm-6"> <div class="card bg-light-success"> <div class="card-body d-flex align-items-center justify-content-between"> <div> <h3 class="fw-bolder mb-75">{{ invites }}</h3> <span>Participants</span> </div> <div class="avatar bg-light-success p-50"> <span class="avatar-content"> <i data-feather="user-check" class="font-medium-4"></i> </span> </div> </div> </div> </div> <div class="col-lg-3 col-sm-6"> <div class="card"> <div class="card-body d-flex align-items-center justify-content-between"> <div> <h3 class="fw-bolder mb-75">{{ agents }}</h3> <span>Organisateurs</span> </div> <div class="avatar bg-light-primary p-50"> <span class="avatar-content"> <i data-feather="user" class="font-medium-4"></i> </span> </div> </div> </div> </div> </div> {{ include('include/_flash_messages.html.twig') }} <!-- list and filter start --> <div class="card"> <div class="card-body border-bottom"> <h4 class="card-title">Liste des invités <span class="badge bg-primary"> <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> <span>PARTICIPANTS</span> </span> </h4> <p>Filter et rechercher les comptes invitées PARTICIPANTS et lister ces informations et permissions d'accées</p> <div class="row"> <div class="col-md-4 user_role"></div> <div class="col-md-4 user_plan"></div> <div class="col-md-4 user_status"></div> </div> </div> <div class="card-datatable table-responsive pt-0"> <table class="user-list-table table"> <thead class="table-light"> <tr> <th>Reference</th> <th>Nom et prénom</th> <th>Title</th> <th>Category</th> <th>Actions</th> </tr> </thead> <tbody> {% for user in users %} <tr> <td> <div class="d-flex justify-content-left align-items-center"> <div class="d-flex flex-column"> {{ user.reference }} </div> </div> </td> <td> <div class="d-flex justify-content-left align-items-center"> <div class="avatar-wrapper"> <div class="me-1"> <img src="{{ asset('images/icon/ticket.png') }}" alt="Avatar" height="36" width="36"> </div> </div> <div class="d-flex flex-column"> <a href="" class="user_name text-truncate text-body"><span class="fw-bolder">{{ user.name }}</span> </a> <small class="emp_post text-muted"> | {{ user.id }}</small> </div> </div> </td> <td> {{ user.title }} <small class="emp_post text-muted"> {{ user.organization }}</small> </td> <td> {{ user.equipe.name }} <small class="emp_post text-muted"> {{ user.equipe.badge }}</small> </td> <td> <div class="dropdown"> <button type="button" class="btn btn-sm dropdown-toggle hide-arrow py-0 waves-effect waves-float waves-light" data-bs-toggle="dropdown"> <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> </button> <div class="dropdown-menu dropdown-menu-end"> <a class="dropdown-item" href="{{ path('admin_edit_visitor',{'id':user.id}) }}"> <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> <span>Modifier</span> </a> <a target="_blank" class="dropdown-item" href="{{ path('admin_generate_badge',{'id':user.id}) }}"> <i data-feather='credit-card'></i> <span class=" mx-50" >Genaration</span> </a> <a target="_blank" class="dropdown-item" href="{{ path('admin_show_badge9x14',{'id':user.id}) }}"> <i data-feather='credit-card'></i> <span class=" mx-50" >Badge</span> </a> </div> </div> </td> </tr> {% endfor %} </tbody> </table> </div> </div> <!-- list and filter end --> </section> <!-- users list ends --> </div> </div> </div> <!-- END: Content--> {% endblock %} {% block javascripts %} <script> $(document).ready(function () { $('.user-list-table').DataTable(); }); </script> {% endblock %}