index.html 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. <meta name="google" content="notranslate">
  22. <title>Threema Web</title>
  23. <meta name="description" translate translate-attr-content="meta.DESCRIPTION"
  24. content="Chat from your desktop with Threema Web and have full access to all chats, contacts and media files.">
  25. <!-- Favicon / Webmanifest / Browserconfig -->
  26. <link rel="manifest" href="manifest.webmanifest?v=[[VERSION]]">
  27. <link rel="apple-touch-icon" sizes="180x180" href="img/favicon/apple-touch-icon.png?v=[[VERSION]]">
  28. <link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png?v=[[VERSION]]">
  29. <link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png?v=[[VERSION]]">
  30. <link rel="mask-icon" href="img/favicon/safari-pinned-tab.svg?v=[[VERSION]]" color="#5bbad5">
  31. <link rel="shortcut icon" href="img/favicon/favicon.ico?v=[[VERSION]]">
  32. <meta name="msapplication-TileColor" content="#313131">
  33. <meta name="msapplication-config" content="browserconfig.xml?v=[[VERSION]]">
  34. <meta name="theme-color" content="#4f4f4f">
  35. <!-- Angular -->
  36. <link rel="stylesheet" href="node_modules/angular/angular-csp.css?v=[[VERSION]]">
  37. <!-- Third party stylesheets -->
  38. <link rel="stylesheet" href="node_modules/angular-material/angular-material.min.css?v=[[VERSION]]">
  39. <link rel="stylesheet" href="libs/emojione/emojione-sprite-32.min.css?v=[[VERSION]]">
  40. <link rel="stylesheet" href="node_modules/croppie/croppie.css?v=[[VERSION]]">
  41. <!-- Fonts -->
  42. <link rel="stylesheet" href="fonts/roboto.css?v=[[VERSION]]" type="text/css">
  43. <link rel="stylesheet" href="fonts/material.css?v=[[VERSION]]" type="text/css">
  44. <!-- Own stylesheets -->
  45. <link rel="stylesheet" href="css/app.css?v=[[VERSION]]">
  46. </head>
  47. <body ng-controller="StatusController as ctrl" class="{{ ctrl.statusClass }}" ng-class="{expanded: ctrl.expandStatusBar}">
  48. <img src="img/bg.jpg?v=[[VERSION]]" aria-label="Background image: Blurred photo of a mountain" id="background-image" draggable="false">
  49. <noscript>
  50. <img id="logo-noscript" src="img/logo.svg?v=[[VERSION]]"/>
  51. <div>
  52. <h2>Error: JavaScript not supported</h2>
  53. <p>Please enable JavaScript in your browser to be able to use Threema Web.</p>
  54. </div>
  55. </noscript>
  56. <div id="main-wrapper" ng-cloak ng-class="{wide: ctrl.wide()}">
  57. <header>
  58. <h1 id="title" aria-label="Threema Web Logo">
  59. <div id="logo" ng-include src="'img/logo.svg?v=[[VERSION]]'"></div>
  60. </h1>
  61. </header>
  62. <!-- The overlay box that shows up if media is previewed -->
  63. <mediabox></mediabox>
  64. <div id="main" translate-cloak>
  65. <div id="status-bar">
  66. <status-bar active="ctrl.expandStatusBar"></status-bar>
  67. </div>
  68. <div id="main-content" ui-view></div>
  69. </div>
  70. <footer ng-controller="FooterController as ctrl">
  71. <ul translate-cloak>
  72. <li><a ng-click="ctrl.showVersionInfo('[[VERSION]]')" ng-keypress="ctrl.showVersionInfo('[[VERSION]]', $event)" tabindex="0">Version [[VERSION]] {{ ctrl.config.VERSION_MOUNTAIN }}</a></li>
  73. <li><a href="https://threema.ch/threema-web" target="_blank" rel="noopener noreferrer" tabindex="0" translate>welcome.MORE_ABOUT_WEB</a></li>
  74. <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>
  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/qrcode.js?v=[[VERSION]]"></script>
  89. <script src="node_modules/qrcode-generator/qrcode_UTF8.js?v=[[VERSION]]"></script>
  90. <script src="node_modules/angular-qrcode/angular-qrcode.js?v=[[VERSION]]"></script>
  91. <script src="node_modules/angular-material/angular-material.min.js?v=[[VERSION]]"></script>
  92. <script src="node_modules/@uirouter/angularjs/release/angular-ui-router.min.js?v=[[VERSION]]"></script>
  93. <script src="libs/emojione/emojione.min.js?v=[[VERSION]]"></script>
  94. <script src="node_modules/angularjs-scroll-glue/src/scrollglue.js?v=[[VERSION]]"></script>
  95. <script src="libs/angular-inview/angular-inview.js?v=[[VERSION]]"></script>
  96. <script src="libs/future.js?v=[[VERSION]]"></script>
  97. <!-- Translation -->
  98. <script src="node_modules/messageformat/messageformat.min.js?v=[[VERSION]]"></script>
  99. <script src="node_modules/angular-translate/dist/angular-translate.min.js?v=[[VERSION]]"></script>
  100. <script src="node_modules/angular-translate/dist/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js?v=[[VERSION]]"></script>
  101. <script src="node_modules/angular-translate/dist/angular-translate-interpolation-messageformat/angular-translate-interpolation-messageformat.min.js?v=[[VERSION]]"></script>
  102. <!-- Other -->
  103. <script src="node_modules/msgpack-lite/dist/msgpack.min.js?v=[[VERSION]]"></script>
  104. <script src="node_modules/tweetnacl/nacl-fast.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>