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

34 lines
975 B
Plaintext
Raw Normal View History

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
2018-01-28 19:15:53 +00:00
input.form-control(type="text", name="username", id="username")
.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
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