{% extends 'layouts/authenticated.html.twig' %} {% import 'flowbite_components/macros.html.twig' as flowbite %} {% block page_title %}{{ page_title }}{% endblock %} {% block content %}
{# Header #}

{{ page_title }}

Gestion centralisée des appareils mobiles autorisés à accéder à l'application

Créer un Appareil
{# Statistics Cards #}
{# Total Devices #}

Total Appareils

{{ stats.total }}

{# Active Devices #}

Actifs

{{ stats.active }}

{# Inactive Devices #}

Inactifs

{{ stats.inactive }}

{# Recently Active #}

Actifs (7j)

{{ stats.recently_active }}

{# Filters #}

Filtres

{# Search #}
{# User Filter #}
{# Platform Filter #}
{# Status Filter #}
{# Actions #}
{# Devices Table #}
{% if devices|length > 0 %} {% for device in devices %} {% endfor %} {% else %} {% endif %}
Appareil Utilisateur Plateforme Statut Dernière activité Actions
{% if device.platform == 'android' %} {% elseif device.platform == 'ios' %} {% else %} {% endif %}

{{ device.deviceName ?? 'En attente de configuration'|raw }}

{{ device.deviceModel ?? 'Modèle inconnu'|raw }}

{{ device.user.email }} {{ device.platform }}

{{ device.osVersion }}

{% if device.isActive %} Actif {% else %} Inactif {% endif %} {% if device.lastSeenAt %} {{ device.lastSeenAt|date('d/m/Y H:i') }} {% else %} Jamais {% endif %} Voir

Aucun appareil trouvé

Essayez de modifier vos filtres de recherche

{# Pagination #} {% if devices|length > 0 %}
{{ knp_pagination_render(devices) }}
{% endif %}
{% endblock %}