connexion.html 21 lignes · 1372 octets
{# E-020 Connexion à la console (fiche docs/ihm/screens/E-020-connexion-console.md). #}
{% extends "layouts/console.html" %}

{% block title %}Connexion à la console{% endblock %}

{% block content %}
<section class="mx-auto flex w-full max-w-card flex-col rounded-sm bg-muted p-8">
  <h1 class="mb-2 text-2xl text-foreground">Console d'exploitation</h1>
  {% if let Some(o) = organisation %}<p class="mb-6 text-sm text-muted-foreground">{{ o }}</p>{% endif %}
  {% if let Some(m) = message %}
  {% if m.refus %}
  <p class="mb-4 rounded-xs border border-error bg-card p-md text-sm text-error-ink" role="alert">{{ m.texte }}</p>
  {% else %}
  <p class="mb-4 rounded-sm bg-background p-md text-sm text-graphite" role="status">{{ m.texte }}</p>
  {% endif %}
  {% endif %}
  <a href="/console/connexion/demarrer" class="mb-6 inline-flex h-10 w-full items-center justify-center rounded-full bg-primary px-lg text-button text-primary-foreground">Se connecter</a>
  <p class="rounded-sm bg-background p-md text-sm text-graphite">À votre première connexion, le portail vous fera enregistrer un second facteur : une application d'authentification (TOTP) ou une clé de sécurité.</p>
  <p class="mt-md text-xs text-muted-foreground">Accès réservé aux administrateurs de la plateforme (groupe <span class="font-mono">openiam-admins</span>).</p>
</section>
{% endblock %}