Builtin ConverseJS:

* Building with webpack. TODO: include assets.
* Page template
This commit is contained in:
John Livingston
2021-02-20 20:42:41 +01:00
parent fbfb38392d
commit d9e461f984
7 changed files with 129 additions and 8 deletions

26
conversejs/index.html Normal file
View File

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html class="no-js">
<head>
<title>Converse</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="Converse XMPP/Jabber Chat"/>
<script src="{{BASE_STATIC_URL}}/conversejs.js"></script>
<style type="text/css">
#conversejs .chat-head {
display: none;
}
</style>
</head>
<body class="converse-fullscreen">
<noscript>You need to enable JavaScript to run the Converse.js chat app.</noscript>
<div id="conversejs-bg"></div>
<script>
initConverse({
baseStaticUrl : '{{BASE_STATIC_URL}}',
room: '{{ROOM}}',
boshServiceUrl: '{{BOSH_SERVICE_URL}}'
})
</script>
</body>
</html>