You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SAE4.01_FORMULAIRE/Source/Views/HTML/adminLogin.php

43 lines
2.0 KiB

<!DOCTYPE html>
<html lang="fr">
<head>
<?php
global $googleApis, $googleStatic, $poppins, $icon, $logoUCA;
?>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.grid-min.css">
<link rel="stylesheet" href="<?php echo $_ENV['CONTAINER_NAME']."Views\CSS\adminLogin.css"?>">
<link rel="preconnect" href="<?php echo $googleApis; ?>">
<link rel="preconnect" href="<?php echo $googleStatic; ?>" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Barlow&display=swap" rel="stylesheet">
<title></title>
</head>
<body class="acolorba d-flex flex-column align-items-center">
<img src="<?php echo $_ENV['CONTAINER_NAME']."Views\IMAGES\logoUca.png"?>" class="logo" alt="logo">
<article class="card">
<main id="main-content">
<section id="content">
<form method="post" action="login" class="d-flex flex-column align-items-center">
<h3>Service d'authentification</h3>
<div id="adminRegistrationErrorPanel" class="margin-space">
<?php
if (isset($error)) {
echo $error;
}
?>
</div>
<label class="margin-space" for="login">
<input type="text" name="login" id="login" placeholder="Identifiant" required>
</label>
<label class="margin-space" for="password">
<input type="password" name="password" id="password" placeholder="Mot de passe" required>
</label>
<button class="margin-space" name="submitBtn" type="submit">Se connecter</button>
</form>
</section>
</main>
</article>
</body>
</html>