@live-change/frontend-template 0.8.25 → 0.8.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/front/index.html +61 -57
  2. package/package.json +39 -39
package/front/index.html CHANGED
@@ -1,65 +1,69 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head>
4
- <!--head-->
5
- </head>
6
- <body>
7
- <!--body-tags-open-->
8
- <div id="app"><!--app-html--></div>
9
- <!--app-data-->
10
- <!--body-tags-->
11
- <script type="module" src="/src/entry-client.js"></script>
3
+ <head>
4
+ <!--head-->
5
+ </head>
6
+ <body>
7
+ <!--body-tags-open-->
8
+ <div id="app"><!--app-html--></div>
9
+ <!--app-data-->
10
+ <!--body-tags-->
11
+ <script type="module" src="/src/entry-client.js"></script>
12
12
 
13
- <div>
14
- <div id="not-supported" style="display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
13
+ <div>
14
+ <div id="not-supported" style="display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
15
15
  z-index: 1000; background-color: black; color: white; font-size: 20px; font-family: sans-serif;
16
16
  align-items: center; justify-content: center; overflow-y: auto">
17
- <div style=" padding: 2em;">
18
- <h1 style="margin-bottom: 1.23em">Your browser is not supported.</h1>
19
- <p>We apologize for the inconvenience, but it seems that your current web browser version does not support our web application.</p>
20
- <p>In order to use our service, you would need to upgrade to, or install, one of the following browsers:</p>
21
- <ul>
22
- <li>Microsoft Edge 88 or later</li>
23
- <li>Mozilla Firefox 78 or later</li>
24
- <li>Google Chrome 87 or later</li>
25
- <li>Apple Safari 14 or later</li>
26
- </ul>
27
- <p>Please note that our application does not function with older browser versions. We've optimized our service for the above-mentioned browsers to ensure robust functionality and a smooth user experience.</p>
28
- <p>If you need assistance with updating your browser or installing a new one, please consult your browser's help documentation or contact your IT support.</p>
29
- <p>Thank you for your understanding and cooperation. We're eager to deliver a great experience with our web application.</p>
30
- </div>
31
- </div>
17
+ <div style="padding: 2em;">
18
+ <h1 style="margin-bottom: 1.23em">Your browser is not supported.</h1>
19
+ <p>We apologize for the inconvenience, but it seems that your current web browser version does not support
20
+ our web application.</p>
21
+ <p>In order to use our service, you would need to upgrade to, or install, one of the following browsers:</p>
22
+ <ul>
23
+ <li>Microsoft Edge 88 or later</li>
24
+ <li>Mozilla Firefox 78 or later</li>
25
+ <li>Google Chrome 87 or later</li>
26
+ <li>Apple Safari 14 or later</li>
27
+ </ul>
28
+ <p>Please note that our application does not function with older browser versions. We've optimized our service
29
+ for the above-mentioned browsers to ensure robust functionality and a smooth user experience.</p>
30
+ <p>If you need assistance with updating your browser or installing a new one, please consult your browser's
31
+ help documentation or contact your IT support.</p>
32
+ <p>Thank you for your understanding and cooperation. We're eager to deliver a great experience with our
33
+ web application.</p>
32
34
  </div>
33
- <script>
34
- const oses = ['Windows', 'Android', 'Linux', 'iPhone', 'iPad', 'iPod', 'Mac OS']
35
- const browsers = ['Edg', 'Edge', 'CriOS', 'OPR', 'Chrome', 'SamsungBrowser', 'Firefox', 'Opera', 'Safari']
36
- const ua = window.navigator.userAgent
37
- const detected = {}
38
- for(const browser of browsers) {
39
- const match = ua.match(new RegExp(`(${browser})/([^ ;)]*)`,'i'))
40
- if(match) {
41
- detected.browser = match[1]
42
- detected.browserVersion = match[2]
43
- break
44
- }
45
- }
46
- for(const os of oses) {
47
- const match = ua.match(new RegExp(`(${os}) ?([^;)]*)`,'i'))
48
- if(match) {
49
- detected.os = match[1]
50
- detected.osVersion = match[2]
51
- break
52
- }
53
- }
54
- document.body.classList.add('on-browser-' + detected.browser.toLowerCase())
55
- document.body.classList.add('on-os-' + detected.os.replace(' ','-').toLowerCase())
56
- window.onload = function() { setTimeout(function() {
57
- if(!window.appStarted) {
58
- document.getElementById('not-supported').style.display = 'flex'
59
- console.error("App not started")
60
- }
61
- }, 1000) }
62
- </script>
35
+ </div>
36
+ </div>
37
+ <script>
38
+ const oses = ['Windows', 'Android', 'Linux', 'iPhone', 'iPad', 'iPod', 'Mac OS']
39
+ const browsers = ['Edg', 'Edge', 'CriOS', 'OPR', 'Chrome', 'SamsungBrowser', 'Firefox', 'Opera', 'Safari']
40
+ const ua = window.navigator.userAgent
41
+ const detected = {}
42
+ for(const browser of browsers) {
43
+ const match = ua.match(new RegExp(`(${browser})/([^ ;)]*)`,'i'))
44
+ if(match) {
45
+ detected.browser = match[1]
46
+ detected.browserVersion = match[2]
47
+ break
48
+ }
49
+ }
50
+ for(const os of oses) {
51
+ const match = ua.match(new RegExp(`(${os}) ?([^;)]*)`,'i'))
52
+ if(match) {
53
+ detected.os = match[1]
54
+ detected.osVersion = match[2]
55
+ break
56
+ }
57
+ }
58
+ document.body.classList.add('on-browser-' + detected.browser.toLowerCase())
59
+ document.body.classList.add('on-os-' + detected.os.replace(' ','-').toLowerCase())
60
+ window.onload = function() { setTimeout(function() {
61
+ if(!window.appStarted) {
62
+ document.getElementById('not-supported').style.display = 'flex'
63
+ console.error("App not started")
64
+ }
65
+ }, 1000) }
66
+ </script>
63
67
 
64
- </body>
68
+ </body>
65
69
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/frontend-template",
3
- "version": "0.8.25",
3
+ "version": "0.8.28",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; node server/start.js localDev --enableSessions --initScript ./init.js",
@@ -35,41 +35,41 @@
35
35
  "@codemirror/language": "6.10.1",
36
36
  "@dotenvx/dotenvx": "0.27.0",
37
37
  "@fortawesome/fontawesome-free": "^6.4.2",
38
- "@live-change/access-control-frontend": "^0.8.25",
39
- "@live-change/access-control-service": "^0.8.25",
40
- "@live-change/backup-service": "^0.8.25",
41
- "@live-change/blog-frontend": "^0.8.25",
42
- "@live-change/blog-service": "^0.8.25",
43
- "@live-change/cli": "^0.8.25",
44
- "@live-change/content-frontend": "^0.8.25",
45
- "@live-change/content-service": "^0.8.25",
46
- "@live-change/dao": "^0.8.25",
47
- "@live-change/dao-vue3": "^0.8.25",
48
- "@live-change/dao-websocket": "^0.8.25",
49
- "@live-change/db-client": "^0.8.25",
50
- "@live-change/email-service": "^0.8.25",
51
- "@live-change/framework": "^0.8.25",
52
- "@live-change/frontend-auto-form": "^0.8.25",
53
- "@live-change/frontend-base": "^0.8.25",
54
- "@live-change/geoip-service": "^0.8.25",
55
- "@live-change/image-frontend": "^0.8.25",
56
- "@live-change/locale-settings-service": "^0.8.25",
57
- "@live-change/password-authentication-service": "^0.8.25",
58
- "@live-change/prosemirror-service": "^0.8.25",
59
- "@live-change/secret-code-service": "^0.8.25",
60
- "@live-change/secret-link-service": "^0.8.25",
61
- "@live-change/session-service": "^0.8.25",
62
- "@live-change/task-service": "^0.8.25",
63
- "@live-change/upload-frontend": "^0.8.25",
64
- "@live-change/url-frontend": "^0.8.25",
65
- "@live-change/url-service": "^0.8.25",
66
- "@live-change/user-frontend": "^0.8.25",
67
- "@live-change/user-identification-service": "^0.8.25",
68
- "@live-change/user-service": "^0.8.25",
69
- "@live-change/vote-service": "^0.8.25",
70
- "@live-change/vue3-components": "^0.8.25",
71
- "@live-change/vue3-ssr": "^0.8.25",
72
- "@live-change/wysiwyg-frontend": "^0.8.25",
38
+ "@live-change/access-control-frontend": "^0.8.28",
39
+ "@live-change/access-control-service": "^0.8.28",
40
+ "@live-change/backup-service": "^0.8.28",
41
+ "@live-change/blog-frontend": "^0.8.28",
42
+ "@live-change/blog-service": "^0.8.28",
43
+ "@live-change/cli": "^0.8.28",
44
+ "@live-change/content-frontend": "^0.8.28",
45
+ "@live-change/content-service": "^0.8.28",
46
+ "@live-change/dao": "^0.8.28",
47
+ "@live-change/dao-vue3": "^0.8.28",
48
+ "@live-change/dao-websocket": "^0.8.28",
49
+ "@live-change/db-client": "^0.8.28",
50
+ "@live-change/email-service": "^0.8.28",
51
+ "@live-change/framework": "^0.8.28",
52
+ "@live-change/frontend-auto-form": "^0.8.28",
53
+ "@live-change/frontend-base": "^0.8.28",
54
+ "@live-change/geoip-service": "^0.8.28",
55
+ "@live-change/image-frontend": "^0.8.28",
56
+ "@live-change/locale-settings-service": "^0.8.28",
57
+ "@live-change/password-authentication-service": "^0.8.28",
58
+ "@live-change/prosemirror-service": "^0.8.28",
59
+ "@live-change/secret-code-service": "^0.8.28",
60
+ "@live-change/secret-link-service": "^0.8.28",
61
+ "@live-change/session-service": "^0.8.28",
62
+ "@live-change/task-service": "^0.8.28",
63
+ "@live-change/upload-frontend": "^0.8.28",
64
+ "@live-change/url-frontend": "^0.8.28",
65
+ "@live-change/url-service": "^0.8.28",
66
+ "@live-change/user-frontend": "^0.8.28",
67
+ "@live-change/user-identification-service": "^0.8.28",
68
+ "@live-change/user-service": "^0.8.28",
69
+ "@live-change/vote-service": "^0.8.28",
70
+ "@live-change/vue3-components": "^0.8.28",
71
+ "@live-change/vue3-ssr": "^0.8.28",
72
+ "@live-change/wysiwyg-frontend": "^0.8.28",
73
73
  "@vueuse/core": "^10.9.0",
74
74
  "codeceptjs-assert": "^0.0.5",
75
75
  "compression": "^1.7.4",
@@ -91,7 +91,7 @@
91
91
  "vue3-scroll-border": "0.1.6"
92
92
  },
93
93
  "devDependencies": {
94
- "@live-change/codeceptjs-helper": "^0.8.25",
94
+ "@live-change/codeceptjs-helper": "^0.8.28",
95
95
  "codeceptjs": "^3.5.12",
96
96
  "generate-password": "1.7.1",
97
97
  "playwright": "^1.41.2",
@@ -99,8 +99,8 @@
99
99
  "txtgen": "^3.0.6",
100
100
  "webdriverio": "^8.31.1"
101
101
  },
102
- "author": "",
102
+ "author": "Michał Łaszczewski <michal@laszczewski.pl>",
103
103
  "license": "ISC",
104
104
  "description": "",
105
- "gitHead": "1aa24b8ec3bfaa3576b72b514b2a97b061cb57fc"
105
+ "gitHead": "28db9cd8bdd0a465633a3b25028751e2aca670cd"
106
106
  }