summaryrefslogtreecommitdiff
path: root/static/index.html
diff options
context:
space:
mode:
authorDaniel Hader <[email protected]>2026-05-30 12:59:21 -0500
committerDaniel Hader <[email protected]>2026-05-30 12:59:21 -0500
commitbcff4d006a0600ecf86f18ecdaa74e0df31766f0 (patch)
tree5889f48f0c7d348d0bfe6240ab5136cd710d4ce4 /static/index.html
parent929be68e691c1c4015fc6874111b19b9f5d68c02 (diff)
hardened login / logout flow
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/static/index.html b/static/index.html
index 0cc6ec9..67a18aa 100644
--- a/static/index.html
+++ b/static/index.html
@@ -15,12 +15,16 @@
<div id="login-links" hidden>
<a href="login.html">Login</a> / <a href="register.html">Register</a>
</div>
- <span id="logged-in" hidden></span>
+ <div id="logout-links" hidden>
+ <span id="logged-in"></span><br>
+ <a href="javascript:logout()">Logout</a>
+ </div>
+
<h1>C&amp;! Code Golf Leaderboard</h1>
<p>In normal golf, the goal is to get a ball into a hole in as few swings as possible. Code golf is similar, but instead of swings your success is measured in bytes of source code. The following page contains a list of programming challenges. Your task is, first and foremost, to try to solve them, but secondly you should try to do so with as short a program as possible.</p>
- <p>There are no strict rules, choose whatever language you'd like and have fun with it. The goal is to get you coding and thinking. Some of the problems are challenging, especially the last few. Good luck!o</p>
+ <p>There are no strict rules, choose whatever language you'd like and have fun with it. The goal is to get you coding and thinking. Some of the problems are challenging, especially the last few. Good luck!</p>
<h2>Problems</h2>