35 lines
965 B
Plaintext
35 lines
965 B
Plaintext
|
extends ../layout.pug
|
||
|
block title
|
||
|
|Icy Network - Log In
|
||
|
|
||
|
block body
|
||
|
.container.mb-4.mt-4
|
||
|
h1 Log in
|
||
|
.row
|
||
|
.col-sm-8
|
||
|
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
|
||
|
label(for="username") Username or Email Address
|
||
|
input.form-control(type="text", name="username", id="username")
|
||
|
.form-group
|
||
|
label(for="password") Password
|
||
|
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?
|
||
|
if auth && !registrations
|
||
|
| ·
|
||
|
a(href="/login/legacy") Social login
|
||
|
if auth && registrations
|
||
|
aside.col-sm-4
|
||
|
include ../includes/external.pug
|