Cleanup of old code, moved Node class, many improvements on file handling
This commit is contained in:
parent
65f8cd14a7
commit
16992db6b1
19 changed files with 485 additions and 3281 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue