Add some autofocus attributes
[lmno.games] / index.html
1 <!DOCTYPE html>
2 <html>
3   <head>
4     <meta charset="utf-8"/>
5     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
7     <title>LMNO Games</title>
8
9     <link rel="stylesheet" href="/reset.css" type="text/css" />
10     <link rel="stylesheet" href="/style.css" type="text/css" />
11
12     <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
13     <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
14     <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
15     <link rel="manifest" href="/site.webmanifest">
16     <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
17     <meta name="msapplication-TileColor" content="#ffc40d">
18     <meta name="theme-color" content="#ffffff">
19
20   </head>
21   <body>
22
23     <script src="/lmno.js"></script>
24
25     <div id="page">
26
27       <div id="message-area">
28       </div>
29
30       <form onsubmit="lmno_join(this); return false">
31
32         <div class="form-field large">
33           <label for="id">Game ID</label>
34           <input type="text" id="id" maxlength="4"
35                  placeholder="Enter a 4-letter Game Code"
36                  oninput="this.value = this.value.toUpperCase()"
37                  autocomplete="off"
38                  required
39                  autofocus>
40         </div>
41
42         <div class="form-field large">
43           <button type="submit">
44             Join Game
45           </button>
46         </div>
47
48       </form>
49
50       <h2>Host a new game</h2>
51
52       <p>
53         To host a new game, simply choose from one of the available
54         games below:
55       </p>
56
57       <h2>Party Games (any number of players)</h2>
58
59       <ul>
60         <li>
61           <a href="empires">Empires</a>
62         </li>
63         <li>
64           <a href="empathy">Empathy</a>
65         </li>
66       </ul>
67
68       <h2>Strategy Games (2 players or teams)</h2>
69
70       <ul>
71         <li>
72           <a href="scribe">Scribe</a>
73         </li>
74       </ul>
75
76     </div>
77   </body>
78 </html>