]>
Commit | Line | Data |
---|---|---|
1 | <!DOCTYPE html> | |
2 | <html> | |
3 | <head> | |
4 | <meta charset="UTF-8"> | |
5 | <meta name="viewport" content="width=device-width, initial-scale=1"> | |
6 | ||
7 | <meta name="theme-color" content="#fff" /> | |
8 | <meta property="og:platform" content="PeerTube" /> | |
9 | <!-- Web Manifest file --> | |
10 | <link rel="manifest" href="/manifest.webmanifest"> | |
11 | ||
12 | <link rel="icon" type="image/png" href="/client/assets/images/favicon.png" /> | |
13 | ||
14 | <!-- base url --> | |
15 | <base href="/"> | |
16 | ||
17 | <!-- /!\ The following comment is used by the server to prerender some tags /!\ --> | |
18 | ||
19 | <!-- title tag --> | |
20 | <!-- description tag --> | |
21 | <!-- custom css tag --> | |
22 | <!-- meta tags --> | |
23 | ||
24 | <!-- /!\ Do not remove it /!\ --> | |
25 | </head> | |
26 | ||
27 | <!-- 3. Display the application --> | |
28 | <body id="custom-css"> | |
29 | ||
30 | <noscript> | |
31 | <p>You are blocking Javascript, and we totally get that. However this endpoint uses Angular, so the front end is in full JavaScript and won't work without it. | |
32 | </br></br> | |
33 | There will be other non JS-based clients to access PeerTube, but for now none is available. Be sure we will update this page with a list once alternative clients are developed. You can certainly develop you own in the meantime as our code is open source and libre software under GNU AGPLv3.0. | |
34 | </br></br> | |
35 | There might be numerous reasons you refuse to use JavaScript. If it has just to do with security (or lack thereof) of JavaScript-based webapps, then depending on your threat menace you might want to go through the code running on the node you are trying to access, and look for security audits. | |
36 | </p> | |
37 | </noscript> | |
38 | ||
39 | <div id="incompatible-browser" class="alert alert-danger" style="display: none"> | |
40 | <p>We are sorry but it seems that PeerTube is not compatible with your web browser.</p> | |
41 | <p>Please try with the latest version of <a href="https://www.mozilla.org" target="_blank">Mozilla Firefox</a>.</p> | |
42 | <p>If you think this is a mistake, do not hesitate <a href="https://github.com/Chocobozzz/PeerTube/issues/new" target="_blank">to report it</a>.</p> | |
43 | </div> | |
44 | ||
45 | <script type="text/javascript"> | |
46 | window.onerror = function () { | |
47 | var elem = document.getElementById('incompatible-browser') | |
48 | if (elem.className.indexOf('browser-ok') === -1) { | |
49 | elem.style.display = 'block' | |
50 | } | |
51 | } | |
52 | </script> | |
53 | ||
54 | <my-app> | |
55 | </my-app> | |
56 | ||
57 | </body> | |
58 | </html> |