Add support for Starship CoreID login (#9)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
2020-10-18 13:11:19 -05:00
parent b5b2a7cd85
commit 574d6ae22a
4 changed files with 87 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
html
head
title Flitter
title Login | #{_app.name}
meta(name="viewport" content="width=device-width, initial-scale=1")
link(rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous")
script(src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous")
@@ -73,19 +73,23 @@ html
a.btn.btn-login.btn-light(href="/auth/flitter/login")
i.icons.fas.fa-sign-in-alt
span Local Login
div
a.btn.btn-login.btn-light(href="/auth/starship_oauth/login")
i.icons.fas.fa-rocket
span Login with Starship CoreID
div
a.btn.btn-login.btn-light(href="/auth/github_oauth/login")
i.icons.fab.fa-github
span Login with GitHub
div
//div
a.btn.btn-login.btn-light.disabled(href="google.com")
i.icons.fab.fa-google
span Login with Google
div
//div
a.btn.btn-login.btn-light.disabled(href="microsoft.com")
i.icons.fab.fa-microsoft
span Login with Microsoft
div
//div
a.btn.btn-login.btn-light.disabled(href="apple.com")
i.icons.fab.fa-apple
span Login with Apple

View File

@@ -1,6 +1,6 @@
html
head
title Flitter
title Welcome | #{_app.name}
style(type="text/css").
@import url('https://fonts.googleapis.com/css?family=Rajdhani');
html,
@@ -22,7 +22,7 @@ html
}
.flitter-name {
font-family: "Rajdhani";
font-family: "Rajdhani", sans-serif;
font-size: 50pt;
margin-left: 35px;
color: #00323d;
@@ -30,7 +30,7 @@ html
}
.flitter-text {
font-family: "Rajdhani";
font-family: "Rajdhani", sans-serif;
font-size: 24pt;
color: #00323d;
}
@@ -43,4 +43,4 @@ html
p.flitter-text Welcome, #{user.uid}! <a href="/auth/logout">Log out.</a>
else
.flitter-container
p.flitter-text New to #{_app.name}? <a href="/login" target="_blank">Start here.</a>
p.flitter-text New to #{_app.name}? <a href="/login">Start here.</a>