vk
This commit is contained in:
@@ -51,8 +51,8 @@
|
||||
</td>
|
||||
<td><div style="width: 20px;"></div></td>
|
||||
<td>
|
||||
<a href="https://oauth.vk.com/authorize?client_id=8123759&redirect_uri=http://dev.sprinthub.ru/vk_add&display=page&response_type=token&v=5.59"><img style="width: 40px; height: 40px;" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/VK_Compact_Logo_%282021-present%29.svg/1200px-VK_Compact_Logo_%282021-present%29.svg.png"></a>
|
||||
{% if account.vk_user_id %}
|
||||
<a href="https://oauth.vk.com/authorize?client_id=51755815&redirect_uri=https://platform.sprinthub.ru/vk_auth&display=page&response_type=token&v=5.59';"><img style="width: 40px; height: 40px;" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/VK_Compact_Logo_%282021-present%29.svg/1200px-VK_Compact_Logo_%282021-present%29.svg.png"></a>
|
||||
{% if account.vk_id %}
|
||||
<div style="margin-top: -15px; margin-left: 30px;"><i style="color: green;" class="fa fa-check-circle"></i></div>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
11
templates/vk_auth.html
Normal file
11
templates/vk_auth.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends 'layouts/base.html' %}
|
||||
|
||||
{% block onload %}onLoad();{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
<script>
|
||||
function onLoad() {
|
||||
window.location.href = window.location.href.replace('#', '?');
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user