39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
extends ../layout.pug
|
|
block title
|
|
|Icy Network - Log In
|
|
|
|
block body
|
|
.container.mb-4.mt-4.pt-4
|
|
.row
|
|
.col
|
|
.col-6
|
|
h1.mt-1.mb-5.text-center Log in to Icy Network
|
|
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", autofocus)
|
|
.form-group
|
|
label(for="password") Password
|
|
input.form-control(type="password", name="password", id="password")
|
|
button.btn.btn-primary(type="submit") Log in
|
|
| or
|
|
a(href="/register") Create an account
|
|
| ·
|
|
a(href="/login/reset") Forgot password?
|
|
if auth
|
|
| ·
|
|
a.show-more(href="#",data-toggle="#extlogins") More options..
|
|
.show-more-cnt.mt-4#extlogins
|
|
if !registrations
|
|
.alert.alert-warning These links can only be used to log in to existing accounts.
|
|
include ../includes/external.pug
|
|
.col
|