Files
Werewolf/views/join_game.html

39 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Werewolf</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel = "stylesheet" type = "text/css" href = "static/styles.css" />
<script src="../node_modules/socket.io-client/dist/socket.io.js"></script>
</head>
<body>
<div class="app-content">
<div id="join-game-container">
<h2 class="app-header-secondary">Join a Game</h2>
<form>
<label>
Name
<span>
<input id="name" type="text"/>
<p id="name-error"></p>
</span>
</label>
<label>
Access Code
<span>
<input id="code" type="text"/>
<p id="join-error"></p>
</span>
</label>
</form>
<a href="/">
<button class="app-btn">Back</button>
</a>
<button id="join-btn" class="app-btn">Join</button>
</div>
</div>
<script type="module" src="/static/join.js"></script>
</body>
</html>