diff options
author | 2018-02-15 13:42:44 +0300 | |
---|---|---|
committer | 2018-02-15 14:07:18 +0300 | |
commit | 5627e75ae2e816227d1274aceeb2d5c138d27278 (patch) | |
tree | 07a3f9e9a7ebead61f6ed806a3c46145a487eb91 /juick-www/src/main/webapp | |
parent | bc28b399695f1f99f8ee58cb4f0f0e4bd7d52508 (diff) |
www: telegram login
Diffstat (limited to 'juick-www/src/main/webapp')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/login.html | 8 |
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 f1ea75d2..1ddc5f90 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"> |