2023-11-01 02:01:31 +00:00
|
|
|
<%- include('includes/head', {Title: 'connexion'})%>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/connexion.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<%- include('includes/header') %>
|
|
|
|
<main>
|
|
|
|
<video id="background-video" autoplay loop muted>
|
2023-11-04 00:32:44 +00:00
|
|
|
<source src="https://files.vecteezy.com/system/protected/files/006/671/832/vecteezy_traveling-through-star-fields-in-space-to-a-distant-galaxy_6671832_942.mp4" type="video/mp4">
|
2023-11-01 02:01:31 +00:00
|
|
|
</video>
|
|
|
|
<div id="first_div">
|
|
|
|
<h1>
|
|
|
|
Connexion
|
|
|
|
</h1>
|
|
|
|
<% if (inputData.hasError) {%>
|
|
|
|
<p id="input-error">
|
|
|
|
<%= inputData.message %>
|
|
|
|
</p>
|
|
|
|
<% } %>
|
|
|
|
<section id="input_connexion">
|
|
|
|
<form action="/connexion" method="POST">
|
|
|
|
<div>
|
|
|
|
<label for="text">Nom d'utilisateur : </label>
|
|
|
|
<input type="text" id="nom_dutilisateur" name="nom_dutilisateur" value="<%= inputData.nom_dutilisateur %>" required>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="password">Mot de passe : </label>
|
|
|
|
<input type="password" id="password" name="password" value="<%= inputData.password %>" required>
|
|
|
|
</div>
|
|
|
|
<button>
|
|
|
|
Se connecter
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
<a href="/creer-compte" class="custom-cursor">Créer un compte</a>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<%- include('includes/footer') %>
|
|
|
|
</body>
|
|
|
|
</html>
|