diff options
author | Minteck <contact@minteck.org> | 2022-08-26 22:29:23 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-08-26 22:29:23 +0200 |
commit | 09bd0164ebc020a54b944b7326dcba496fb5d82c (patch) | |
tree | 0c5e765e627ecc94e534ccb6e2bc83917d58dc4c /app/index.html | |
parent | a2df9a69dcc14cb70118cda2ded499055e7ee358 (diff) | |
download | pluralconnect-09bd0164ebc020a54b944b7326dcba496fb5d82c.tar.gz pluralconnect-09bd0164ebc020a54b944b7326dcba496fb5d82c.tar.bz2 pluralconnect-09bd0164ebc020a54b944b7326dcba496fb5d82c.zip |
idk when was the last commit so I'm making a new one - Violet Dawn
Diffstat (limited to 'app/index.html')
-rw-r--r-- | app/index.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/app/index.html b/app/index.html index 03006d6..decc6b7 100644 --- a/app/index.html +++ b/app/index.html @@ -234,8 +234,11 @@ </head> <body style="background:black;"> <div id="loader" style="position:fixed;z-index:999;background:#111;inset:0;display:flex;align-items:center;justify-content: center;"> - <div id="progress"> - <div id="progress-inner" style="width:0;"></div> + <div> + <div id="progress"> + <div id="progress-inner" style="width:0;"></div> + </div> + <p id="loader-message" style="text-align: center;margin-top:5px;">Loading...</p> </div> </div> @@ -268,9 +271,14 @@ <br><br> </div> + <p style="text-align: center;"> + <br> + <a href="#" onclick='document.body.innerHTML = `<iframe src="/app/demo/index.php" style="position: fixed;inset: 0;height: 100%;width: 100%;">`;'>Demo mode (for Raindrops' therapist)</a> + </p> + <div class="container"> <br> - <div id="member-banner"></div> + </div> </div> @@ -316,7 +324,7 @@ } } - if ('serviceWorker' in navigator) { + if ('serviceWorker' in navigator && location.search !== "?nocache") { console.log("Creating service worker..."); navigator.serviceWorker.register('/app/sw.js').then(function() { return navigator.serviceWorker.ready |