index.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. <!-- Favicon / Webmanifest / Browserconfig -->
  25. <link rel="manifest" href="manifest.webmanifest?v=[[VERSION]]">
  26. <link rel="apple-touch-icon" sizes="180x180" href="img/favicon/apple-touch-icon.png?v=[[VERSION]]">
  27. <link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png?v=[[VERSION]]">
  28. <link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png?v=[[VERSION]]">
  29. <link rel="mask-icon" href="img/favicon/safari-pinned-tab.svg?v=[[VERSION]]" color="#5bbad5">
  30. <link rel="shortcut icon" href="img/favicon/favicon.ico?v=[[VERSION]]">
  31. <meta name="msapplication-TileColor" content="#313131">
  32. <meta name="msapplication-config" content="browserconfig.xml?v=[[VERSION]]">
  33. <meta name="theme-color" content="#4f4f4f">
  34. <!-- Angular -->
  35. <link rel="stylesheet" href="node_modules/angular/angular-csp.css?v=[[VERSION]]">
  36. <!-- Third party stylesheets -->
  37. <link rel="stylesheet" href="node_modules/angular-material/angular-material.min.css?v=[[VERSION]]">
  38. <link rel="stylesheet" href="libs/emojione/emojione-sprite-32.min.css?v=[[VERSION]]">
  39. <link rel="stylesheet" href="node_modules/croppie/croppie.css?v=[[VERSION]]">
  40. <!-- Fonts -->
  41. <link rel="stylesheet" href="fonts/roboto.css?v=[[VERSION]]" type="text/css">
  42. <link rel="stylesheet" href="fonts/material.css?v=[[VERSION]]" type="text/css">
  43. <!-- Own stylesheets -->
  44. <link rel="stylesheet" href="css/app.css?v=[[VERSION]]">
  45. </head>
  46. <body ng-controller="StatusController as ctrl" class="{{ ctrl.statusClass }}" ng-class="{expanded: ctrl.expandStatusBar}">
  47. <img src="img/bg.jpg?v=[[VERSION]]" aria-label="Background image: Blurred photo of a mountain" id="background-image" draggable="false">
  48. <noscript>
  49. <img id="logo-noscript" src="img/logo.svg?v=[[VERSION]]"/>
  50. <div>
  51. <h2>Error: JavaScript not supported</h2>
  52. <p>Please enable JavaScript in your browser to be able to use Threema Web.</p>
  53. </div>
  54. </noscript>
  55. <div id="main-wrapper" ng-cloak ng-class="{wide: ctrl.wide()}">
  56. <header>
  57. <h1 id="title" aria-label="Threema Web Logo">
  58. <div id="logo" ng-include src="'img/logo.svg?v=[[VERSION]]'"></div>
  59. </h1>
  60. </header>
  61. <!-- The overlay box that shows up if media is previewed -->
  62. <mediabox></mediabox>
  63. <div id="main">
  64. <div id="status-bar">
  65. <status-bar active="ctrl.expandStatusBar"></status-bar>
  66. </div>
  67. <div id="main-content" ui-view></div>
  68. </div>
  69. <footer ng-controller="FooterController as ctrl">
  70. <ul>
  71. <li><a ng-click="ctrl.showVersionInfo('[[VERSION]]')" ng-keypress="ctrl.showVersionInfo('[[VERSION]]', $event)" tabindex="0">Version [[VERSION]] {{ ctrl.config.VERSION_MOUNTAIN }}</a></li>
  72. <li><a href="https://threema.ch/threema-web" target="_blank" rel="noopener noreferrer" tabindex="0" translate>welcome.MORE_ABOUT_WEB</a>
  73. </li>
  74. </ul>
  75. </footer>
  76. </div>
  77. <!-- Angular core -->
  78. <script src="node_modules/angular/angular.js?v=[[VERSION]]"></script>
  79. <script src="node_modules/angular-aria/angular-aria.min.js?v=[[VERSION]]"></script>
  80. <script src="node_modules/angular-animate/angular-animate.min.js?v=[[VERSION]]"></script>
  81. <script src="node_modules/angular-sanitize/angular-sanitize.min.js?v=[[VERSION]]"></script>
  82. <script src="node_modules/angular-route/angular-route.min.js?v=[[VERSION]]"></script>
  83. <!-- Polyfills -->
  84. <script src="node_modules/webrtc-adapter/out/adapter_no_edge.js?v=[[VERSION]]"></script>
  85. <script src="node_modules/babel-es6-polyfill/browser-polyfill.min.js?v=[[VERSION]]"></script>
  86. <!-- Various libraries -->
  87. <script src="node_modules/qrcode-generator/qrcode.js?v=[[VERSION]]"></script>
  88. <script src="node_modules/qrcode-generator/qrcode_UTF8.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/@uirouter/angularjs/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. <script src="libs/future.js?v=[[VERSION]]"></script>
  96. <!-- Translation -->
  97. <script src="node_modules/messageformat/messageformat.min.js?v=[[VERSION]]"></script>
  98. <script src="node_modules/angular-translate/dist/angular-translate.min.js?v=[[VERSION]]"></script>
  99. <script src="node_modules/angular-translate/dist/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js?v=[[VERSION]]"></script>
  100. <script src="node_modules/angular-translate/dist/angular-translate-interpolation-messageformat/angular-translate-interpolation-messageformat.min.js?v=[[VERSION]]"></script>
  101. <!-- Other -->
  102. <script src="node_modules/msgpack-lite/dist/msgpack.min.js?v=[[VERSION]]"></script>
  103. <script src="node_modules/tweetnacl/nacl-fast.min.js?v=[[VERSION]]"></script>
  104. <script src="node_modules/@saltyrtc/chunked-dc/dist/chunked-dc.es5.js?v=[[VERSION]]"></script>
  105. <script src="node_modules/@saltyrtc/client/dist/saltyrtc-client.es5.js?v=[[VERSION]]"></script>
  106. <script src="node_modules/@saltyrtc/task-webrtc/dist/saltyrtc-task-webrtc.es5.js?v=[[VERSION]]"></script>
  107. <script src="node_modules/@saltyrtc/task-relayed-data/dist/saltyrtc-task-relayed-data.es5.js?v=[[VERSION]]"></script>
  108. <script src="node_modules/croppie/croppie.min.js?v=[[VERSION]]"></script>
  109. <script src="node_modules/autolinker/dist/Autolinker.min.js?v=[[VERSION]]"></script>
  110. <!-- App -->
  111. <script src="dist/app.js?v=[[VERSION]]"></script>
  112. </body>
  113. </html>