summaryrefslogtreecommitdiff
path: root/public/views/signin-modal.ejs
blob: 293480b961e2635a8e5745f7ce0cf6a4127209ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!-- signin modal -->
<div class="modal fade signin-modal" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="mySmallModalLabel">Choose method</h4>
            </div>
            <div class="modal-body">
                <% if(facebook) { %>
                <a href="<%- url %>/auth/facebook" class="btn btn-lg btn-block btn-social btn-facebook">
                    <i class="fa fa-facebook"></i> Sign in via Facebook
                </a>
                <% } %>
                <% if(twitter) { %>
                <a href="<%- url %>/auth/twitter" class="btn btn-lg btn-block btn-social btn-twitter">
                    <i class="fa fa-twitter"></i> Sign in via Twitter
                </a>
                <% } %>
                <% if(github) { %>
                <a href="<%- url %>/auth/github" class="btn btn-lg btn-block btn-social btn-github">
                    <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(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>
        </div>
    </div>
</div>