diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/views/index.ejs | 4 | ||||
-rw-r--r-- | public/views/signin-modal.ejs | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/public/views/index.ejs b/public/views/index.ejs index 7d16428c..4aa6ae0a 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -58,7 +58,7 @@ <p class="lead"> Realtime collaborative markdown notes on all platforms. </p> - <% if(facebook || twitter || github || gitlab || dropbox) { %> + <% if(facebook || twitter || github || gitlab || dropbox || google) { %> <a type="button" class="btn btn-lg btn-success ui-signin" data-toggle="modal" data-target=".signin-modal" style="display:none;">Sign In</a> <div class="ui-or" style="display:none;">Or</div> <% }%> @@ -72,7 +72,7 @@ </div> <div id="history" class="section" style="display:none;"> - <% if(facebook || twitter || github || gitlab || dropbox) { %> + <% if(facebook || twitter || github || gitlab || dropbox || google) { %> <div class="ui-signin"> <h4> <a type="button" class="btn btn-success" data-toggle="modal" data-target=".signin-modal">Sign In</a> to get own history! diff --git a/public/views/signin-modal.ejs b/public/views/signin-modal.ejs index 4eb33bf3..293480b9 100644 --- a/public/views/signin-modal.ejs +++ b/public/views/signin-modal.ejs @@ -23,14 +23,19 @@ <i class="fa fa-github"></i> Sign in via GitHub </a> <% } %> + <% if(gitlab) { %> + <a href="<%- url %>/auth/gitlab" class="btn btn-lg btn-block btn-social btn-soundcloud"> + <i class="fa fa-gitlab"></i> Sign in via GitLab + </a> + <% } %> <% if(dropbox) { %> <a href="<%- url %>/auth/dropbox" class="btn btn-lg btn-block btn-social btn-dropbox"> <i class="fa fa-dropbox"></i> Sign in via Dropbox </a> <% } %> - <% if(gitlab) { %> - <a href="<%- url %>/auth/gitlab" class="btn btn-lg btn-block btn-social btn-soundcloud"> - <i class="fa fa-gitlab"></i> Sign in via GitLab + <% if(google) { %> + <a href="<%- url %>/auth/google" class="btn btn-lg btn-block btn-social btn-google"> + <i class="fa fa-google"></i> Sign in via Google </a> <% } %> </div> |