This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/views/user/login.pug

39 lines
1.2 KiB
Plaintext

extends ../layout.pug
block title
|Icy Network - Log In
block body
.container.mb-4.mt-4.pt-4
.row
.col.d-none.d-sm-block
.col-sm-auto
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", value=formkeep.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.d-none.d-sm-block