Add support for Starship CoreID login (#9)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user