A dead simple real time webchat with authorization using websockets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
489 B

2 years ago
{{ template "base" . }}
{{ define "content" }}
<h3>Log in</h3>
<form name="auth_form" onsubmit="return false;">
<p>
<label for="username">Username</label> <br>
<input type="text" name="username">
</p>
<p>
<label for="password">Password</label> <br>
<input type="password" name="password">
</p>
<p>
<input type="submit" value="Log in" onmouseup="login()">
</p>
</form>
<script src="/scripts/user.js"></script>
{{ end }}