espilon-source/tools/c3po/templates/login.html
2026-01-15 00:04:00 +01:00

58 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Connexion</title>
<style>
body {
font-family: Arial, sans-serif;
background: #f5f5f5;
padding: 40px;
}
.card {
max-width: 360px;
margin: auto;
background: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
input {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type='submit'] {
background: #007BFF;
color: #fff;
border: none;
cursor: pointer;
}
input[type='submit']:hover {
background: #0056b3;
}
.error {
color: red;
margin-bottom: 10px;
text-align: center;
}
</style>
</head>
<body>
<div class="card">
<h2>Connexion requise</h2>
<p>Veuillez entrer vos identifiants pour accéder au service.</p>
{% if error %}
<div class="error">{{ error }}</div>
{% endif %}
<form method="post">
<input type="text" name="username" placeholder="Nom d'utilisateur" required>
<input type="password" name="password" placeholder="Mot de passe" required>
<input type="submit" value="Se connecter">
</form>
</div>
</body>
</html>