{% extends "base.html" %}
{% block title %}Administration — Assistant{% endblock %}

{% block content %}
<div class="container-fluid">
    <div class="d-flex justify-content-between align-items-center mb-4">
        <h1><i class="bi bi-gear"></i> Panneau d'administration</h1>
    </div>
    <div class="card"><div class="card-body">
        <p>Configuration avancée de l'application.</p>
        <div class="row">
            <div class="col-md-4 mb-3">
                <div class="card">
                    <div class="card-body text-center">
                        <i class="bi bi-people fs-1 text-primary"></i>
                        <h5 class="mt-2">Utilisateurs</h5>
                        <a href="{{ url_for('admin.users') }}" class="btn btn-outline-primary btn-sm">Gérer</a>
                    </div>
                </div>
            </div>
            <div class="col-md-4 mb-3">
                <div class="card">
                    <div class="card-body text-center">
                        <i class="bi bi-shield-check fs-1 text-success"></i>
                        <h5 class="mt-2">Permissions</h5>
                        <a href="{{ url_for('admin.permissions') }}" class="btn btn-outline-success btn-sm">Configurer</a>
                    </div>
                </div>
            </div>
            <div class="col-md-4 mb-3">
                <div class="card">
                    <div class="card-body text-center">
                        <i class="bi bi-database fs-1 text-warning"></i>
                        <h5 class="mt-2">Données</h5>
                        <a href="{{ url_for('setup_wizard.index') }}" class="btn btn-outline-warning btn-sm">Importer</a>
                    </div>
                </div>
            </div>
        </div>
    </div></div>
</div>
{% endblock %}