Clean up welcome page and login flow
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -5,6 +5,7 @@ html
|
||||
link(rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css')
|
||||
link(rel='stylesheet' href='/assets/auth/forms.css')
|
||||
link(href="https://fonts.googleapis.com/css?family=Merienda:700&display=swap" rel="stylesheet")
|
||||
script(src="https://kit.fontawesome.com/5043ba9cc5.js" crossorigin="anonymous")
|
||||
body
|
||||
.container-fluid
|
||||
.row.no-gutter
|
||||
|
||||
@@ -3,3 +3,16 @@ extends ./auth_page
|
||||
block content
|
||||
h3.login-heading.mb-4 #{message}
|
||||
a.btn.btn-lg.btn-primary.btn-block.btn-login.text-uppercase.font-weight-bold.mb-2.form-submit-button(href=button_link) #{button_text}
|
||||
script.
|
||||
const href = "#{button_link}"
|
||||
window.location.href = href
|
||||
|
||||
.text-center
|
||||
div(style="margin: 30px")
|
||||
span Or, continue with:
|
||||
a(style="margin-left: 10px;" title="Local Login" href="/auth/flitter/login")
|
||||
i.fas.fa-user
|
||||
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
|
||||
@@ -8,10 +8,16 @@ block form
|
||||
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.
|
||||
.text-center
|
||||
span.small(style="color: #999999;") Provider: #{provider_name}
|
||||
|
||||
Reference in New Issue
Block a user