2014-12-06 18:57:15 +01:00
|
|
|
{# Import the theme's layout. #}
|
|
|
|
{% extends "!layout.html" %}
|
2013-04-26 21:49:26 +02:00
|
|
|
|
2014-12-06 18:57:15 +01:00
|
|
|
{# Custom CSS overrides #}
|
2014-12-07 00:53:41 +01:00
|
|
|
{% set bootswatch_css_custom = ['_static/style.css', "../../css/converse.min.css"] %}
|
2017-02-16 20:52:20 +01:00
|
|
|
{% set script_files = script_files + ["../../dist/converse.min.js", "../../analytics.js"] %}
|
2014-12-07 00:53:41 +01:00
|
|
|
|
|
|
|
{# Add some extra stuff before and use existing with 'super()' call. #}
|
|
|
|
{% block footer %}
|
|
|
|
{{ super() }}
|
|
|
|
<script>
|
|
|
|
require(['converse'], function (converse) {
|
|
|
|
converse.initialize({
|
|
|
|
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
|
|
|
|
keepalive: true,
|
|
|
|
play_sounds: true,
|
2016-01-15 07:03:10 +01:00
|
|
|
message_carbons: true,
|
2014-12-07 00:53:41 +01:00
|
|
|
roster_groups: true,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|