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.
40 lines
1.1 KiB
40 lines
1.1 KiB
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
<title>Awesome test</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>
|
|
HyperSet
|
|
</h1>
|
|
|
|
<div class="card-body">
|
|
<form id="form">
|
|
<div class="mb-3">
|
|
<label for="username" class="form-label">Nom d'utilisateur</label>
|
|
<input type="text" name="pseudo"class="form-control" id="username" minlength="2" maxlength="20" placeholder="Saisir votre nom d'utilisateur" required>
|
|
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="username" class="form-label">Room ID</label>
|
|
<input type="text" name="id" class="form-control" id="id" minlength="2" maxlength="20" placeholder="Entrez l'id du salon">
|
|
|
|
</div>
|
|
<button class="btn btn-primary" id="start" type="submit">Créer un salon privée</button>
|
|
</form>
|
|
</div>
|
|
<div id="players">
|
|
|
|
</div>
|
|
</div>
|
|
<script src="/socket.io/socket.io.js"></script>
|
|
<script src="/client/main.js"></script>
|
|
<script>
|
|
var socket = io();
|
|
</script>
|
|
</body>
|
|
</html>
|