Display a message to inform the user to download and install an older version...

This commit is contained in:
Chris Witterholt 2024-02-27 22:04:40 +00:00 committed by Raoul Snyman
parent 6bc5dc3c91
commit 20aea00c85
4 changed files with 752 additions and 833 deletions

View File

@ -23,16 +23,16 @@
"lint": "ng lint"
},
"dependencies": {
"@angular/animations": "^17.1.3",
"@angular/cdk": "^17.1.2",
"@angular/common": "^17.1.3",
"@angular/compiler": "^17.1.3",
"@angular/core": "^17.1.3",
"@angular/forms": "^17.1.3",
"@angular/material": "^17.1.2",
"@angular/platform-browser": "^17.1.3",
"@angular/platform-browser-dynamic": "^17.1.3",
"@angular/router": "^17.1.3",
"@angular/animations": "^17.2.1",
"@angular/cdk": "^17.2.1",
"@angular/common": "^17.2.1",
"@angular/compiler": "^17.2.1",
"@angular/core": "^17.2.1",
"@angular/forms": "^17.2.1",
"@angular/material": "^17.2.1",
"@angular/platform-browser": "^17.2.1",
"@angular/platform-browser-dynamic": "^17.2.1",
"@angular/router": "^17.2.1",
"@fontsource/roboto": "^5.0.8",
"core-js": "^3.35.1",
"hammerjs": "^2.0.8",
@ -41,15 +41,15 @@
"zone.js": "^0.14.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.1.3",
"@angular-eslint/builder": "^17.1.3",
"@angular-eslint/eslint-plugin": "^17.1.3",
"@angular-eslint/eslint-plugin-template": "^17.1.3",
"@angular-eslint/schematics": "^17.1.3",
"@angular-eslint/template-parser": "^17.1.3",
"@angular/cli": "~17.1.3",
"@angular/compiler-cli": "^17.1.3",
"@angular/language-service": "^17.1.3",
"@angular-devkit/build-angular": "^17.2.1",
"@angular-eslint/builder": "^17.2.1",
"@angular-eslint/eslint-plugin": "^17.2.1",
"@angular-eslint/eslint-plugin-template": "^17.2.1",
"@angular-eslint/schematics": "^17.2.1",
"@angular-eslint/template-parser": "^17.2.1",
"@angular/cli": "~17.2.1",
"@angular/compiler-cli": "^17.2.1",
"@angular/language-service": "^17.2.1",
"@chiragrupani/karma-chromium-edge-launcher": "^2.3.1",
"@types/jasmine": "~5.1.4",
"@types/jasminewd2": "~2.0.13",

View 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>

View File

@ -1,23 +1,27 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>OpenLP Remote</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
<script src="/assets/version.js"></script>
</head>
<head>
<meta charset="utf-8">
<title>OpenLP Remote</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
<script src="/assets/version.js"></script>
</head>
<body>
<app-root>
<div style="margin-top: 80px;">
<div class="preloader">
<img src="/assets/loading.png" alt="Loading .....">
<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>
<div style="margin-top: 80px;">
<div class="preloader">
<img src="/assets/loading.png" alt="Loading .....">
</div>
</div>
</div>
</app-root>
</body>
</app-root>
</body>
</html>

1484
yarn.lock

File diff suppressed because it is too large Load Diff