8999133dcc
WIP on a new feature: trying to guess current Peertube theme's colors, and apply them to ConverseJS.
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
<!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"/>
|
|
<link type="text/css" rel="stylesheet" media="screen" href="{{BASE_STATIC_URL}}conversejs/converse.min.css" />
|
|
<script type="text/javaScript" src="{{BASE_STATIC_URL}}conversejs/converse.min.js"></script>
|
|
<script type="text/javascript" src="{{BASE_STATIC_URL}}static/builtin.js"></script>
|
|
{{CONVERSEJS_AUTOCOLORS}}
|
|
</head>
|
|
<body class="converse-fullscreen theme-peertube">
|
|
<noscript>You need to enable JavaScript to run the Converse.js chat app.</noscript>
|
|
<div id="conversejs-bg" class="theme-peertube"></div>
|
|
<script type="text/javascript">
|
|
initConverse({
|
|
jid: '{{JID}}',
|
|
assetsPath : '{{BASE_STATIC_URL}}conversejs/',
|
|
room: '{{ROOM}}',
|
|
boshServiceUrl: '{{BOSH_SERVICE_URL}}',
|
|
websocketServiceUrl: '{{WS_SERVICE_URL}}',
|
|
authenticationUrl: '{{AUTHENTICATION_URL}}',
|
|
advancedControls: '{{ADVANCEDCONTROLS}}',
|
|
theme: '{{CONVERSEJS_THEME}}'
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|