Improved installation process

This commit is contained in:
2018-04-07 14:17:33 +02:00
parent 27264d691a
commit c5c05aea04
6 changed files with 44 additions and 71 deletions

View File

@ -1,9 +1,11 @@
component Login(target string)
.login-buttons.mountable
a.login-button.login-button-google(href="/auth/google", target=target, data-ajax="false")
Icon("google")
span Sign in via Google
if arn.APIKeys.Google.Secret != ""
a.login-button.login-button-google(href="/auth/google", target=target, data-ajax="false")
Icon("google")
span Sign in via Google
a.login-button.login-button-facebook(href="/auth/facebook", target=target, data-ajax="false")
Icon("facebook")
span Sign in via Facebook
if arn.APIKeys.Facebook.Secret != ""
a.login-button.login-button-facebook(href="/auth/facebook", target=target, data-ajax="false")
Icon("facebook")
span Sign in via Facebook