]> code.octet-stream.net Git - broadcaster/blob - templates/login.html
Fix races in status message accumulation
[broadcaster] / templates / login.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Broadcaster Log In</title>
7 </head>
8 <body>
9 <main>
10 <h1>Log In</h1>
11 <form action="/login" method="post">
12 {{if ne .Error ""}}
13 <p><b>{{.Error}}</b></p>
14 {{end}}
15 <label for="username">Username:</label><br>
16 <input type="text" id="username" name="username"><br>
17 <label for="password">Password:</label><br>
18 <input type="password" id="password" name="password"><br>
19 <input type="submit" value="Log In">
20 </form>
21 </main>
22 </body>
23 </html>