From: Carl Worth <cworth@cworth.org>
Date: Sat, 16 May 2020 21:00:11 +0000 (-0700)
Subject: Add a simple form for joining a game
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=4b1a7bdc84b09a8ebb0747c1ccf7cea3479fade4;p=lmno.games

Add a simple form for joining a game

Note: This doesn't actually do anything yet.
---

diff --git a/index.html b/index.html
index 24f4f32..4da6188 100644
--- a/index.html
+++ b/index.html
@@ -9,6 +9,20 @@
     <link rel="stylesheet" href="/style.css" type="text/css" />
   </head>
   <body>
-    <h1>LMNO Games</h1>
+
+    <form onsubmit="join_game(this)">
+
+      <div class="form-field large">
+        <label for="id">Game ID</label>
+        <input type="text" id="id" required>
+      </div>
+
+      <div class="form-field large">
+        <button type="submit">
+          Join Game
+        </button>
+      </div>
+
+    </form>
   </body>
 </html>