]> git.cworth.org Git - lmno.games/blobdiff - index.html
Add some autofocus attributes
[lmno.games] / index.html
index 0546dd703bd9636568176118c84d330bac2fed6b..87427126a6324a0fae75bf9fbc6b8b7d803a21da 100644 (file)
@@ -2,17 +2,32 @@
 <html>
   <head>
     <meta charset="utf-8"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 
     <title>LMNO Games</title>
 
     <link rel="stylesheet" href="/reset.css" type="text/css" />
     <link rel="stylesheet" href="/style.css" type="text/css" />
+
+    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
+    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
+    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
+    <link rel="manifest" href="/site.webmanifest">
+    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
+    <meta name="msapplication-TileColor" content="#ffc40d">
+    <meta name="theme-color" content="#ffffff">
+
   </head>
   <body>
 
+    <script src="/lmno.js"></script>
+
     <div id="page">
 
-      <form onsubmit="join_game(this)">
+      <div id="message-area">
+      </div>
+
+      <form onsubmit="lmno_join(this); return false">
 
         <div class="form-field large">
           <label for="id">Game ID</label>
@@ -20,7 +35,8 @@
                  placeholder="Enter a 4-letter Game Code"
                  oninput="this.value = this.value.toUpperCase()"
                  autocomplete="off"
-                 required>
+                 required
+                 autofocus>
         </div>
 
         <div class="form-field large">
 
       </form>
 
+      <h2>Host a new game</h2>
+
+      <p>
+        To host a new game, simply choose from one of the available
+        games below:
+      </p>
+
+      <h2>Party Games (any number of players)</h2>
+
+      <ul>
+        <li>
+          <a href="empires">Empires</a>
+        </li>
+        <li>
+          <a href="empathy">Empathy</a>
+        </li>
+      </ul>
+
+      <h2>Strategy Games (2 players or teams)</h2>
+
+      <ul>
+        <li>
+          <a href="scribe">Scribe</a>
+        </li>
+      </ul>
+
     </div>
   </body>
 </html>