index.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <!DOCTYPE html>
  2. <!--
  3. Copyright © 2016-2017 Threema GmbH (https://threema.ch/).
  4. This file is part of Threema Web.
  5. Threema Web is free software: you can redistribute it and/or modify it
  6. under the terms of the GNU Affero General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or (at
  8. your option) any later version.
  9. This program is distributed in the hope that it will be useful, but
  10. WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
  12. General Public License for more details.
  13. You should have received a copy of the GNU Affero General Public License
  14. along with Threema Web. If not, see <http://www.gnu.org/licenses/>.
  15. -->
  16. <html ng-app="3ema" ng-strict-di>
  17. <head>
  18. <meta charset="utf-8">
  19. <meta name="viewport" content="width=device-width, initial-scale=1">
  20. <meta name="referrer" content="no-referrer">
  21. <title>Threema Web</title>
  22. <meta name="description" content="Chat from your desktop with Threema Web and have full access to all chats, contacts and media files.">
  23. <!-- Favicon -->
  24. <link rel="icon" href="img/favicon.ico?v=[[VERSION]]" type="image/x-icon"/>
  25. <link rel="shortcut icon" href="img/favicon.ico?v=[[VERSION]]" type="image/x-icon"/>
  26. <!-- Angular -->
  27. <link rel="stylesheet" href="node_modules/angular/angular-csp.css?v=[[VERSION]]">
  28. <!-- Third party stylesheets -->
  29. <link rel="stylesheet" href="node_modules/angular-material/angular-material.min.css?v=[[VERSION]]">
  30. <link rel="stylesheet" href="libs/emojione/emojione.sprites.32.css?v=[[VERSION]]">
  31. <link rel="stylesheet" href="node_modules/croppie/croppie.css?v=[[VERSION]]">
  32. <!-- Fonts -->
  33. <link rel="stylesheet" href="fonts/roboto.css?v=[[VERSION]]" type="text/css">
  34. <link rel="stylesheet" href="fonts/material.css?v=[[VERSION]]" type="text/css">
  35. <!-- Own stylesheets -->
  36. <link rel="stylesheet" href="css/app.css?v=[[VERSION]]">
  37. </head>
  38. <body ng-controller="StatusController as ctrl" class="{{ ctrl.statusClass }}" ng-class="{expanded: ctrl.expandStatusBar}">
  39. <img src="img/bg1.jpg?v=1" id="background-image" draggable="false"/>
  40. <noscript>
  41. <img id="logo-noscript" src="img/logo.svg?v=[[VERSION]]"></img>
  42. <h2>Error: JavaScript not supported</h2>
  43. <p>Please enable JavaScript in your browser to be able to use Threema Web.</p>
  44. </noscript>
  45. <div id="main-wrapper" ng-cloak ng-class="{wide: ctrl.wide()}">
  46. <header>
  47. <h1 id="title">
  48. <div id="logo" ng-include src="'img/logo.svg?v=[[VERSION]]'"></div>
  49. </h1>
  50. </header>
  51. <div id="main">
  52. <div id="status-bar">
  53. <status-bar active="ctrl.expandStatusBar"></status-bar>
  54. </div>
  55. <div id="main-content" ui-view></div>
  56. </div>
  57. <div class="androidonly" ng-controller="AndroidOnlyController as ctrl" ng-show="ctrl.show">
  58. <div><i class="material-icons md-24">android</i> <span translate>welcome.ANDROID_ONLY</span></div>
  59. </div>
  60. <footer>
  61. <ul>
  62. <li>Version [[VERSION]]</li>
  63. <li><a
  64. href="https://threema.ch/threema-web"
  65. target="_blank"
  66. rel="noopener noreferrer" translate>welcome.MORE_ABOUT_WEB</a>
  67. </li>
  68. </ul>
  69. </footer>
  70. </div>
  71. <!-- Angular core -->
  72. <script src="node_modules/angular/angular.js?v=[[VERSION]]"></script>
  73. <script src="node_modules/angular-aria/angular-aria.min.js?v=[[VERSION]]"></script>
  74. <script src="node_modules/angular-animate/angular-animate.min.js?v=[[VERSION]]"></script>
  75. <script src="node_modules/angular-sanitize/angular-sanitize.min.js?v=[[VERSION]]"></script>
  76. <script src="node_modules/angular-route/angular-route.min.js?v=[[VERSION]]"></script>
  77. <!-- Polyfills -->
  78. <script src="node_modules/webrtc-adapter/out/adapter_no_edge.js?v=[[VERSION]]"></script>
  79. <script src="node_modules/babel-es6-polyfill/browser-polyfill.min.js?v=[[VERSION]]"></script>
  80. <!-- Various libraries -->
  81. <script src="node_modules/qrcode-generator/js/qrcode.js?v=[[VERSION]]"></script>
  82. <script src="node_modules/angular-qrcode/angular-qrcode.js?v=[[VERSION]]"></script>
  83. <script src="node_modules/angular-material/angular-material.min.js?v=[[VERSION]]"></script>
  84. <script src="node_modules/angular-ui-router/release/angular-ui-router.min.js?v=[[VERSION]]"></script>
  85. <script src="libs/emojione/emojione.min.js?v=[[VERSION]]"></script>
  86. <script src="node_modules/angularjs-scroll-glue/src/scrollglue.js?v=[[VERSION]]"></script>
  87. <script src="node_modules/angular-inview/angular-inview.js?v=[[VERSION]]"></script>
  88. <!-- Translation -->
  89. <script src="node_modules/messageformat/messageformat.min.js?v=[[VERSION]]"></script>
  90. <script src="node_modules/angular-translate/dist/angular-translate.min.js?v=[[VERSION]]"></script>
  91. <script src="node_modules/angular-translate/dist/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js?v=[[VERSION]]"></script>
  92. <script src="node_modules/angular-translate/dist/angular-translate-interpolation-messageformat/angular-translate-interpolation-messageformat.min.js?v=[[VERSION]]"></script>
  93. <!-- Other -->
  94. <script src="node_modules/msgpack-lite/dist/msgpack.min.js?v=[[VERSION]]"></script>
  95. <script src="node_modules/tweetnacl/nacl-fast.min.js?v=[[VERSION]]"></script>
  96. <script src="node_modules/file-saver/FileSaver.min.js?v=[[VERSION]]"></script>
  97. <script src="node_modules/js-sha256/build/sha256.min.js?v=[[VERSION]]"></script>
  98. <script src="node_modules/chunked-dc/dist/chunked-dc.es5.js?v=[[VERSION]]"></script>
  99. <script src="node_modules/saltyrtc-client/dist/saltyrtc-client.es5.js?v=[[VERSION]]"></script>
  100. <script src="node_modules/saltyrtc-task-webrtc/dist/saltyrtc-task-webrtc.es5.js?v=[[VERSION]]"></script>
  101. <script src="node_modules/croppie/croppie.min.js?v=[[VERSION]]"></script>
  102. <script src="node_modules/autolinker/dist/Autolinker.min.js?v=[[VERSION]]"></script>
  103. <!-- App -->
  104. <script src="dist/app.js?v=[[VERSION]]"></script>
  105. </body>
  106. </html>