forked from threema-ch/threema-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (119 loc) · 7.82 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<!--
Copyright © 2016-2019 Threema GmbH (https://threema.ch/).
This file is part of Threema Web.
Threema Web is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Threema Web. If not, see <http://www.gnu.org/licenses/>.
-->
<html ng-app="3ema" ng-strict-di ng-controller="StatusController as ctrl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="no-referrer">
<meta name="google" content="notranslate">
<title>Threema Web</title>
<meta name="description" translate translate-attr-content="meta.DESCRIPTION"
content="Chat from your desktop with Threema Web and have full access to all chats, contacts and media files.">
<!-- Favicon / Webmanifest / Browserconfig -->
<link rel="manifest" href="manifest.webmanifest?v=[[VERSION]]">
<link rel="apple-touch-icon" sizes="180x180" href="img/favicon/apple-touch-icon.png?v=[[VERSION]]">
<link rel="icon" type="image/png" sizes="32x32" href="{{ 'img/favicon/' + ctrl.faviconFilename + '?v=[[VERSION]]' }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ 'img/favicon/' + ctrl.faviconFilename + '?v=[[VERSION]]' }}">
<link rel="mask-icon" href="img/favicon/safari-pinned-tab.svg?v=[[VERSION]]" color="#333333">
<link rel="shortcut icon" href="img/favicon/favicon.ico?v=[[VERSION]]">
<meta name="msapplication-TileColor" content="#313131">
<meta name="msapplication-config" content="browserconfig.xml?v=[[VERSION]]">
<meta name="theme-color" content="#4f4f4f">
<!-- Angular -->
<link rel="stylesheet" href="node_modules/angular/angular-csp.css?v=[[VERSION]]">
<!-- Third party stylesheets -->
<link rel="stylesheet" href="node_modules/angular-material/angular-material.min.css?v=[[VERSION]]">
<link rel="stylesheet" href="node_modules/croppie/croppie.css?v=[[VERSION]]">
<!-- Fonts -->
<link rel="stylesheet" href="fonts/roboto.css?v=[[VERSION]]" type="text/css">
<link rel="stylesheet" href="fonts/material.css?v=[[VERSION]]" type="text/css">
<!-- Own stylesheets -->
<link rel="stylesheet" href="css/app.css?v=[[VERSION]]">
</head>
<body class="{{ ctrl.statusClass }}" ng-class="{expanded: ctrl.expandStatusBar}">
<img src="img/bg.jpg?v=[[VERSION]]" aria-label="Background image: Blurred photo of a mountain" id="background-image" draggable="false">
<noscript>
<img id="logo-noscript" src="img/logo.svg?v=[[VERSION]]"/>
<div>
<h2>Error: JavaScript not supported</h2>
<p>Please enable JavaScript in your browser to be able to use Threema Web.</p>
</div>
</noscript>
<div id="main-wrapper" ng-cloak ng-class="{wide: ctrl.wide()}">
<header>
<h1 id="title" aria-label="Threema Web Logo">
<span id="logo" ng-include src="'img/logo.svg?v=[[VERSION]]'"></span>
</h1>
</header>
<!-- The overlay box that shows up if media is previewed -->
<mediabox></mediabox>
<div id="main" translate-cloak>
<div id="status-bar">
<status-bar active="ctrl.expandStatusBar"></status-bar>
</div>
<div id="main-content" ui-view></div>
</div>
<footer ng-controller="FooterController as ctrl">
<ul translate-cloak>
<li><a ng-click="ctrl.showVersionInfo('[[VERSION]]')" ng-keypress="ctrl.showVersionInfo('[[VERSION]]', $event)" tabindex="0">Version [[VERSION]] {{ ctrl.config.VERSION_MOUNTAIN }}</a></li>
<li><a href="https://threema.ch/threema-web" target="_blank" rel="noopener noreferrer" tabindex="0" translate>welcome.MORE_ABOUT_WEB</a></li>
<li><a href="https://github.com/threema-ch/threema-web/blob/master/TRANSLATING.md" target="_blank" rel="noopener noreferrer" tabindex="0" translate>welcome.HELP_TRANSLATE</a></li>
</ul>
</footer>
</div>
<!-- Emoji -->
<link rel="stylesheet" href="emoji/activity.css?v=[[VERSION]]" type="text/css" media="all" />
<link rel="stylesheet" href="emoji/flags.css?v=[[VERSION]]" type="text/css" media="all" />
<link rel="stylesheet" href="emoji/food.css?v=[[VERSION]]" type="text/css" media="all" />
<link rel="stylesheet" href="emoji/nature.css?v=[[VERSION]]" type="text/css" media="all" />
<link rel="stylesheet" href="emoji/objects.css?v=[[VERSION]]" type="text/css" media="all" />
<link rel="stylesheet" href="emoji/people.css?v=[[VERSION]]" type="text/css" media="all" />
<link rel="stylesheet" href="emoji/symbols.css?v=[[VERSION]]" type="text/css" media="all" />
<link rel="stylesheet" href="emoji/travel.css?v=[[VERSION]]" type="text/css" media="all" />
<!-- Angular core -->
<script src="node_modules/angular/angular.js?v=[[VERSION]]"></script>
<script src="node_modules/angular-aria/angular-aria.min.js?v=[[VERSION]]"></script>
<script src="node_modules/angular-animate/angular-animate.min.js?v=[[VERSION]]"></script>
<script src="node_modules/angular-sanitize/angular-sanitize.min.js?v=[[VERSION]]"></script>
<script src="node_modules/angular-route/angular-route.min.js?v=[[VERSION]]"></script>
<!-- Polyfills -->
<script src="node_modules/webrtc-adapter/out/adapter_no_edge.js?v=[[VERSION]]"></script>
<!-- Various libraries -->
<script src="node_modules/qrcode-generator/qrcode.js?v=[[VERSION]]"></script>
<script src="node_modules/qrcode-generator/qrcode_UTF8.js?v=[[VERSION]]"></script>
<script src="node_modules/angular-qrcode/angular-qrcode.js?v=[[VERSION]]"></script>
<script src="node_modules/angular-material/angular-material.min.js?v=[[VERSION]]"></script>
<script src="node_modules/@uirouter/angularjs/release/angular-ui-router.min.js?v=[[VERSION]]"></script>
<script src="node_modules/angularjs-scroll-glue/src/scrollglue.js?v=[[VERSION]]"></script>
<script src="libs/angular-inview/angular-inview.js?v=[[VERSION]]"></script>
<script src="libs/future.js?v=[[VERSION]]"></script>
<!-- Translation -->
<script src="node_modules/messageformat/messageformat.min.js?v=[[VERSION]]"></script>
<script src="node_modules/angular-translate/dist/angular-translate.min.js?v=[[VERSION]]"></script>
<script src="node_modules/angular-translate/dist/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js?v=[[VERSION]]"></script>
<script src="node_modules/angular-translate/dist/angular-translate-interpolation-messageformat/angular-translate-interpolation-messageformat.min.js?v=[[VERSION]]"></script>
<!-- Other -->
<script src="node_modules/msgpack-lite/dist/msgpack.min.js?v=[[VERSION]]"></script>
<script src="node_modules/tweetnacl/nacl-fast.min.js?v=[[VERSION]]"></script>
<script src="node_modules/@saltyrtc/chunked-dc/dist/chunked-dc.es5.js?v=[[VERSION]]"></script>
<script src="node_modules/@saltyrtc/client/dist/saltyrtc-client.es5.js?v=[[VERSION]]"></script>
<script src="node_modules/@saltyrtc/task-webrtc/dist/saltyrtc-task-webrtc.es5.js?v=[[VERSION]]"></script>
<script src="node_modules/@saltyrtc/task-relayed-data/dist/saltyrtc-task-relayed-data.es5.js?v=[[VERSION]]"></script>
<script src="node_modules/croppie/croppie.min.js?v=[[VERSION]]"></script>
<!-- App -->
<script src="dist/app.bundle.js?v=[[VERSION]]"></script>
</body>
</html>