aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/login.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-15 13:42:44 +0300
committerGravatar Vitaly Takmazov2018-02-15 14:07:18 +0300
commit5627e75ae2e816227d1274aceeb2d5c138d27278 (patch)
tree07a3f9e9a7ebead61f6ed806a3c46145a487eb91 /juick-www/src/main/webapp/WEB-INF/views/login.html
parentbc28b399695f1f99f8ee58cb4f0f0e4bd7d52508 (diff)
www: telegram login
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/login.html')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/login.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/login.html b/juick-www/src/main/webapp/WEB-INF/views/login.html
index f1ea75d29..1ddc5f909 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/login.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/login.html
@@ -123,9 +123,11 @@
{{ i18n("messages","label.register") }}:
<div id="facebook"><a href="/_fblogin" rel="nofollow">Facebook</a></div>
<div id="vk"><a href="/_vklogin" rel="nofollow">ВКонтакте</a></div>
- <div id="xmpp"><a href="#" onclick="$('#xmppinfo').toggle(); return false">XMPP</a>
- <div id="xmppinfo">{{ i18n("messages","message.sendLoginToXmpp") | raw }}</a></div>
- </div>
+ <div id="tg">
+ <script src="https://telegram.org/js/telegram-widget.js?3"
+ data-telegram-login="Juick_bot" data-size="medium" data-radius="0"
+ data-auth-url="https://juick.com/_tglogin" data-request-access="write"></script>
+ </div>
</div>
<div id="signin">
<a href="#" onclick="$('#signinform').toggle(); $('#nickinput').focus(); return false">