index.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <!DOCTYPE html>
  2. <!--
  3. Copyright © 2016-2018 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" translate translate-attr-content="meta.DESCRIPTION"
  23. content="Chat from your desktop with Threema Web and have full access to all chats, contacts and media files."/>
  24. <!-- Webmanifest -->
  25. <link rel="manifest" href="manifest.webmanifest">
  26. <!-- Favicon -->
  27. <link rel="icon" href="img/favicon.ico?v=[[VERSION]]" type="image/x-icon"/>
  28. <link rel="shortcut icon" href="img/favicon.ico?v=[[VERSION]]" type="image/x-icon"/>
  29. <!-- Angular -->
  30. <link rel="stylesheet" href="node_modules/angular/angular-csp.css?v=[[VERSION]]">
  31. <!-- Third party stylesheets -->
  32. <link rel="stylesheet" href="node_modules/angular-material/angular-material.min.css?v=[[VERSION]]">
  33. <link rel="stylesheet" href="libs/emojione/emojione-sprite-32.min.css?v=[[VERSION]]">
  34. <link rel="stylesheet" href="node_modules/croppie/croppie.css?v=[[VERSION]]">
  35. <!-- Fonts -->
  36. <link rel="stylesheet" href="fonts/roboto.css?v=[[VERSION]]" type="text/css">
  37. <link rel="stylesheet" href="fonts/material.css?v=[[VERSION]]" type="text/css">
  38. <!-- Own stylesheets -->
  39. <link rel="stylesheet" href="css/app.css?v=[[VERSION]]">
  40. </head>
  41. <body ng-controller="StatusController as ctrl" class="{{ ctrl.statusClass }}" ng-class="{expanded: ctrl.expandStatusBar}">
  42. <img src="img/bg1.jpg?v=1" id="background-image" draggable="false"/>
  43. <noscript>
  44. <img id="logo-noscript" src="img/logo.svg?v=[[VERSION]]"></img>
  45. <div>
  46. <h2>Error: JavaScript not supported</h2>
  47. <p>Please enable JavaScript in your browser to be able to use Threema Web.</p>
  48. </div>
  49. </noscript>
  50. <div id="main-wrapper" ng-cloak ng-class="{wide: ctrl.wide()}">
  51. <header>
  52. <h1 id="title">
  53. <div id="logo" ng-include src="'img/logo.svg?v=[[VERSION]]'"></div>
  54. </h1>
  55. </header>
  56. <!-- The overlay box that shows up if media is previewed -->
  57. <mediabox></mediabox>
  58. <div id="main">
  59. <div id="status-bar">
  60. <status-bar active="ctrl.expandStatusBar"></status-bar>
  61. </div>
  62. <div id="main-content" ui-view></div>
  63. </div>
  64. <div class="androidonly" ng-controller="AndroidOnlyController as ctrl" ng-show="ctrl.show">
  65. <div><i class="material-icons md-24">android</i> <span translate>welcome.ANDROID_ONLY</span></div>
  66. </div>
  67. <footer>
  68. <ul>
  69. <li>Version [[VERSION]]</li>
  70. <li><a
  71. href="https://threema.ch/threema-web"
  72. target="_blank"
  73. rel="noopener noreferrer" translate>welcome.MORE_ABOUT_WEB</a>
  74. </li>
  75. </ul>
  76. </footer>
  77. </div>
  78. <!-- Angular core -->
  79. <script src="node_modules/angular/angular.js?v=[[VERSION]]"></script>
  80. <script src="node_modules/angular-aria/angular-aria.min.js?v=[[VERSION]]"></script>
  81. <script src="node_modules/angular-animate/angular-animate.min.js?v=[[VERSION]]"></script>
  82. <script src="node_modules/angular-sanitize/angular-sanitize.min.js?v=[[VERSION]]"></script>
  83. <script src="node_modules/angular-route/angular-route.min.js?v=[[VERSION]]"></script>
  84. <!-- Polyfills -->
  85. <script src="node_modules/webrtc-adapter/out/adapter_no_edge.js?v=[[VERSION]]"></script>
  86. <script src="node_modules/babel-es6-polyfill/browser-polyfill.min.js?v=[[VERSION]]"></script>
  87. <!-- Various libraries -->
  88. <script src="node_modules/qrcode-generator/js/qrcode.js?v=[[VERSION]]"></script>
  89. <script src="node_modules/angular-qrcode/angular-qrcode.js?v=[[VERSION]]"></script>
  90. <script src="node_modules/angular-material/angular-material.min.js?v=[[VERSION]]"></script>
  91. <script src="node_modules/angular-ui-router/release/angular-ui-router.min.js?v=[[VERSION]]"></script>
  92. <script src="libs/emojione/emojione.min.js?v=[[VERSION]]"></script>
  93. <script src="node_modules/angularjs-scroll-glue/src/scrollglue.js?v=[[VERSION]]"></script>
  94. <script src="libs/angular-inview/angular-inview.js?v=[[VERSION]]"></script>
  95. <!-- Translation -->
  96. <script src="node_modules/messageformat/messageformat.min.js?v=[[VERSION]]"></script>
  97. <script src="node_modules/angular-translate/dist/angular-translate.min.js?v=[[VERSION]]"></script>
  98. <script src="node_modules/angular-translate/dist/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js?v=[[VERSION]]"></script>
  99. <script src="node_modules/angular-translate/dist/angular-translate-interpolation-messageformat/angular-translate-interpolation-messageformat.min.js?v=[[VERSION]]"></script>
  100. <!-- Other -->
  101. <script src="node_modules/msgpack-lite/dist/msgpack.min.js?v=[[VERSION]]"></script>
  102. <script src="node_modules/tweetnacl/nacl-fast.min.js?v=[[VERSION]]"></script>
  103. <script src="node_modules/file-saver/FileSaver.min.js?v=[[VERSION]]"></script>
  104. <script src="node_modules/js-sha256/build/sha256.min.js?v=[[VERSION]]"></script>
  105. <script src="node_modules/@saltyrtc/chunked-dc/dist/chunked-dc.es5.js?v=[[VERSION]]"></script>
  106. <script src="node_modules/@saltyrtc/client/dist/saltyrtc-client.es5.js?v=[[VERSION]]"></script>
  107. <script src="node_modules/@saltyrtc/task-webrtc/dist/saltyrtc-task-webrtc.es5.js?v=[[VERSION]]"></script>
  108. <script src="node_modules/@saltyrtc/task-relayed-data/dist/saltyrtc-task-relayed-data.es5.js?v=[[VERSION]]"></script>
  109. <script src="node_modules/croppie/croppie.min.js?v=[[VERSION]]"></script>
  110. <script src="node_modules/autolinker/dist/Autolinker.min.js?v=[[VERSION]]"></script>
  111. <!-- App -->
  112. <script src="dist/app.js?v=[[VERSION]]"></script>
  113. </body>
  114. </html>