]> git.cworth.org Git - empires-server/blobdiff - login.html
Add a simple /stats endpoint to get a count of current games in progress
[empires-server] / login.html
diff --git a/login.html b/login.html
new file mode 100644 (file)
index 0000000..f78e679
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+
+    <title>LMNO: Login</title>
+
+    <link rel="stylesheet" href="/reset.css" type="text/css" />
+    <link rel="stylesheet" href="/style.css" type="text/css" />
+  </head>
+  <body>
+
+    <script src="/lmno.js"></script>
+
+    <div id="page">
+
+      <div id="message-area">
+      </div>
+
+      <!-- The return false prevents the page from being reloaded -->
+      <form id="login-form" onsubmit="lmno_login(this); return false">
+        <div class="form-field large">
+          <label for="username">Username</label>
+          <input type="text" id="username" required>
+        </div>
+
+        <div class="form-field large">
+          <label for="Password">Password</label>
+          <input type="password" id="password" required>
+        </div>
+
+        <div class="form-field large">
+          <button type="submit">
+            Login
+          </button>
+        </div>
+      </form>
+
+    </div>
+  </body>
+</html>