32 lines
No EOL
1.1 KiB
Text
32 lines
No EOL
1.1 KiB
Text
extends layout.pug
|
|
|
|
block content
|
|
form(method='POST')
|
|
.field
|
|
label.label= lang('LOGIN_USERNAME')
|
|
.control.has-icons-left
|
|
input.input(type='text', name='username', placeholder=lang('LOGIN_USERNAME_PLACEHOLDER'))
|
|
span.icon.is-small.is-left
|
|
i.fas.fa-user
|
|
.field
|
|
label.label= lang('LOGIN_PASSWORD')
|
|
.control.has-icons-left
|
|
input.input(type='password', name='password', placeholder=lang('LOGIN_PASSWORD_PLACEHOLDER'))
|
|
span.icon.is-small.is-left
|
|
i.fas.fa-lock
|
|
.field
|
|
.control
|
|
input.button.is-primary(type='submit' value=lang('LOGIN_BUTTON'))
|
|
if _CC.config.guestPassword
|
|
hr
|
|
h3= lang('LOGIN_GUEST')
|
|
form(method='POST', action='/login/guest')
|
|
.field
|
|
label.label= lang('LOGIN_GUEST_PASSWORD')
|
|
.control.has-icons-left
|
|
input.input(type='password', name='guestpassword', placeholder=lang('LOGIN_GUEST_PASSWORD_PLACEHOLDER'))
|
|
span.icon.is-small.is-left
|
|
i.fas.fa-lock
|
|
.field
|
|
.control
|
|
input.button.is-primary(type='submit', value=lang('LOGIN_BUTTON')) |