mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 19:32:49 +00:00
Display a message to inform the user to download and install an older version...
This commit is contained in:
parent
6bc5dc3c91
commit
20aea00c85
38
package.json
38
package.json
@ -23,16 +23,16 @@
|
|||||||
"lint": "ng lint"
|
"lint": "ng lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^17.1.3",
|
"@angular/animations": "^17.2.1",
|
||||||
"@angular/cdk": "^17.1.2",
|
"@angular/cdk": "^17.2.1",
|
||||||
"@angular/common": "^17.1.3",
|
"@angular/common": "^17.2.1",
|
||||||
"@angular/compiler": "^17.1.3",
|
"@angular/compiler": "^17.2.1",
|
||||||
"@angular/core": "^17.1.3",
|
"@angular/core": "^17.2.1",
|
||||||
"@angular/forms": "^17.1.3",
|
"@angular/forms": "^17.2.1",
|
||||||
"@angular/material": "^17.1.2",
|
"@angular/material": "^17.2.1",
|
||||||
"@angular/platform-browser": "^17.1.3",
|
"@angular/platform-browser": "^17.2.1",
|
||||||
"@angular/platform-browser-dynamic": "^17.1.3",
|
"@angular/platform-browser-dynamic": "^17.2.1",
|
||||||
"@angular/router": "^17.1.3",
|
"@angular/router": "^17.2.1",
|
||||||
"@fontsource/roboto": "^5.0.8",
|
"@fontsource/roboto": "^5.0.8",
|
||||||
"core-js": "^3.35.1",
|
"core-js": "^3.35.1",
|
||||||
"hammerjs": "^2.0.8",
|
"hammerjs": "^2.0.8",
|
||||||
@ -41,15 +41,15 @@
|
|||||||
"zone.js": "^0.14.3"
|
"zone.js": "^0.14.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^17.1.3",
|
"@angular-devkit/build-angular": "^17.2.1",
|
||||||
"@angular-eslint/builder": "^17.1.3",
|
"@angular-eslint/builder": "^17.2.1",
|
||||||
"@angular-eslint/eslint-plugin": "^17.1.3",
|
"@angular-eslint/eslint-plugin": "^17.2.1",
|
||||||
"@angular-eslint/eslint-plugin-template": "^17.1.3",
|
"@angular-eslint/eslint-plugin-template": "^17.2.1",
|
||||||
"@angular-eslint/schematics": "^17.1.3",
|
"@angular-eslint/schematics": "^17.2.1",
|
||||||
"@angular-eslint/template-parser": "^17.1.3",
|
"@angular-eslint/template-parser": "^17.2.1",
|
||||||
"@angular/cli": "~17.1.3",
|
"@angular/cli": "~17.2.1",
|
||||||
"@angular/compiler-cli": "^17.1.3",
|
"@angular/compiler-cli": "^17.2.1",
|
||||||
"@angular/language-service": "^17.1.3",
|
"@angular/language-service": "^17.2.1",
|
||||||
"@chiragrupani/karma-chromium-edge-launcher": "^2.3.1",
|
"@chiragrupani/karma-chromium-edge-launcher": "^2.3.1",
|
||||||
"@types/jasmine": "~5.1.4",
|
"@types/jasmine": "~5.1.4",
|
||||||
"@types/jasminewd2": "~2.0.13",
|
"@types/jasminewd2": "~2.0.13",
|
||||||
|
25
src/assets/notsupported.html
Normal file
25
src/assets/notsupported.html
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OpenLP Remote</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
Your browser is NOT supported.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Please download and install an older version of Web Remote from <a href="https://get.openlp.org/remote/">here</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>OpenLP Remote</title>
|
<title>OpenLP Remote</title>
|
||||||
@ -11,6 +10,11 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<script type="text/javascript">
|
||||||
|
if (!(/Edge?\/(1{2}[2-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(1{2}[3-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(1{2}[2-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(16\.\d+|(1[7-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(16[._]\d+|(1[7-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)/.test(navigator.userAgent))) {
|
||||||
|
window.location.replace("/assets/notsupported.html");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<app-root>
|
<app-root>
|
||||||
<div style="margin-top: 80px;">
|
<div style="margin-top: 80px;">
|
||||||
<div class="preloader">
|
<div class="preloader">
|
||||||
|
Loading…
Reference in New Issue
Block a user