]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/index.html
Add modal to display live information
[github/Chocobozzz/PeerTube.git] / client / src / index.html
CommitLineData
7da18e44 1<!DOCTYPE html>
4a6995be
C
2<html>
3 <head>
4a6995be
C
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6
93df58cc 7 <meta name="theme-color" content="#fff" />
96f7fff1 8 <meta property="og:platform" content="PeerTube" />
9ccf1119 9 <!-- Web Manifest file -->
caf2aaf4 10 <link rel="manifest" href="/manifest.webmanifest?[manifestContentHash]">
6583edee 11
caf2aaf4
K
12 <link rel="icon" type="image/png" href="/client/assets/images/favicon.png?[faviconContentHash]" />
13
14 <!-- logo background-image -->
15 <style type="text/css">
16 .icon-logo {
17 background-image: url(/client/assets/images/logo.svg?[logoContentHash]);
18 }
19 </style>
8635a2c7 20
4d19d2f1 21 <!-- base url -->
63c4db6d 22 <base href="/">
ffb321be
C
23
24 <!-- /!\ The following comment is used by the server to prerender some tags /!\ -->
25
26 <!-- title tag -->
27 <!-- description tag -->
28 <!-- custom css tag -->
29 <!-- meta tags -->
30
31 <!-- /!\ Do not remove it /!\ -->
4a6995be
C
32 </head>
33
34 <!-- 3. Display the application -->
d49b872a 35 <body id="custom-css">
4d19d2f1 36
f41e76cd 37 <noscript>
bc584963 38 <p>It seems you are either <strong>blocking or disabling Javascript</strong> on your browser, and we totally get that. However this endpoint uses Angular, so the front end is in full JavaScript and won't work without it.</p>
1198edf4 39
bc584963 40 <p>There might be numerous reasons you refuse to use JavaScript. If it just has to do with security (or lack thereof) of JavaScript-based web applications, 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.</p>
1198edf4 41
9770baee 42 <p>There are other non JS-based unofficial clients to access PeerTube. You can find a list maintained by the PeerTube project in <a href="https://framagit.org/framasoft/peertube/documentation/-/raw/master/use-third-party-application.md">the thid-party applications section</a>. You can also develop your own as our code is open source and libre software under the <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" target="_blank" rel="noopener">GNU AGPLv3.0</a> and documented on <a href="https://docs.joinpeertube.org/api-rest-reference.html">docs.joinpeertube.org</a>.</p>
f41e76cd
RK
43 </noscript>
44
73e09f27
C
45 <div id="incompatible-browser" class="alert alert-danger" style="display: none">
46 <p>We are sorry but it seems that PeerTube is not compatible with your web browser.</p>
47 <p>Please try with the latest version of <a href="https://www.mozilla.org" target="_blank">Mozilla Firefox</a>.</p>
48 <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>
49 </div>
50
51 <script type="text/javascript">
6c733e46 52 function displayIncompatibleBrowser () {
73e09f27
C
53 var elem = document.getElementById('incompatible-browser')
54 if (elem.className.indexOf('browser-ok') === -1) {
55 elem.style.display = 'block'
56 }
57 }
6c733e46
C
58
59 window.onerror = function () {
60 displayIncompatibleBrowser()
61 }
62
63 if (/MSIE|Trident/.test(window.navigator.userAgent) ) {
64 displayIncompatibleBrowser()
65 }
73e09f27
C
66 </script>
67
5555f886
C
68 <my-app>
69 </my-app>
4d19d2f1 70
4a6995be
C
71 </body>
72</html>