backend/app/views/auth/login.pug
garrettmills bd03f2709e
All checks were successful
continuous-integration/drone/push Build is passing
Clean up welcome page and login flow
2020-10-23 12:01:01 -05:00

24 lines
1.0 KiB
Plaintext

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
.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
if registration_enabled
.text-center
span.small Need an account? 
a(href='./register') Register here.