diff options
author | Minteck <nekostarfan@gmail.com> | 2021-06-10 20:04:31 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-06-10 20:04:31 +0200 |
commit | 3e62534eb7db3011ef540b6053811d48761dda21 (patch) | |
tree | 3c812ba3717ba38a1f1efa712d6200e2cae79e0a /views/loader.html | |
parent | 634dc4c860993963e6f5f9847eaf1ddc5f213ec3 (diff) | |
download | kartik-client-3e62534eb7db3011ef540b6053811d48761dda21.tar.gz kartik-client-3e62534eb7db3011ef540b6053811d48761dda21.tar.bz2 kartik-client-3e62534eb7db3011ef540b6053811d48761dda21.zip |
Cutefox Studios
Diffstat (limited to 'views/loader.html')
-rw-r--r-- | views/loader.html | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/views/loader.html b/views/loader.html index c1db38b..9e100bb 100644 --- a/views/loader.html +++ b/views/loader.html @@ -21,15 +21,12 @@ } </script> - <div style="display:flex;align-items:center;justify-content:center;inset: 0;height: 100%;"> - <img src="../logo/vendor.png" id="vendor" style="width:128px;transform: scale(1);transition: transform 200ms;"> + <img id="imgpreload" src="common/banner.gif" style="height:100%;width:auto;opacity:0;position:fixed;pointer-events:none;"> + <div style="display:flex;align-items:center;justify-content:center;inset: 0;height: 100%;background:#fed1ae;overflow:hidden;"> + <img id="banner" src="../logo/itch/banner.jpg" style="height:100%;width:auto;"> </div> <script> - if (native) { - document.write(`<div style="position: fixed;bottom: 20px;right: 20px;font-size: 12px;padding: 10px 20px;background: lightblue;border-radius: 5px;transition: all 200ms;" id="updates">${lang.updates.wait}</div>`); - } else { - document.write(`<div style="position: fixed;bottom: 20px;right: 20px;font-size: 12px;padding: 10px 20px;background: black;border: 1px solid white;border-radius: 5px;transition: all 200ms;color:white;" id="updates">Kartik <b>Mobile</b></div>`); - } + document.write(`<div style="position: fixed;bottom: 20px;right: 20px;font-size: 12px;padding: 10px 20px;background: lightblue;border-radius: 5px;transition: all 200ms;display:none;" id="updates">${lang.updates.wait}</div>`); </script> <div id="warning" style="opacity:0;transition:opacity 200ms;position: fixed;background: darkred;color: white;padding: 20px 10px;max-width: 40vw;text-align: center;border-radius: 10px;left: 20vw;top: 30vh;"><h2><script>document.write(lang.updates.warn[0]);</script></h2><p><script>document.write(lang.updates.warn[1]);</script></p></div> |