You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.4 KiB
32 lines
1.4 KiB
extends ../layouts/main
|
|
block content
|
|
|
|
form(method="POST", action="/auth/login").uk-form
|
|
section.uk-section.uk-section-default
|
|
.uk-container
|
|
.uk-card.uk-card-secondary.uk-card-small.uk-width-xlarge.uk-margin-auto.uk-border-rounded
|
|
.uk-card-header
|
|
+renderSectionTitle('Member Login')
|
|
.uk-card-body
|
|
fieldset.uk-fieldset
|
|
.uk-margin-small
|
|
div(uk-grid)
|
|
.uk-width-1-3
|
|
img(src=`/img/icon/${site.domainKey}.png`).responsive
|
|
.uk-width-expand
|
|
if loginResult
|
|
div(uk-alert).uk-alert.uk-alert-danger= loginResult
|
|
.uk-margin
|
|
label(for="username", class="uk-visible@m").uk-form-label Username or email address
|
|
input(id="username", name="username", type="text", placeholder="Enter username or email address").uk-input
|
|
|
|
.uk-margin
|
|
label(for="password", class="uk-visible@m").uk-form-label Password
|
|
input(id="password", name="password", type="password", placeholder="Enter password").uk-input
|
|
|
|
.uk-card-footer
|
|
.uk-flex.uk-flex-right.uk-flex-middle
|
|
.uk-width-expand
|
|
a(href="/").uk-text-muted Forgot password
|
|
.uk-width-auto
|
|
button(type="submit").uk-button.dtp-button-primary Login
|