base.html
25 lignes · 1143 octets
<!doctype html> <html lang="fr"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% block title %}{% endblock %} — Open IAM</title> <meta name="htmx-config" content="{{ layout.htmx_config() }}"> <link rel="stylesheet" href="/static/app.css"> <script defer src="/static/vendor/htmx.min.js"></script> <script defer src="/static/vendor/htmx-ext-sse.min.js"></script> <script defer src="/static/app.js"></script> <script defer src="/static/vendor/alpine-csp.min.js"></script> </head> <body class="min-h-screen flex flex-col" hx-indicator="#spinner-global"{% if let Some(hx_headers) = layout.hx_headers %} hx-headers="{{ hx_headers }}"{% endif %}> {# C-003 Indicateur de chargement global #} <div id="spinner-global" class="htmx-indicator fixed inset-x-0 top-0 z-50 h-1 bg-primary" aria-hidden="true"></div> <a href="#contenu" class="sr-only focus:not-sr-only focus:absolute focus:left-md focus:top-md focus:z-50 focus:bg-card focus:p-sm">Aller au contenu</a> {% block body %}{% endblock %} {% include "components/toasts.html" %} </body> </html>
GitRust