Files
veille-tech-aggregator/app/templates/admin/login.ejs
T
2026-10-25 20:05:12 +01:00

31 lines
1.1 KiB
Plaintext

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Connexion - Administration</title>
<link rel="stylesheet" href="/css/admin.css">
</head>
<body class="login-page">
<div class="login-container">
<h1>Administration</h1>
<h2>Veille Tech</h2>
<% if (error) { %>
<div class="error"><%= error %></div>
<% } %>
<form method="POST" action="/admin/login">
<div class="form-group">
<label for="username">Identifiant</label>
<input type="text" id="username" name="username" required autocomplete="username">
</div>
<div class="form-group">
<label for="password">Mot de passe</label>
<input type="password" id="password" name="password" required autocomplete="current-password">
</div>
<button type="submit" class="btn btn-primary">Se connecter</button>
</form>
<p class="back-link"><a href="/">← Retour au site</a></p>
</div>
</body>
</html>