Commit 10cb314a authored by Michal Čihař's avatar Michal Čihař

Add verbose names and icons for mor auth means

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 7e92eda1
......@@ -26,15 +26,22 @@ from django.utils.safestring import mark_safe
register = template.Library()
SOCIALS = {
'amazon': {'name': 'Amazon', 'fa_icon': 'amazon'},
'google': {'name': 'Google', 'fa_icon': 'google'},
'google-oauth2': {'name': 'Google', 'fa_icon': 'google'},
'google-plus': {'name': 'Google+', 'fa_icon': 'google-plus'},
'github': {'name': 'GitHub', 'fa_icon': 'github'},
'github-enterprise': {'name': 'GitHub Enterprise', 'fa_icon': 'github'},
'bitbucket': {'name': 'Bitbucket', 'fa_icon': 'bitbucket'},
'bitbucket-oauth2': {'name': 'Bitbucket', 'fa_icon': 'bitbucket'},
'coinbase': {'name': 'Coinbase', 'fa_icon': 'bitcoin'},
'email': {'name': 'Email', 'fa_icon': 'at'},
'opensuse': {'name': 'openSUSE', 'fl_icon': 'opensuse'},
'ubuntu': {'name': 'Ubuntu', 'fl_icon': 'ubuntu'},
'fedora': {'name': 'Fedora', 'fl_icon': 'fedora'},
'facebook': {'name': 'Facebook', 'fa_icon': 'facebook'},
'twitter': {'name': 'Twitter', 'fa_icon': 'twitter'},
'stackoverflow': {'name': 'Stack Overflow', 'fa_icon': 'stackoverflow'},
}
FA_SOCIAL_TEMPLATE = u'<i class="fa fa-lg fa-4x fa-wl-social fa-{fa_icon}"></i><br />{name}'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment