0.1.337 add google authorization button
This commit is contained in:
@@ -2671,6 +2671,10 @@ button#send_feedback_form:active{
|
|||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#reg_or_text{
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.cards_item_2>.cards_item_text>div, .cards_item_3>.cards_item_text>div{
|
.cards_item_2>.cards_item_text>div, .cards_item_3>.cards_item_text>div{
|
||||||
color: #1d1e20;
|
color: #1d1e20;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,10 +29,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="button_register"><button onclick="SendLoginForm(this)">{% translate "Войти" %}</button></div>
|
<div class="button_register"><button onclick="SendLoginForm(this)">{% translate "Войти" %}</button></div>
|
||||||
<div class="agree_text_l">{% translate "Авторизуясь, вы соглашаетесь с Лицензионным соглашением Политикой конфиденциальности" %}</div>
|
<div class="agree_text_l">{% translate "Авторизуясь, вы соглашаетесь с Лицензионным соглашением Политикой конфиденциальности" %}</div>
|
||||||
{# <div>Или</div>#}
|
<div id="reg_or_text">{% translate "Или" %}</div>
|
||||||
{# <div id = "google_text" class="google"><img src="/static/img/png/google.png" alt="">#}
|
|
||||||
{# <div>Войти через Google</div>#}
|
<a href="{% url 'social:begin' 'google-oauth2' %}">
|
||||||
{# </div>#}
|
<div id = "google_text" class="google"><img src="/static/img/png/google.png" alt="">
|
||||||
|
<div> {% translate "Войти через" %} Google</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
<div class="call_to_reg">{% translate "Нет аккаунта?" %} <a href="/ru/profile/registration/">{% translate "Зарегистрируйтесь" %}</a></div>
|
<div class="call_to_reg">{% translate "Нет аккаунта?" %} <a href="/ru/profile/registration/">{% translate "Зарегистрируйтесь" %}</a></div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user