summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJomar Milan <jomarm@jomarm.com>2026-06-08 15:24:03 -0700
committerJomar Milan <jomarm@jomarm.com>2026-06-08 15:24:03 -0700
commit27e1ef1ad8d7d834054b750708343378ce9e9ec5 (patch)
treefd8854f4fbb42b7f4f629d420df3fa29b35364dd /templates
parent306883ce3efb2383bf37c23dd1961117e84b69cd (diff)
Remove passcodes and session listing
Instead, the session ID is treated as a secret
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html17
1 files changed, 5 insertions, 12 deletions
diff --git a/templates/index.html b/templates/index.html
index b2c777f..545b635 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -5,17 +5,10 @@
<title>Rusted Ambulator</title>
</head>
<body>
-<h1>Sessions</h1>
-<ul>
- {% for (id, session) in sessions %}
- <li>
- <span>{{session.steam_name}}'s game ({{id}})</span>
- <form action="/session/{{id}}">
- <input name="passcode" placeholder="Passcode">
- <input type="submit">
- </form>
- </li>
- {% endfor %}
-</ul>
+<form action="/find-session">
+ <label for="id">Session ID</label>
+ <input id="id" name="id" placeholder="000000" required>
+ <input type="submit">
+</form>
</body>
</html> \ No newline at end of file