diff options
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 |