triachievements/index.html
Rick 4540543d80 Patch bug compte privé & modifications affichage
Modification de l’affichage avec Aucun compte chargé
Modification de l’appuie de la touche entrée dans le champ d’instertion (#3)
2020-07-19 01:45:35 +02:00

45 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="index.css">
<title>Document</title>
</head>
<body>
<header>
<!-- <a href="">Comptes enregistrés</a>
--> <a href="https://semapy.xyz/projets/triAchievements/">A propros</a>
</header>
<form id="myform">
<input type="text" name="steamid" id="steamid" placeholder="SteamID">
<input type="button" id="button" value="Charger le temps" onclick="sendData();">
</form>
<h1 id="username">Aucun compte chargé</h1>
<div id="box">
<div id="error">
Activez le JavaScript et vérifiez si le fichier JS est au bon endroit.
</div>
</div>
<footer>
<p>Ce site n'est pas affilié à Astat ou Steam.</p>
<p>Code source</p>
</footer>
<script src="getinformations.js">
</script>
<script>
var input = document.getElementById("steamid");
input.addEventListener("keyup", function(event) {
if (event.keyCode === 13) {
event.preventDefault();
document.getElementById("button").click();
}
});
</script>
</body>
</html>