vk
This commit is contained in:
@@ -85,6 +85,17 @@
|
||||
<p style="padding-top: 8px; font-size: 24px;">{{ account.date_joined.date }}</p>
|
||||
</td>
|
||||
</tr>
|
||||
{% if account == user %}
|
||||
<tr>
|
||||
<td>
|
||||
<h2><i class="fa fa-users"></i></h2>
|
||||
</td>
|
||||
<td><div style="width: 20px;"></div></td>
|
||||
<td>
|
||||
<a href="https://oauth.vk.com/authorize?client_id=8123759&redirect_uri=http://demo.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>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<td>
|
||||
<h2><i class="fa fa-desktop"></i></h2>
|
||||
|
@@ -55,7 +55,9 @@
|
||||
</div>
|
||||
<div>
|
||||
<a href="https://t.me/sprint_notifications_bot" target="_blank" class="sub btn btn-dark form">Регистрация</a>
|
||||
</div>
|
||||
</div><br>
|
||||
или войти с помощью<br><br>
|
||||
<a href="https://oauth.vk.com/authorize?client_id=8123759&redirect_uri=http://demo.dev.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>
|
||||
</center>
|
||||
</div>
|
||||
{% endblock %}
|
9
templates/vk_auth.html
Normal file
9
templates/vk_auth.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends 'base_main.html' %}
|
||||
|
||||
{% block scripts %}
|
||||
function onLoad() {
|
||||
window.location.href = window.location.href.replace('#', '?');
|
||||
}
|
||||
{% endblock %}
|
||||
|
||||
{% block onload %}onLoad(){% endblock %}
|
Reference in New Issue
Block a user