2022-03-09 21:10:08 +00:00
|
|
|
extends ../partials/layout.pug
|
|
|
|
|
|
|
|
block title
|
2022-03-19 10:25:37 +00:00
|
|
|
|Log in | Icy Network
|
2022-03-09 21:10:08 +00:00
|
|
|
|
|
|
|
block body
|
|
|
|
include ../partials/logo.pug
|
|
|
|
div.container
|
2022-03-16 18:37:50 +00:00
|
|
|
div.center-box.center-box--no-margin
|
2022-03-09 21:10:08 +00:00
|
|
|
h1 Log in
|
|
|
|
if message.text
|
|
|
|
if message.error
|
|
|
|
.alert.alert-danger
|
|
|
|
span #{message.text}
|
|
|
|
else
|
|
|
|
.alert.alert-success
|
|
|
|
span #{message.text}
|
|
|
|
|
|
|
|
form(method="post")
|
|
|
|
div.form-container
|
|
|
|
input#csrf(type="hidden", name="csrf", value=csrf)
|
|
|
|
label.form-label(for="username") Username
|
2022-03-10 18:31:05 +00:00
|
|
|
input.form-control#username(type="text", name="username", placeholder="Username", autofocus, value=form.username)
|
2022-03-09 21:10:08 +00:00
|
|
|
label.form-label(for="password") Password
|
|
|
|
input.form-control#password(type="password", name="password", placeholder="Password")
|
|
|
|
button.btn.btn-primary(type="submit") Log in
|
2022-03-10 18:31:05 +00:00
|
|
|
div.btn-group.align-self-end
|
|
|
|
a.btn.btn-link(type="button" href="/register") Create a new account
|
|
|
|
|•
|
|
|
|
a.btn.btn-link(type="button" href="/login/password") Forgot password?
|
|
|
|
div.center-box-addon
|
|
|
|
p Icy Network is a Single-Sign-On service used by other applications.
|
|
|
|
p The website may use temporary cookies for storing your login session.
|