Cleanup of old code, moved Node class, many improvements on file handling

This commit is contained in:
Magnus Åhall 2026-06-29 10:43:21 +02:00
parent 65f8cd14a7
commit 16992db6b1
19 changed files with 485 additions and 3281 deletions

View file

@ -4,7 +4,7 @@
<img id="logo" src="/images/v1/logo.svg">
<input type="text" id="username" placeholder="Username">
<input type="password" id="password" placeholder="Password">
<button onclick=window._login.authenticate()>Log in</button>
<button onclick="globalThis._login.authenticate()">Log in</button>
<div id="error"></div>
</div>
@ -42,6 +42,6 @@ class Login {
}
}
window._login = new Login()
globalThis._login = new Login()
</script>
{{ end }}