This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
DUT2PTUT/v/index.html

46 lines
1.7 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Page d'identification</title>
<link rel="stylesheet" type="text/css" href="style/styles.css">
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
<link rel="shortcut icon" type="image/gif" href="images/favicon.gif" />
<script type="text/javascript">
// Si aucun login et mot de passe n'ont été saisis alors :
function checkForm(form) {
if(form.username.value == "" && form.password.value == "") {
alert('Veuillez saisir votre login et votre mot de passe svp !')
return false;
}
}
</script>
</head>
<body>
<!-- Login Logo -->
<div id="login-logo">
<img src="images/iut.jpg" alt="IUT Logo">
</div>
<!-- Login Form -->
<div id="login-form">
<!-- Header -->
<h2>Page d'identification</h2>
<!-- Form -->
<form id="sw-login" method="POST" action="/">
<!-- Username -->
<div class="field">
<label for="username">Identifiant</label>
<input id="username" name="id" type="text">
</div>
<!-- Password -->
<div class="field">
<label for="password">Mot de passe</label>
<input id="password" name="paswd" type="password">
</div>
<!-- On click on the submit button run the checkFrom function -->
<input type="submit" value="Connexion" onclick="return checkForm(form);">
</form>
</div>
</body>
</html>