2019-04-22 23:10:11 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2020-05-09 15:07:42 +00:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Chimeverse</title>
|
2020-05-09 21:06:57 +00:00
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="node_modules/open-iconic/font/css/open-iconic.css">
|
2020-05-09 15:07:42 +00:00
|
|
|
<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/page-default.css">
|
2020-05-09 21:06:57 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="resources/css/login-form.css">
|
2020-05-09 15:07:42 +00:00
|
|
|
</head>
|
|
|
|
<base href="./">
|
|
|
|
<body ng-app="app">
|
|
|
|
<div class="main-background"></div>
|
|
|
|
<div class="main-window" ng-controller="AppController" ng-cloak>
|
|
|
|
<div ng-show="state == 'default'">
|
|
|
|
<ng-include src="'./app/views/default/page.html'" onload="getCredentialsAndLogin()"></ng-include>
|
|
|
|
</div>
|
2020-05-09 21:06:57 +00:00
|
|
|
<div ng-show="state == 'login'">
|
|
|
|
<ng-include src="'./app/views/login/page.html'"></ng-include>
|
2019-04-25 00:35:36 +00:00
|
|
|
</div>
|
2020-05-09 15:07:42 +00:00
|
|
|
<div ng-show="state == 'settings'">
|
|
|
|
settings
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-04-22 23:10:11 +00:00
|
|
|
|
2020-05-09 15:07:42 +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-09 15:07:42 +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>
|
2020-05-11 18:26:51 +00:00
|
|
|
<script async defer src="node_modules/github-buttons/dist/buttons.min.js"></script>
|
2020-05-09 15:07:42 +00:00
|
|
|
<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>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|