summary refs log tree commit diff
path: root/static/settings.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/settings.html')
-rw-r--r--static/settings.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/static/settings.html b/static/settings.html
new file mode 100644
index 0000000..4ff6cbb
--- /dev/null
+++ b/static/settings.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<html lang="en-US">
+  <head>
+    <meta charset="UTF-8"/>
+    <title>Chat settings</title>
+    <link rel="stylesheet" href="/style.css"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+  </head>
+  <body id="settings">
+    <form method="post" action="/save" target="_top">
+      <h3>Chat Settings</h3>
+      <label>
+        Nickname:
+        <input autocomplete="off" type="text" name="nick" value="[USERNICK]" placeholder="this one" required />
+        <span class="hint">What name should messages send with?</span>
+      </label>
+      <label>
+        Client ID:
+        <input autocomplete="off" type="password" name="pass" value="[USERPASS]" placeholder="(automatic)"/>
+        <span class="hint">Secret value used to verify identity between visits  (leave this blank to generate a random one)</span>
+      </label>
+      <div class="buttonGroup">
+        <button type="submit">Save</button>
+      </div>
+    </form>
+  </body>
+</html>