2017-08-26 09:47:37 +00:00
|
|
|
extends ../layout.pug
|
2017-08-02 21:24:01 +00:00
|
|
|
block title
|
|
|
|
|Icy Network - Log In
|
|
|
|
|
|
|
|
block body
|
2018-01-28 19:15:53 +00:00
|
|
|
.container.mb-4.mt-4
|
|
|
|
h1 Log in
|
|
|
|
.row
|
2018-01-29 12:00:06 +00:00
|
|
|
.col-sm-8
|
2018-01-28 19:15:53 +00:00
|
|
|
if message.text
|
|
|
|
if message.error
|
|
|
|
.alert.alert-danger
|
|
|
|
span #{message.text}
|
|
|
|
else
|
|
|
|
.alert.alert-success
|
|
|
|
span #{message.text}
|
|
|
|
form#loginForm(method="POST", action="")
|
|
|
|
input(type="hidden", name="csrf", value=csrf)
|
|
|
|
.form-group
|
2017-08-02 21:24:01 +00:00
|
|
|
label(for="username") Username or Email Address
|
2020-05-28 18:30:21 +00:00
|
|
|
input.form-control(type="text", name="username", id="username", autofocus)
|
2018-01-28 19:15:53 +00:00
|
|
|
.form-group
|
2017-08-02 21:24:01 +00:00
|
|
|
label(for="password") Password
|
2018-01-28 19:15:53 +00:00
|
|
|
input.form-control(type="password", name="password", id="password")
|
|
|
|
button.btn.btn-primary(type="submit") Log in
|
|
|
|
a(href="/register") Create an account
|
|
|
|
| ·
|
|
|
|
a(href="/login/reset") Forgot password?
|
2019-08-08 12:33:58 +00:00
|
|
|
if auth
|
|
|
|
aside.col-sm-4
|
2019-09-08 15:44:05 +00:00
|
|
|
if !registrations
|
|
|
|
.alert.alert-warning These links can only be used to log in to existing accounts.
|
2019-08-08 12:33:58 +00:00
|
|
|
include ../includes/external.pug
|