2019-04-22 23:10:11 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2020-05-09 15:07:42 +00:00
|
|
|
<head>
|
2020-05-11 19:39:11 +00:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Chimeverse</title>
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="node_modules/open-iconic/font/css/open-iconic.css">
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="node_modules/converse.js/dist/converse.min.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="resources/css/app.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="resources/css/_footer.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="resources/css/page-about.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="resources/css/page-default.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="resources/css/page-login.css">
|
2020-05-12 15:06:16 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="resources/css/page-settings.css">
|
2020-05-09 15:07:42 +00:00
|
|
|
</head>
|
|
|
|
<base href="./">
|
|
|
|
<body ng-app="app">
|
2020-05-11 19:39:11 +00:00
|
|
|
<div class="main-background"></div>
|
|
|
|
<div class="main-window" ng-controller="AppController" ng-cloak>
|
|
|
|
<div ng-show="state == 'default'">
|
2020-05-13 20:00:36 +00:00
|
|
|
<ng-include src="'./app/views/default/page.html'"></ng-include>
|
2020-05-11 19:39:11 +00:00
|
|
|
</div>
|
|
|
|
<div ng-show="state == 'login'">
|
|
|
|
<ng-include src="'./app/views/login/page.html'"></ng-include>
|
|
|
|
</div>
|
|
|
|
<div ng-show="state == 'about'">
|
|
|
|
<ng-include src="'./app/views/about/page.html'"></ng-include>
|
|
|
|
</div>
|
|
|
|
<div ng-show="state == 'settings'">
|
2020-05-12 15:06:16 +00:00
|
|
|
<ng-include src="'./app/views/settings/page.html'"></ng-include>
|
2020-05-11 19:39:11 +00:00
|
|
|
</div>
|
2020-05-09 15:07:42 +00:00
|
|
|
</div>
|
2020-05-11 19:39:11 +00:00
|
|
|
<!--
|
2019-04-25 14:18:06 +00:00
|
|
|
@see comment https://github.com/signalapp/libsignal-protocol-javascript/issues/6#issuecomment-247208665
|
|
|
|
-->
|
2020-05-11 19:39:11 +00:00
|
|
|
<script>
|
|
|
|
window.nodeRequire = require
|
|
|
|
delete window.require
|
|
|
|
</script>
|
|
|
|
<!-- Place libsignal at libs dir as it's no more distributed with converse.js -->
|
|
|
|
<script src="libs/converse.js/3rdparty/libsignal-protocol.js"></script>
|
|
|
|
<script>
|
|
|
|
window.require = window.nodeRequire
|
|
|
|
delete window.nodeRequire
|
|
|
|
</script>
|
|
|
|
<script>
|
|
|
|
// You can also require other files to run in this process
|
|
|
|
require('./node_modules/converse.js/dist/locales/' + navigator.language + '-LC_MESSAGES-converse-po.js')
|
|
|
|
require('./node_modules/converse.js/dist/locales/dayjs/' + navigator.language + '.js')
|
|
|
|
require('./node_modules/converse.js/dist/emojis.js')
|
|
|
|
require('./node_modules/converse.js/dist/converse.js')
|
|
|
|
require('./renderer.js')
|
|
|
|
</script>
|
|
|
|
<script>
|
|
|
|
function loadJs(url) {
|
2020-05-13 20:00:36 +00:00
|
|
|
var script = document.createElement('script')
|
|
|
|
script.src = url
|
|
|
|
script.setAttribute('async', 'true')
|
|
|
|
document.documentElement.firstChild.appendChild(script)
|
2020-05-11 19:39:11 +00:00
|
|
|
}
|
|
|
|
setTimeout(function () {
|
2020-05-13 20:00:36 +00:00
|
|
|
loadJs("./node_modules/github-buttons/dist/buttons.min.js")
|
|
|
|
}, 500)
|
2020-05-11 19:39:11 +00:00
|
|
|
</script>
|
2020-05-09 15:07:42 +00:00
|
|
|
</body>
|
|
|
|
</html>
|