Skip to content

Instantly share code, notes, and snippets.

@adriencanterot
Created May 13, 2017 08:31
Show Gist options
  • Save adriencanterot/63a82be30ced72ef0173d91eadb673b9 to your computer and use it in GitHub Desktop.
Save adriencanterot/63a82be30ced72ef0173d91eadb673b9 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Welcome to diabetic kids glycemic digital notebook</title>
<link rel="stylesheet" href="styles.css">
<script>
function hideShowSecretInfos() {
var secretInfos = document.getElementById('secret_infos')
var hideShowLink = document.getElementById('showHideSecret')
if(secretInfos.style.display == 'none') {
secretInfos.style.display = 'block';
hideShowLink.innerHTML = "Cacher les informations secrètes";
} else {
secretInfos.style.display = 'none';
hideShowLink.innerHTML = "Montrer les informations secrètes";
}
}
</script>
</head>
<body>
<img src="adultknees.jpg" class='welcomeImage'></img>
<div class="content">
<h3>Connectez-vous</h3>
<em>Cliquez sur "Montrer les informations secrètes" pour accéder aux différents logins</em>
<form method="POST" action="glycemicpage.php" >
<label for="login">Identifiant</label></br>
<input type='text' name='login'/><br/>
<label for="password">Mot de passe</label><br/>
<input type='password' name='password'/><br/>
<input type='submit' name='submit' value="Se Connecter"/>
</form>
<a id='showHideSecret' href="#" onClick="hideShowSecretInfos();return false;">Montrer les informations secrètes</a>
<p id="secret_infos" style="display:none;">
Utilisateurs possibles : </br>
DiabeticKid : 1234 <br/>
HypoglycemicKid : 4321
</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment