add converse.js

This commit is contained in:
Jörg Thalheim 2013-10-05 21:16:48 +02:00
parent a5f80774c9
commit f45ae386a0
3 changed files with 198 additions and 0 deletions

View File

@ -1,3 +1,19 @@
-content_for(:head)
== stylesheet_link_tag "converse.min.css"
== javascript_include_tag "converse.min.js"
javascript:
require(['converse'], function (converse) {
converse.initialize({
auto_list_rooms: false,
auto_subscribe: false,
bosh_service_url: '//higgsboson.tk:5820/http-bind', // Please use this connection manager only for testing purposes
hide_muc_server: false,
i18n: locales.en,
prebind: false,
show_controlbox_by_default: true,
xhr_user_search: false
});
});
h1 Our Jabber-Server h1 Our Jabber-Server
h2 Connection information h2 Connection information
@ -31,3 +47,10 @@ p
' Don't have a jabber client? ' Don't have a jabber client?
' Just visit our ' Just visit our
a href="http://muc.higgsboson.tk/" browser-based chat a href="http://muc.higgsboson.tk/" browser-based chat
#chatpanel
#collective-xmpp-chat-data"
#toggle-controlbox
a href="#" class="chat toggle-online-users"
strong.conn-feedback Toggle chat
strong#online-count style="display: none" (0)

163
source/javascripts/converse.min.js vendored Normal file

File diff suppressed because one or more lines are too long

12
source/stylesheets/converse.min.css vendored Normal file

File diff suppressed because one or more lines are too long