Select Git revision
-
Charles Barnwell authoredCharles Barnwell authored
rooms.html 1.27 KiB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap" rel="stylesheet">
<script src="https://www.gstatic.com/firebasejs/7.17.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.17.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.17.1/firebase-analytics.js"></script>
<script src="firebaseConfig.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.3.0/socket.io.js"></script>
<link href="rooms.css" rel="stylesheet">
<title>Rooms</title>
</head>
<body>
<div class="main-div">
<button id="makeGameBtn">Create a new game</button>
<div class="currentGamesContainer">
<div id="msg"></div>
<h2>Join a game</h2>
<table id="currentGamesTbl">
<thead>
<th id="gamesHeader">Games</th>
<th id="playersHeader">Current players</th>
</thead>
<tbody id="currentGamesBody"></tbody>
</table>
</div>
</div>
<script src="rooms.js"></script>
</body>
</html>