49 lines
2.5 KiB
HTML
49 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns:th="http://www.thymeleaf.org">
|
|
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<script src="https://unpkg.com/htmx.org@1.9.11"></script>
|
|
<meta charset="UTF-8">
|
|
<title>AS Talange - Pré-inscription</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
|
|
<style>
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body class="bg-gray-50 flex items-center justify-center min-h-screen">
|
|
<div class="max-w-md w-full bg-white rounded-xl shadow-md p-8 border border-gray-100 text-center">
|
|
<img src="/images/logo.png" alt="AS Talange" class="h-32 w-auto mx-auto mb-6 object-contain drop-shadow-sm"
|
|
onerror="this.style.display='none'">
|
|
<h1 class="text-2xl font-bold text-gray-900 mb-2">Inscription au club</h1>
|
|
<p th:unless="${inscriptionsFermees}" class="text-gray-600 mb-8">Veuillez valider le captcha pour accéder au
|
|
formulaire sécurisé.</p>
|
|
|
|
<div th:if="${error != null and (inscriptionsFermees == null or !inscriptionsFermees)}"
|
|
class="bg-red-50 text-red-600 p-3 rounded-lg mb-6 text-sm" th:text="${error}"></div>
|
|
|
|
<div th:if="${inscriptionsFermees}" class="bg-red-50 text-red-600 p-4 rounded-lg mb-6 text-sm font-medium">
|
|
Les inscriptions ne sont pas ouvertes pour le moment, veuillez contacter un responsable du club.
|
|
</div>
|
|
|
|
<p th:unless="${inscriptionsFermees}" class="text-gray-600 mb-8 leading-relaxed">
|
|
Afin de sécuriser le processus et d'éviter les soumissions automatisées (robots),
|
|
nous vous demandons de bien vouloir valider le test de sécurité ci-dessous avant de continuer.
|
|
</p>
|
|
|
|
<form th:unless="${inscriptionsFermees}" th:action="@{/inscription-public/demarrer}" method="post" class="flex flex-col items-center">
|
|
<div class="cf-turnstile mb-6" th:attr="data-sitekey=${captchaSiteKey}"></div>
|
|
|
|
<button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 px-8 rounded-xl shadow-md hover:shadow-lg transition-all duration-200 transform hover:-translate-y-0.5">
|
|
Accéder au formulaire
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |