diff options
Diffstat (limited to 'jitsi-meet/static')
| -rw-r--r-- | jitsi-meet/static/404.html | 13 | ||||
| -rw-r--r-- | jitsi-meet/static/authError.html | 10 | ||||
| -rw-r--r-- | jitsi-meet/static/close.html | 23 | ||||
| -rw-r--r-- | jitsi-meet/static/close.js | 67 | ||||
| -rw-r--r-- | jitsi-meet/static/close2.html | 23 | ||||
| -rw-r--r-- | jitsi-meet/static/close3.html | 0 | ||||
| -rw-r--r-- | jitsi-meet/static/close3.js | 0 | ||||
| -rw-r--r-- | jitsi-meet/static/deviceSelectionPopup.html | 21 | ||||
| -rw-r--r-- | jitsi-meet/static/dialInInfo.html | 17 | ||||
| -rw-r--r-- | jitsi-meet/static/msredirect.html | 12 | ||||
| -rw-r--r-- | jitsi-meet/static/oauth.html | 27 | ||||
| -rw-r--r-- | jitsi-meet/static/offline.html | 64 | ||||
| -rw-r--r-- | jitsi-meet/static/prejoin.html | 43 | ||||
| -rw-r--r-- | jitsi-meet/static/pwa/icons/icon192.png | bin | 0 -> 7344 bytes | |||
| -rw-r--r-- | jitsi-meet/static/pwa/icons/icon512.png | bin | 0 -> 20515 bytes | |||
| -rw-r--r-- | jitsi-meet/static/pwa/manifest.json | 30 | ||||
| -rw-r--r-- | jitsi-meet/static/pwa/registrator.js | 12 | ||||
| -rw-r--r-- | jitsi-meet/static/recommendedBrowsers.html | 23 | ||||
| -rw-r--r-- | jitsi-meet/static/settingsToolbarAdditionalContent.html | 1 | ||||
| -rw-r--r-- | jitsi-meet/static/welcomePageAdditionalContent.html | 1 |
20 files changed, 387 insertions, 0 deletions
diff --git a/jitsi-meet/static/404.html b/jitsi-meet/static/404.html new file mode 100644 index 0000000..376f4de --- /dev/null +++ b/jitsi-meet/static/404.html @@ -0,0 +1,13 @@ +<html> +<head> + <!--#include virtual="/base.html" --> + <link rel="stylesheet" href="css/all.css"/> + <!--#include virtual="/title.html" --> +</head> +<body> + <div class="error_page"> + <h2>404 Not Found</h2> + <p class="error_page__message">You can create new conversation <a class="link" href="/">here</a></p> + </div> +</body> +</html> diff --git a/jitsi-meet/static/authError.html b/jitsi-meet/static/authError.html new file mode 100644 index 0000000..e12558a --- /dev/null +++ b/jitsi-meet/static/authError.html @@ -0,0 +1,10 @@ +<html> +<head> + <!--#include virtual="/base.html" --> + <link rel="stylesheet" href="css/all.css"/> + <!--#include virtual="/title.html" --> +</head> +<body> + <div class="redirectPageMessage">Sorry! You are not allowed to be here :(</div> +</body> +</html> diff --git a/jitsi-meet/static/close.html b/jitsi-meet/static/close.html new file mode 100644 index 0000000..a22341d --- /dev/null +++ b/jitsi-meet/static/close.html @@ -0,0 +1,23 @@ +<html> +<head> + <!--#include virtual="/base.html" --> + <link rel="stylesheet" href="css/all.css"/> + <!--#include virtual="/title.html" --> + <script><!--#include virtual="/interface_config.js" --></script> + <script src="static/close.js"></script> +</head> +<body> +<div class="redirectPageMessage"> + <div class="thanks-msg"> + <p>Thank you for your feedback!</p> + </div> + <div class="hint-msg"> + <p> + <span id="hintQuestion">Did you know?</span> + <span class="hint-msg__holder" id="hintMessage"></span> + </p> + <div class="happy-software"></div> + </div> +</div> +</body> +</html> diff --git a/jitsi-meet/static/close.js b/jitsi-meet/static/close.js new file mode 100644 index 0000000..52eb94e --- /dev/null +++ b/jitsi-meet/static/close.js @@ -0,0 +1,67 @@ +/* global interfaceConfig */ +// list of tips +const hints = [ + 'You can pin participants by clicking on their thumbnails.', + 'You can tell others you have something to say by using the "Raise Hand" ' + + 'feature', + 'You can learn about key shortcuts by pressing Shift+?', + 'You can learn more about the state of everyone\'s connection by hovering ' + + 'on the bars in their thumbnail', + 'You can hide all thumbnails by using the button in the bottom right corner' +]; + +/** + * Get a random hint message from hint array. + * + * @return {string} the hint message. + */ +function getHint() { + const l = hints.length - 1; + const n = Math.round(Math.random() * l); + + return hints[n]; +} + +/** + * Inserts text message + * into DOM element + * + * @param id {string} element identificator + * @param msg {string} text message + */ +function insertTextMsg(id, msg) { + const el = document.getElementById(id); + + if (el) { + el.innerHTML = msg; + } +} + +/** + * Sets the hint and thanks messages. Will be executed on load event. + */ +function onLoad() { + // Intentionally use string concatenation as this file does not go through + // babel but IE11 is still supported. + // eslint-disable-next-line prefer-template + const thankYouMessage = 'Thank you for using ' + interfaceConfig.APP_NAME; + + // Works only for close2.html because close.html doesn't have this element. + insertTextMsg('thanksMessage', thankYouMessage); + + // If there is a setting show a special message only for the guests + if (interfaceConfig.CLOSE_PAGE_GUEST_HINT) { + if (window.sessionStorage.getItem('guest') === 'true') { + const element = document.getElementById('hintQuestion'); + + element.classList.add('hide'); + insertTextMsg('hintMessage', interfaceConfig.CLOSE_PAGE_GUEST_HINT); + + return; + } + } + + insertTextMsg('hintMessage', getHint()); +} + +window.onload = onLoad; diff --git a/jitsi-meet/static/close2.html b/jitsi-meet/static/close2.html new file mode 100644 index 0000000..3904724 --- /dev/null +++ b/jitsi-meet/static/close2.html @@ -0,0 +1,23 @@ +<html> +<head> + <!--#include virtual="/base.html" --> + <link rel="stylesheet" href="css/all.css"/> + <!--#include virtual="/title.html" --> + <script><!--#include virtual="/interface_config.js" --></script> + <script src="static/close.js"></script> +</head> +<body> + <div class="redirectPageMessage"> + <div class="thanks-msg"> + <p id="thanksMessage"></p> + </div> + <div class="hint-msg"> + <p> + <span id="hintQuestion">Did you know?</span> + <span class="hint-msg__holder" id="hintMessage"></span> + </p> + <div class="happy-software"></div> + </div> + </div> +</body> +</html> diff --git a/jitsi-meet/static/close3.html b/jitsi-meet/static/close3.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/jitsi-meet/static/close3.html diff --git a/jitsi-meet/static/close3.js b/jitsi-meet/static/close3.js new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/jitsi-meet/static/close3.js diff --git a/jitsi-meet/static/deviceSelectionPopup.html b/jitsi-meet/static/deviceSelectionPopup.html new file mode 100644 index 0000000..b3dc6d7 --- /dev/null +++ b/jitsi-meet/static/deviceSelectionPopup.html @@ -0,0 +1,21 @@ +<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html"> + <head> + <meta charset="utf-8"> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <!--#include virtual="/base.html" --> + + <link rel="stylesheet" href="css/all.css"> + + <!--#include virtual="/title.html" --> + <script><!--#include virtual="/interface_config.js" --></script> + <script> + window.config = {}; + </script> + <script src="libs/lib-jitsi-meet.min.js?v=139"></script> + <script src="libs/device_selection_popup_bundle.min.js?v=1"></script> + </head> + <body> + <div id="react"></div> + </body> +</html> diff --git a/jitsi-meet/static/dialInInfo.html b/jitsi-meet/static/dialInInfo.html new file mode 100644 index 0000000..4fa1955 --- /dev/null +++ b/jitsi-meet/static/dialInInfo.html @@ -0,0 +1,17 @@ +<html> + <head> + <meta charset="utf-8"> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <!--#include virtual="/base.html" --> + <!--#include virtual="/title.html" --> + + <link rel="stylesheet" href="css/all.css"> + </head> + <body> + <div id="react"></div> + <script><!--#include virtual="/config.js" --></script> + <script><!--#include virtual="/interface_config.js" --></script> + <script src="libs/dial_in_info_bundle.min.js"></script> + </body> +</html> diff --git a/jitsi-meet/static/msredirect.html b/jitsi-meet/static/msredirect.html new file mode 100644 index 0000000..7094777 --- /dev/null +++ b/jitsi-meet/static/msredirect.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<body> +<script> +window.opener + && window.opener.postMessage({ + type: 'ms-login', + url: window.location.href + }, window.location.origin); +</script> +</body> +</html> diff --git a/jitsi-meet/static/oauth.html b/jitsi-meet/static/oauth.html new file mode 100644 index 0000000..b5e082e --- /dev/null +++ b/jitsi-meet/static/oauth.html @@ -0,0 +1,27 @@ +<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html"> +<head> + <meta charset="utf-8"> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <!--#include virtual="/base.html" --> + <!--#include virtual="/title.html" --> + <script> + (function() { + var windowName = window.name; + var parentWindow = window.opener; + if (parentWindow + && parentWindow.JitsiMeetJS + && parentWindow.JitsiMeetJS.app) { + var globalNS = parentWindow.JitsiMeetJS.app; + if (globalNS.oauthCallbacks + && typeof globalNS.oauthCallbacks[windowName] + === 'function') { + globalNS.oauthCallbacks[windowName](window.location.href); + } + } + })(); + </script> +</head> +<body> +</body> +</html> diff --git a/jitsi-meet/static/offline.html b/jitsi-meet/static/offline.html new file mode 100644 index 0000000..0aaf7c6 --- /dev/null +++ b/jitsi-meet/static/offline.html @@ -0,0 +1,64 @@ +<html> + +<head> + <head> + <!--#include virtual="head.html" --> + <meta charset="utf-8"> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <!--#include virtual="base.html" --> + + <link rel="apple-touch-icon" href="images/apple-touch-icon.png"> + <!--#include virtual="title.html" --> + </head> + <style> + body, + .content { + display: flex; + } + + .content { + align-items: center; + flex-direction: column; + font-family: Arial, Helvetica, sans-serif; + font-size: 14px; + font-weight: 400; + line-height: 19px; + margin: auto; + max-width: 376px; + text-align: center; + } + + h4 { + font-size: 24px; + font-weight: 600; + line-height: 32px; + margin: 24px auto; + } + + .icon { + background-color: #FDD13A; + border-radius: 50%; + box-sizing: border-box; + height: 56px; + padding: 16px; + width: 56px; + } + </style> +</head> + +<body> + <div class="content"> + <div class="icon"> + <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> + <path fill-rule="evenodd" clip-rule="evenodd" + d="M21.8799 19.5904L12.8501 3.49284C12.7614 3.33481 12.6288 3.20474 12.4676 3.11782C11.9982 2.86467 11.4083 3.03257 11.1502 3.49284L2.1202 19.5904C2.04143 19.7309 2.00012 19.8885 2.00012 20.0488C2.00012 20.5741 2.43443 20.9999 2.97017 20.9999H21.0299C21.1934 20.9999 21.3542 20.9594 21.4974 20.8822C21.9668 20.629 22.138 20.0507 21.8799 19.5904ZM4.61072 19.0976L12 5.92477L19.3892 19.0976H4.61072ZM11.0302 16.2445C11.0302 15.7192 11.456 15.2934 11.9813 15.2934H12.0191C12.5444 15.2934 12.9702 15.7192 12.9702 16.2445C12.9702 16.7698 12.5444 17.1956 12.0191 17.1956H11.9813C11.456 17.1956 11.0302 16.7698 11.0302 16.2445ZM12.0002 10.5378C11.4645 10.5378 11.0302 10.9721 11.0302 11.5078V13.3722C11.0302 13.9079 11.4645 14.3422 12.0002 14.3422C12.5359 14.3422 12.9702 13.9079 12.9702 13.3722V11.5078C12.9702 10.9721 12.5359 10.5378 12.0002 10.5378Z" + fill="#131519" fill-opacity="0.87" /> + </svg> + </div> + <h4>Connection error</h4> + Your device may be offline or our servers may be experiencing problems. + </div> +</body> + +</html>
\ No newline at end of file diff --git a/jitsi-meet/static/prejoin.html b/jitsi-meet/static/prejoin.html new file mode 100644 index 0000000..e88bfd6 --- /dev/null +++ b/jitsi-meet/static/prejoin.html @@ -0,0 +1,43 @@ +<html xmlns="http://www.w3.org/1999/html"> + <head> + <meta charset="utf-8"> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <!--#include virtual="/base.html" --> + <link rel="stylesheet" href="css/all.css"> + <script> + document.addEventListener('DOMContentLoaded', () => { + if (!JitsiMeetJS.app) { + return; + } + + const url = new URL(window.location.href); + const params = new URLSearchParams(url.search); + const showAvatar = params.get('showAvatar') === 'true'; + const showJoinActions = params.get('showJoinActions') === 'true'; + const showSkipPrejoin = params.get('showSkipPrejoin') === 'true'; + const css = params.get('style'); + const style = document.createElement('style'); + style.appendChild(document.createTextNode(css)); + document.head.appendChild(style); + + JitsiMeetJS.app.renderEntryPoint({ + Component: JitsiMeetJS.app.entryPoints.PREJOIN, + props: { + showAvatar, + showJoinActions, + showSkipPrejoin + } + }) + }) + </script> + <!--#include virtual="/title.html" --> + <script><!--#include virtual="/config.js" --></script> + <script><!--#include virtual="/interface_config.js" --></script> + <script src="libs/lib-jitsi-meet.min.js?v=139"></script> + <script src="libs/app.bundle.min.js?v=139"></script> + </head> + <body> + <div id="react"></div> + </body> +</html> diff --git a/jitsi-meet/static/pwa/icons/icon192.png b/jitsi-meet/static/pwa/icons/icon192.png Binary files differnew file mode 100644 index 0000000..665d1a3 --- /dev/null +++ b/jitsi-meet/static/pwa/icons/icon192.png diff --git a/jitsi-meet/static/pwa/icons/icon512.png b/jitsi-meet/static/pwa/icons/icon512.png Binary files differnew file mode 100644 index 0000000..399cb1c --- /dev/null +++ b/jitsi-meet/static/pwa/icons/icon512.png diff --git a/jitsi-meet/static/pwa/manifest.json b/jitsi-meet/static/pwa/manifest.json new file mode 100644 index 0000000..fb16caf --- /dev/null +++ b/jitsi-meet/static/pwa/manifest.json @@ -0,0 +1,30 @@ +{ + "android_package_name": "org.jitsi.meet", + "prefer_related_applications": true, + "related_applications": [ + { + "id": "org.jitsi.meet", + "platform": "chromeos_play" + } + ], + "short_name": "Jitsi Meet", + "name": "Jitsi Meet", + "icons": [ + { + "src": "icons/icon192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "icons/icon512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": "/", + "background_color": "#2a3a4b", + "display": "standalone", + "scope": "/", + "theme_color": "#2a3a4b" + } +
\ No newline at end of file diff --git a/jitsi-meet/static/pwa/registrator.js b/jitsi-meet/static/pwa/registrator.js new file mode 100644 index 0000000..3a01374 --- /dev/null +++ b/jitsi-meet/static/pwa/registrator.js @@ -0,0 +1,12 @@ +if ('serviceWorker' in navigator) { + window.addEventListener('load', () => { + navigator.serviceWorker + .register('pwa-worker.js') + .then(reg => { + console.log('Service worker registered.', reg); + }) + .catch(err => { + console.log(err); + }); + }); +} diff --git a/jitsi-meet/static/recommendedBrowsers.html b/jitsi-meet/static/recommendedBrowsers.html new file mode 100644 index 0000000..1249bad --- /dev/null +++ b/jitsi-meet/static/recommendedBrowsers.html @@ -0,0 +1,23 @@ +<html> +<head> + <!--#include virtual="/base.html" --> + <link rel="stylesheet" href="css/all.css"/> + <!--#include virtual="/title.html" --> +</head> +<body> + <div class = 'unsupported-desktop-browser'> + <h2 class = 'unsupported-desktop-browser__title'> + It looks like you're using a browser we don't fully support. + </h2> + <p class ='unsupported-desktop-browser__description'> + We recommend to try with the latest version of + <a + className = 'unsupported-desktop-browser__link' + href = 'https://www.google.com/chrome/' >Chrome</a> or + <a + class = 'unsupported-desktop-browser__link' + href = 'https://www.chromium.org/'>Chromium</a> + </p> + </div> +</body> +</html> diff --git a/jitsi-meet/static/settingsToolbarAdditionalContent.html b/jitsi-meet/static/settingsToolbarAdditionalContent.html new file mode 100644 index 0000000..a63bae9 --- /dev/null +++ b/jitsi-meet/static/settingsToolbarAdditionalContent.html @@ -0,0 +1 @@ +<template id="settings-toolbar-additional-content-template"></template> diff --git a/jitsi-meet/static/welcomePageAdditionalContent.html b/jitsi-meet/static/welcomePageAdditionalContent.html new file mode 100644 index 0000000..a62e078 --- /dev/null +++ b/jitsi-meet/static/welcomePageAdditionalContent.html @@ -0,0 +1 @@ +<template id = "welcome-page-additional-content-template"></template> |
