Page connexion : réorganisation et bouton inscription #90

- Mot de passe oublié déplacé sous le formulaire de connexion
- Bouton "Créer un compte avec mon adresse email" en bas (btn-primary)
- Bouton Me désabonner affiché aussi pour les abonnements pending

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Colin Maudry
2026-06-29 16:14:43 +02:00
parent 8cd5bfe821
commit db148eef90
2 changed files with 13 additions and 12 deletions
+10 -7
View File
@@ -81,15 +81,18 @@ def layout(error: str | None = None, email: str | None = None, **kwargs):
dbc.Button("Se connecter", type="submit", color="primary"),
],
),
dcc.Link(
"Mot de passe oublié ?",
href="/mot-de-passe-oublie",
className="small d-block mt-2",
),
html.Div("ou", className="text-center text-muted my-2"),
linkedin_button(),
html.Hr(),
html.Div(
[
dcc.Link("Créer un compte", href="/inscription"),
html.Span(" · "),
dcc.Link("Mot de passe oublié ?", href="/mot-de-passe-oublie"),
]
html.Div("ou", className="text-center text-muted my-2"),
html.A(
"Créer un compte avec mon adresse email",
href="/inscription",
className="btn btn-primary w-100",
),
],
)