backend/app/views/auth/login.pug

24 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-02-08 03:08:24 +00:00
extends ./form
block form
.form-label-group
input#inputUsername.form-control(type='text' name='username' value=(form_data ? form_data.username : '') required placeholder='Username' autofocus)
label(for='inputUsername') Username
.form-label-group
input#inputPassword.form-control(type='password' name='password' required placeholder='Password')
label(for='inputPassword') Password
button.btn.btn-lg.btn-primary.btn-block.btn-login.text-uppercase.font-weight-bold.mb-2.form-submit-button(type='submit') Login
2020-10-23 17:01:01 +00:00
.text-center
div(style="margin: 30px")
span Or, continue with:
a(style="margin-left: 10px;" title="Continue with Starship CoreID" href="/auth/starship_oauth/login")
i.fas.fa-rocket
a(style="margin-left: 10px;" title="Continue with GitHub" href="/auth/github_oauth/login")
i.fab.fa-github
2020-02-08 03:08:24 +00:00
if registration_enabled
.text-center
span.small Need an account? 
a(href='./register') Register here.