add login via google
This commit is contained in:
parent
9f061cf458
commit
6fbce9694f
@ -9,6 +9,10 @@
|
||||
<i class="fa fa-{{ "twitter" }}"></i>
|
||||
{{ "twitter" | trans({}, 'HWIOAuthBundle') }}
|
||||
</a>
|
||||
<a class="btn btn-default btn-{{ "google" }}" href="{{ hwi_oauth_login_url("google") }}">
|
||||
<i class="fa fa-{{ "google" }}"></i>
|
||||
{{ "google" | trans({}, 'HWIOAuthBundle') }}
|
||||
</a>
|
||||
|
||||
{#{% for owner in hwi_oauth_resource_owners() %}#}
|
||||
{#<a class="btn btn-default btn-block btn-{{ owner }}" href="{{ hwi_oauth_login_url(owner) }}">#}
|
||||
|
@ -15,8 +15,11 @@
|
||||
{% endblock %}
|
||||
<div id="bodyland">
|
||||
{% include 'default/header.html.twig' %}
|
||||
<div class="container">
|
||||
|
||||
{% block body %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% include 'default/footer.html.twig' %}
|
||||
</div>
|
||||
{% block javascripts %}
|
||||
|
@ -112,15 +112,16 @@
|
||||
|
||||
{% else %}
|
||||
|
||||
{#<a class="btn btn-default btn-block btn-twitter" href="{{ hwi_oauth_login_url('disqus') }}">#}
|
||||
{#<i class="fa fa-google"></i>#}
|
||||
{#Via {{ 'disqus' | trans({}, 'HWIOAuthBundle') }}#}
|
||||
{#</a>#}
|
||||
|
||||
<h1 class="text-right">
|
||||
<a class="btn btn-default btn-{{ "google" }}" href="{{ hwi_oauth_login_url("google") }}">
|
||||
<i class="fa fa-{{ "google" }}"></i>
|
||||
Login via {{ "google" | trans({}, 'HWIOAuthBundle') }}
|
||||
</a>
|
||||
<a class="btn btn-default btn-{{ "twitter" }}"
|
||||
href="{{ hwi_oauth_login_url("twitter") }}">
|
||||
<i class="fa fa-{{ "twitter" }}"></i>
|
||||
{{ "twitter" | trans({}, 'HWIOAuthBundle') }}
|
||||
Login via {{ "twitter" | trans({}, 'HWIOAuthBundle') }}
|
||||
</a>
|
||||
<a class="btn btn-primary"
|
||||
href="{{ path('fos_user_security_login') }}">
|
||||
|
Loading…
Reference in New Issue
Block a user