File tree 2 files changed +34
-1
lines changed
app/templates/client/app/account(auth)/signup
2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,22 @@ <h1>Sign up</h1>
62
62
Login
63
63
</ a >
64
64
</ div >
65
+
66
+ < % if(filters.facebookAuth || filters.twitterAuth || filters.googleAuth) {%>
67
+ < hr >
68
+ < div > < % if(filters.facebookAuth) {%>
69
+ < a class ="btn btn-facebook " href ="" ng-click ="loginOauth('facebook') ">
70
+ < i class ="fa fa-facebook "> </ i > Connect with Facebook
71
+ </ a > < % } %> < % if(filters.googleAuth) {%>
72
+ < a class ="btn btn-google-plus " href ="" ng-click ="loginOauth('google') ">
73
+ < i class ="fa fa-google-plus "> </ i > Connect with Google+
74
+ </ a > < % } %> < % if(filters.twitterAuth) {%>
75
+ < a class ="btn btn-twitter " href ="" ng-click ="loginOauth('twitter') ">
76
+ < i class ="fa fa-twitter "> </ i > Connect with Twitter
77
+ </ a > < % } %>
78
+ </ div > < % } %>
65
79
</ form >
66
80
</ div >
67
81
</ div >
68
- </ div >
82
+ < hr >
83
+ </ div >
Original file line number Diff line number Diff line change @@ -38,3 +38,21 @@ div(ng-include='"components/navbar/navbar.html"')
38
38
= ' '
39
39
a.btn.btn-default.btn-lg.btn-register ( href ='/login' )
40
40
| Login
41
+
42
+
43
+ <% if(filters.facebookAuth || filters.twitterAuth || filters.googleAuth) {%>
44
+ hr
45
+
46
+ div<% if(filters.facebookAuth) {%>
47
+ a.btn.btn-facebook ( href ='' , ng-click ='loginOauth("facebook")' )
48
+ i.fa.fa-facebook
49
+ | Connect with Facebook
50
+ = ' ' < % } % >< % if (filters .googleAuth ) {% >
51
+ a .btn .btn - google- plus (href= ' ' , ng- click= ' loginOauth("google")' )
52
+ i .fa .fa - google- plus
53
+ | Connect with Google+
54
+ = ' ' < % } % >< % if (filters .twitterAuth ) {% >
55
+ a .btn .btn - twitter (href= ' ' , ng- click= ' loginOauth("twitter")' )
56
+ i .fa .fa - twitter
57
+ | Connect with Twitter< % } % >< % } % >
58
+ hr
You can’t perform that action at this time.
0 commit comments