summaryrefslogtreecommitdiffstats
path: root/templates/ng/base/social.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ng/base/social.tmpl')
-rw-r--r--templates/ng/base/social.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/ng/base/social.tmpl b/templates/ng/base/social.tmpl
new file mode 100644
index 0000000000..97f71b4e99
--- /dev/null
+++ b/templates/ng/base/social.tmpl
@@ -0,0 +1,4 @@
+{{if .OauthService.GitHub}}<a class="btn github" href="/user/login/github?next=/user/sign_up"><i class="fa fa-github"></i>GitHub</a>{{end}}
+{{if .OauthService.Google}}<a class="btn google" href="/user/login/google?next=/user/sign_up"><i class="fa fa-google"></i>Google +</a>{{end}}
+{{if .OauthService.Weibo}}<a class="btn weibo" href="/user/login/weibo?next=/user/sign_up"><i class="fa fa-weibo"></i>新浪微博</a>{{end}}
+{{if .OauthService.Tencent}}<a class="btn qq" href="/user/login/qq?next=/user/sign_up"><i class="fa fa-qq"></i>腾讯 QQ&nbsp;</a>{{end}} \ No newline at end of file